How to verify SOAP endpoints (SessionManagement service) using SoapUI tool?
Hello.
I have been trying to test the SOAP APIs, especially SessionManagement and UserManagement services. I am able to see the response for UserManagement service by passing UserKey and Password. But I am getting some Fault response as below XML, when I am trying to access SOAP operations in SessionManagement service with same UserKey and Password, for e.g. (GetFoldersList). Do we need pass any additional input parameters?
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring xml:lang="en-US">An error occurred deserializing the message. See server logs for details</faultstring>
</s:Fault>
</s:Body>
Could somebody guide me where I am going wrong or if I am missing something. Thanks in advance.
Best Answers
-
Jonathan Champ Whiz Kid
If this is the raw request, I'm not seeing all of the Envelope and Body components. Also, for each of the optional items that you are not using, try removing the comments and the optional items so that it's simpler.
1
Answers
The Panopto employee who answered this question had a nicely formatted SOAP request:
https://community.panopto.com/discussion/1249/panopto-soap-apis-response-code-returned-as-202-accepted-but-no-results
I am receiving 500 Internal Server Error. So, not sure what I am missing. Below is what I am trying to send in request:
<tem:GetFoldersList>
<!--Optional:-->
<tem:auth>
<!--Optional:-->
<pan:AuthCode>?</pan:AuthCode>
<!--Optional:-->
<pan:Password>*********</pan:Password>
<!--Optional:-->
<pan:UserKey>****************</pan:UserKey>
</tem:auth>
<!--Optional:-->
<tem:request>
<!--Optional:-->
<pan:Pagination>
<!--Optional:-->
<pan:MaxNumberResults>?</pan:MaxNumberResults>
<!--Optional:-->
<pan:PageNumber>?</pan:PageNumber>
</pan:Pagination>
<!--Optional:-->
<pan:ParentFolderId>?</pan:ParentFolderId>
<!--Optional:-->
<pan:PublicOnly>?</pan:PublicOnly>
<!--Optional:-->
<pan:SortBy>?</pan:SortBy>
<!--Optional:-->
<pan:SortIncreasing>?</pan:SortIncreasing>
<!--Optional:-->
<pan:WildcardSearchNameOnly>?</pan:WildcardSearchNameOnly>
</tem:request>
<!--Optional:-->
<tem:searchQuery>?</tem:searchQuery>
</tem:GetFoldersList>
Hello Rama,
Thank you for posting your question. Your last comment has many "?" (question mark) and I am not sure if this is actual request or altered by either you or the forum post system. I want to recommend two options.
1. Start from C# example, which many of Panopto customers have started from and appreciated. Link to Graham's tutorial: https://www.mediaguy.co.uk/panopto-api/
2. Open a support ticket through your organization's Panopto administrator and send us the complete traffic log (either har file or Fiddler2 saz file) for investigation.