You only want to set elementFormDefaultQualified to "false" if you
want to make the child elements (the method parameters) unqualified.
It will not eliminate the generation of namespace prefixes. And it may
result in numerous empty namespace declarations (xmlns=""). As a
general rule, you should avoid using this option because it will cause
interoperability issues.

Anne

On 10/10/07, Maiko Wessel <[EMAIL PROTECTED]> wrote:
>
>
> add the following entry to the services.xml:
>
>
> <schema elementFormDefaultQualified="false"/>
>
>  ________________________________
>  Von: Raghu Upadhyayula [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 10. Oktober 2007 07:54
> An: axis-user@ws.apache.org
> Betreff: RE: [Axis2] How to remove namespaces from SOAP response in Axis2
>
>
>
>
>
> 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=480336Fix
> for AXIS2-1784 - [ADB] Suppress prefixes in the soap request/response for
> performance
>
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to