R
roenick97
Using Visual Studio referencing a WSDL I can send this SOAP Message :
<soap:Body>
<message xmlns="http://www.mysite.com.types">
<content>
<element attribut="value" />
</content >
</message>
</soap:Body>
But how can I have the following?
<soap:Body>
<myType:message xmlns:myType="http://www.mysite.com.types">
<myType:content>
<myType:element attribut="value" />
</myType:content >
</myType:message>
</soap:Body>
I try to use
[System.Xml.Serialization.XmlRoot()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="")]
...
Without any result ...
Thanks
<soap:Body>
<message xmlns="http://www.mysite.com.types">
<content>
<element attribut="value" />
</content >
</message>
</soap:Body>
But how can I have the following?
<soap:Body>
<myType:message xmlns:myType="http://www.mysite.com.types">
<myType:content>
<myType:element attribut="value" />
</myType:content >
</myType:message>
</soap:Body>
I try to use
[System.Xml.Serialization.XmlRoot()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="")]
...
Without any result ...
Thanks