Thanks Alick.  I haven't tried this option.  I'll try and see.

 

Thanks

Raghu

 

________________________________

From: Alick Buckley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 5:03 PM
To: axis-user@ws.apache.org
Subject: RE: [Axis2] How to remove namespaces from SOAP response in
Axis2

 

Did you try the suppress-prefixes option in WSDL2Java?

http://svn.apache.org/viewvc?view=rev&revision=480336
<http://svn.apache.org/viewvc?view=rev&revision=480336> 

Fix for AXIS2-1784 - [ADB] Suppress prefixes in the soap
request/response for performance

https://issues.apache.org/jira/browse/AXIS2-1784
<https://issues.apache.org/jira/browse/AXIS2-1784> 

added an option "-sp" to suppress namespace prefixes in
WSDL2Java/SchemaCompiler.

========================================================================
===

-----Original Message-----
From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 10 October 2007 9:54 AM
To: axis-user@ws.apache.org
Subject: [Axis2] How to remove namespaces from SOAP response in Axis2

        Hi,

         

        Does anyone know how to remove namespaces from SOAP response in
Axis2?

         

        Here is an example of what I wanted.

         

        Original SOAP Envelope

         

        <soapenv:Envelope

            xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>

           <soapenv:Body>

              <ns1:loginResponse xmlns:ns1="urn:ws.rsys.com">

        
<ns1:loginReturn>-31853ad2:1157fefd8cf:5b3c</ns1:loginReturn>

              </ns1:loginResponse>

           </soapenv:Body>

        </soapenv:Envelope>

         

        SOAP Envelope After removing namespaces

         

        <soapenv:Envelope

            xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";

            xmlns="urn:ws.rsys.com">

           <soapenv:Body>

              <loginResponse>

                 <loginReturn>-31853ad2:1157fefd8cf:5b3c</loginReturn>

              </loginResponse>

           </soapenv:Body>

        </soapenv:Envelope>

         

        Thanks in advance

        Raghu

Reply via email to