J
jimmelonis
I have a question about the generated nsX namespaces, e.g. ns1. I
guess put simply is there a way to change the Axis generated namespace
prefix?
i.e from:
<ns1:myDataWrapper xmlns:ns1="urn:myNamespace">
<ns1:myData>data</ns1:myData>
<ns1:myData2>data2</ns1:myData2>
</ns1:myDataWrapper>
to:
<newPrefix:myDataWrapper xmlns:newPrefix="urn:myNamespace">
<newPrefix:myData>data</newPrefix:myData>
<newPrefix:myData2>data2</newPrefix:myData2>
</newPrefix:myDataWrapper>
Somewhat a seperate question, is is possible in axis to return the
namespaces defined in the SOAP Envelope OR Body?
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body xmlns:newPrexix="urn:myNamespace">
Thanks!
guess put simply is there a way to change the Axis generated namespace
prefix?
i.e from:
<ns1:myDataWrapper xmlns:ns1="urn:myNamespace">
<ns1:myData>data</ns1:myData>
<ns1:myData2>data2</ns1:myData2>
</ns1:myDataWrapper>
to:
<newPrefix:myDataWrapper xmlns:newPrefix="urn:myNamespace">
<newPrefix:myData>data</newPrefix:myData>
<newPrefix:myData2>data2</newPrefix:myData2>
</newPrefix:myDataWrapper>
Somewhat a seperate question, is is possible in axis to return the
namespaces defined in the SOAP Envelope OR Body?
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body xmlns:newPrexix="urn:myNamespace">
Thanks!