A
arcofdescent
Hi,
I'm been trying like crazy but I'm not able to specify the correct WSDL
type definitions for the following:
i.e. the SOAP request XML is:
<status code="100">All Fine</status>
How do we write the WSDL definition for this XML?
I started by defining the status type.
So,
<xsd:element name="status" type="typens:statusType"/>
Then, i define the statusType to have an attribute
<xsd:complexType name="statusType">
<xsd:attribute name="code" type="xsd:string"/>
</xsd:complexType>
But I'm stuck at how to specify that the status element also would need
to have a string data.
Thanks,
Rohan
I'm been trying like crazy but I'm not able to specify the correct WSDL
type definitions for the following:
i.e. the SOAP request XML is:
<status code="100">All Fine</status>
How do we write the WSDL definition for this XML?
I started by defining the status type.
So,
<xsd:element name="status" type="typens:statusType"/>
Then, i define the statusType to have an attribute
<xsd:complexType name="statusType">
<xsd:attribute name="code" type="xsd:string"/>
</xsd:complexType>
But I'm stuck at how to specify that the status element also would need
to have a string data.
Thanks,
Rohan