You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stefan Kok <st...@opensolutions.co.za> on 2007/08/10 13:28:56 UTC

SoapEnvelope toStringWithConsume()

Hi

I have the following issue with SoapEnvelope toStringWithConsume() it
returns the following incorrect string to me:

<?xml version='1.0' encoding='utf-8'?><soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><TransactionID xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" soap-env:mustUnderstand="1" /></soap-env:Header><soap-env:Body><soap-env:Fault><soap-env:faultcode>Server.Service</soap-env:faultcode><soap-env:faultstring>Server Error</soap-env:faultstring><soap-env:Detail><axis2ns2:Status xmlns:axis2ns2="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><axis2ns2:StatusCode>4004</axis2ns2:StatusCode><axis2ns2:StatusText>Validation Error</axis2ns2:StatusText><axis2ns2:Details>Validation violation: TransactionID (MM7Schema) validation failed</axis2ns2:Details></axis2ns2:Status></soap-env:Detail></soap-env:Fault></soap-env:Body>


Which is incorrect as it should end with </soap-env:Envelope>.


Below is the original string for reference : 

<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><TransactionID xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" soap-env:mustUnderstand="1"></TransactionID></soap-env:Header><soap-env:Body><soap-env:Fault><soap-env:faultcode>Server.Service</soap-env:faultcode><soap-env:faultstring>Server Error</soap-env:faultstring><soap-env:Detail><Status xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><StatusCode>4004</StatusCode><StatusText>Validation Error</StatusText><Details>Validation violation: TransactionID (MM7Schema) validation failed</Details></Status></soap-env:Detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>


I must say I am stumped any ideas ?

Kind regards
Stefan Kok. 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org