What are considered non-breaking or backwards-compatible changes to a WSDL contract?

I have spent some time on this particular subject, and found some guidelines in a book by Thomas Erl which I refer to at the bottom. Here is what they have to say; Compatible Changes adding a new WSDL operation definition and associated message definitions adding a new WSDL port type definition and associated operation … Read more

Generating Java from WSDL for use on Android with ksoap2-android SOAP client?

I found this tool to auto generate wsdl to android code, http://www.wsdl2code.com/example.aspx Here is the code: public void callWebService() { SampleService srv1 = new SampleService(); Request req = new Request(); req.companyId = “1”; req.userName = “userName”; req.password = “pas”; Response response = srv1.ServiceSample(req); }

nillable and minOccurs XSD element attributes

You need to decide whether you are thinking about XML as XML, or whether you are thinking about XML as a way to transmit Java (or other) object from here to there. In XML, nillable permits the construction <myelement xsi:nil=”true”/> as an indicator of an explicit absent value, like an SQL NULL. This is semantically … Read more

Create python soap server based on wsdl

This question has not received enough attention. The currently accepted answer is good, but its answer is ‘no’. Is there really no reasonably maintained and general solution? Unfortunately, I don’t think the negative answer is due to lack of attention to the question. There really is no support for WSDL in python. If you want … Read more

MinOccurs 0 and nillable true

Setting nillable=”true” means that the <birthDate> tag can appear as follows: <birthDate xsi:nil=”true”/> However, since you also set minOccurs=”0″, you could also omit the <birthDate> tag completely from the XML and it would also still validate against your XSD. Note that <birthDate/> or <birthDate></birthDate> is not considered null according to XSD rules. Have a look … Read more

targetNamespace and namespace in WSDL

The target namespace in the WSDL file will be the name space associated with the SOAP service itself. For example we have a customer service the namespace would be something like http://www.acme.com/Customer/V1/CustomerService. The XSD imports section is where you specify the namespace of the XSD you are about to import. A XSD file will contain … Read more

REST web service WSDL? [duplicate]

With a good RESTful service, it’s not necessary to generate WADL (let alone the much-less-well-fitting WSDL) for it because it will self-describe. By “self-describe” I specifically mean that it will deliver documents describing all the (relevant) resources published by the service, and that using a standard HTTP OPTIONS request on any of these will produce … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)