|
Here are some fragments from a
WSDL:
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.themindelectric.com/wrappers/"> <element name="Boolean" nillable="true" type="boolean" /> ... </types> <message
name="echoBool1In">
<part element="ns11:Boolean" name="arg0" /> </message> <portType>
<operation name="echoBool" parameterOrder="arg0"> <input message="tns:echoBool1In" name="echoBool1In" /> <output message="tns:echoBool1Out" name="echoBool1Out" /> </operation> ... </portType> In addition,
xmlns:ns11="http://www.themindelectric.com/wrappers/" soap:body use="encoded" with encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" My question is: which is the correct
serialization to XML based on WSDL? 1 or 2 or both? (And why?)
Fragment shown is from inside the SOAP-ENV:Body.
1.
<ns1:echoBool xmlns:ns1="http://tempuri.org/soapservices.Echo"> <arg0 xsi:type="xsd:boolean" xsi:nil="true"/> </ns1:echoBool> 2.
<ns1:echoBool xmlns:ns1="http://tempuri.org/soapservices.Echo"> <ns2:Boolean xsi:type="xsd:boolean" xsi:nil="true" xmlns:ns2="http://www.themindelectric.com/wrappers/"/> </ns1:echoBool> |
- Re: Correct serialization based on WSDL Jeehong Min
- Re: Correct serialization based on WSDL Dennis Sosnoski
- Re: Correct serialization based on WSDL Jeehong Min
