|
I am trying to find some information about how axis
chooses the namespace prefix. The soap response we send back often looks like this: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns:PreviewResponse xmlns:ns="http://api.familytxtconx.com"> <ns:return xmlns:ax22="http://api.familytxtconx.com/xsd" type="com.familytxtconx.api.Response"> <ax22:billableNumber>true</ax22:billableNumber> <ax22:carrierID>383</ax22:carrierID> <ax22:carrierName>Cingular TDMA</ax22:carrierName> <ax22:mobileNo>true</ax22:mobileNo> <ax22:responseCode>010</ax22:responseCode> <ax22:responseDescription>transaction successfully created</ax22:responseDescription> <ax22:responseType>preview</ax22:responseType> <ax22:transactionSession>54814973GvzwtgvlduZ1831</ax22:transactionSession> </ns:return> </ns:PreviewResponse> </soapenv:Body> </soapenv:Envelope> but occasionally the namespace prefix might be ax21 instead of ax22, which causes some problems for people who are parsing the xml response as a string instead of as xml. Can anyone point me to some information that can explain how the prefix is chosen? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
