Is there any way to optimize/reduce the list of namespaces in the response messages generated by AXIS? In the sample response message I've included below, you'll see that I'm getting the same namespace declaration ( http://somesite.acme.com/types/common) over and over. I'd like to remove this to minimize my network traffic. It would be ideal if axis would include the namespace/prefix declaration ONCE in the Envelope tag, instead of everytime it uses an element belonging to that namespace.
I'm using AXIS1 1.4. Thanks! - Erich Musick -- Sample Output -- <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:Header/> <soapenv:Body> <ns2:AutoRentalAgency xmlns:ns2=" http://somesite.acme.com/types/AutoRentalAgency/response"> <ns2:AutoRentalAgencyIdentity> <ns3:AutoRentalAgencyId xmlns:ns3=" http://somesite.acme.com/types/common">1052</ns3:AutoRentalAgencyId> </ns2:AutoRentalAgencyIdentity> <ns2:name>Bill's Kar Rental</ns2:name> <ns2:uniqueName>BILLS_KAR_RENTAL</ns2:uniqueName> <ns2:address> <ns14:address1 xmlns:ns14="http://somesite.acme.com/types/common">123 Any Street</ns14:address1> <ns15:city xmlns:ns15="http://somesite.acme.com/types/common ">Chicago</ns15:city> <ns16:state xmlns:ns15="http://somesite.acme.com/types/common ">IL</ns16:state> <ns17:zipCode xmlns:ns16="http://somesite.acme.com/types/common ">60010</ns17:zipCode> <ns18:country xmlns:ns17="http://somesite.acme.com/types/common ">USA</ns18:country> </ns2:address> <ns2:lastUpdated>2008-04-28T19:41:10.000Z</ns2:lastUpdated> </ns2:AutoRentalAgency> </soapenv:Body> </soapenv:Envelope>
