FAQ Database Discussion Community


Modify WSDL in soap webservice with spyne of python

python,django,soap,wsdl,spyne
I am develeping with django and python , and I need publish 1 service with SOAP with 2 operations. For this task I chose the spyne library: http://spyne.io/#auxproc=Sync&s=aux Because apparently is easy to understand and start to develop. I did the first example and was fine, even I developed my...

Wrap function parameters complexType in an element

wsdl,spyne
I am trying to implement an existing webservice with Spyne. I have a function that takes two parameters, for which the WSDL should look like this: <wsdl:types> <xs:schema targetNamespace="http://example.com/" elementFormDefault="qualified" > <s:element name="getData"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="login" type="s:string"/> <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string"/> </s:sequence> </s:complexType> </s:element>...

Remove the namespace from Spyne response variables

python,soap,wsdl,spyne
Implementing a WebService according to a specific WSDL. Client cannot be changed. Correctly processing request from Client, but Client is complaining on Response because of namespace in variables. What I want (soapUI response based on WSDL): <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cal="http://callback.foo.com/"> <soapenv:Header/> <soapenv:Body> <cal:foo_statusResponse> <result>SUCCESS</result> <notify>Thanks!</notify> </cal:foo_statusResponse>...