Hello

I'm handling a SOAP service, which we build with Ant on Hudson and I'm new to 
Axis, but one of our clients has asked if we can remove some information from 
our Webservice response. Namely the ax226 or similar numbers.

Here's an example of a response we send to a request (with some links changed):

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
                <soapenv:Body>
                                <ns:addPromoResponse 
xmlns:ns="http://soap.company.com";>
                                                <ns:return 
xmlns:ax227="http://core.soap.company.com/xsd"; 
xmlns:ax223="http://service.soap.company.com/xsd"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ax226="http://soap.company.com/xsd"; xsi:type="ax226:AddPromoResponseDTO">
                                                                
<ax226:errorCode xsi:nil="true" />
                                                                
<ax226:status>SU</ax226:status>
                                                                
<ax226:errorMessage xsi:nil="true" />
                                                                
<ax226:errorName xsi:nil="true" />
                                                </ns:return>
                                </ns:addPromoResponse>
                </soapenv:Body>
</soapenv:Envelope>

Our customer has a simple response parser that does not handle the ax226 and 
ax227 etc. prefixes, but goes straight to the element name. Can the prefixes be 
removed somehow in the configuration?

Any help appreciated. Thanks in advance.

Best Regards
Mark K. Thomsen

Reply via email to