kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

schema imports aren't supported #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Import a WSDL with a schema element that uses an import.
<types>
  <xsd:schema>
    <xsd:import namespace="XX" schemaLocation="" />
  </xsd:scema>
</types>
2. Execute a call to the operation that requires this type import.

What is the expected output? What do you see instead?
The failure is that the input of the operation may not have a value (None) so 
the ordered dict routine fails because there is no dictionary in the input of 
the operation.

What version of the product are you using? On what operating system?
Latest trunk

Please provide any additional information below.

Original issue reported on code.google.com by rcather...@gmail.com on 15 Sep 2010 at 12:10

GoogleCodeExporter commented 8 years ago
Yes, this is a known limitation.

Can you provide some xml wsdl files and a python example (or method signature), 
so we can develop and test a patch?

There could be various workarounds, but I think this should be supported asap.

Original comment by reingart@gmail.com on 15 Sep 2010 at 5:50

GoogleCodeExporter commented 8 years ago
https://api.bullhornstaffing.com/webservices-1.1/?wsdl

Try the startSession operation.  You don't need credentials to exercise that 
the input parameters are bound to the op after parsing.

Original comment by rcather...@gmail.com on 15 Sep 2010 at 6:15

GoogleCodeExporter commented 8 years ago
Schema import support added in revision bcfe266f7e

Attached is a proposed test, if you can please post the result (at least if 
test pass)

Original comment by reingart@gmail.com on 9 Oct 2010 at 7:42

Attachments:

GoogleCodeExporter commented 8 years ago
Test looks good.

btw, I like the caching feature.

Thanks for the fix.

Original comment by rcather...@gmail.com on 11 Oct 2010 at 5:21