Error using sample Python SOAP request
Referencing the following documentation: https://github.com/Panopto/SOAP-API-Examples/blob/master/PythonSoapExample.py#L97
We're encountering the following error from the referenced call:
Panopto SOAP Client\env\lib\site-packages\pysimplesoap\client.py", line 406, in wsdl_call_get_params
raise ValueError('Invalid Args Structure. Errors: %s' % errors)
ValueError: Invalid Args Structure. Errors: [u'Args keys not in parameter. parameter: guid, args: 89a17061-9a72-4c3b-bd14-abb400c65e8f']
This seems to be a type mismatch from what is being passed in, and what is defined in the WSDL.
We're using the sample code verbatim (but for different data (ie Auth info, groupId, memberId)
Curious if the WSDL was updated, or if the PySimpleSoap client is doing something different with your WSDL?
Answers
I ran into the same issue. The Python sample doesn't work out of the box. The example shows that you can post an array of guids when calling addMembersToInternalGroupMethod, but I'm getting something akin to ValueError: Invalid Args Structure. Errors: [u'Args keys not in parameter. parameter: guid, args: <guid>'] as posted above. This issue is consistent with any method that expects a list of guids.