On 05/19/13 10:07, Francisco Meza wrote:
hi
could anybody comment on the support of different wsdl styles in
spyne? From looking at the code it seems it only supports
document/literal wrapped. If that's the case, are there any plans on
supporting rpc style?
Hi Francisco,
The @rpc decorator does accept _body_style='bare', (==
_soap_body_style='rpc').
http://spyne.io/docs/2.10/reference/decorator.html
But, there is a catch:
https://github.com/arskom/spyne/blob/60323110ae0f32b8cb70b34e36ef1a54dd156029/spyne/decorator.py#L88
So, if you can lift that restriction, I'd be happy to review your
patches and eventually accept them.
You can start by:
1) copying this test as test_bare_multi:
https://github.com/arskom/spyne/blob/84d30cbc2d84ed92b065836603bc2464cd50b31e/spyne/test/interface/wsdl/test_default_wsdl.py#L173
2) modify it to have multiple arguments in the function.
3) ???
4) Test passes.
:)
If you have any further questions, I'd be happy to answer them.
Best,
Burak
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap