Hi All,

I wanted to set the default name space on my service response to cut
short my xml size as it is going to contain huge data.

For e.g. my response xml snippet looks like this

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soap:Body>
      <ns1:getEventsResponse xmlns:ns1="http://default.namespace.com";>
         <ns1:events>
........................
........................
........................


I want to change it to

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ "
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soap:Body>
      <getEventsResponse xmlns="http://default.namespace.com";>
         <events>
........................
........................
........................

 
Can anyone please suggest how to do that?





________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email 
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to