Answer the question
In order to leave comments, you need to log in
How to declare an attribute on a WSDL service?
I need to make a response with an attribute on the WSDL service, but the attribute does not belong to the parent node.
Example:
How can I do this?
This is how it works:
<xsd:element name="testOperationResponse" type="tns:test1"></xsd:element>
<xsd:complexType name="test1">
<xsd:sequence>
<xsd:element name="name1" type="xsd:string"></xsd:element>
</xsd:sequence>
<xsd:attribute name="atr1" type="xsd:string"></xsd:attribute></xsd:complexType>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question