M
marc
Hi,
I would like to add a prefix to a WebService namespace
When I write :
[WebService(Namespace = "http://MyNamespace/WebService")]
....
I have the following response when I test my WebService.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
////////////
<TestXMLResponse xmlns="http://MyNamespace/WebService">
/////////////
<TestXMLResult>xml</TestXMLResult>
</TestXMLResponse>
</soap:Body>
</soap:Envelope>
I would like instead : (I only put the modified line)
////////////
<TestXMLResponse xmlns:mns="http://MyNamespace/WebService">
////////////
How can I do that ?
TIA,
Marc
I would like to add a prefix to a WebService namespace
When I write :
[WebService(Namespace = "http://MyNamespace/WebService")]
....
I have the following response when I test my WebService.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
////////////
<TestXMLResponse xmlns="http://MyNamespace/WebService">
/////////////
<TestXMLResult>xml</TestXMLResult>
</TestXMLResponse>
</soap:Body>
</soap:Envelope>
I would like instead : (I only put the modified line)
////////////
<TestXMLResponse xmlns:mns="http://MyNamespace/WebService">
////////////
How can I do that ?
TIA,
Marc