Is it possible to format the SOAP XML envelope ... similar to using Apache Xerces org.apache.xml.serialize?
For example, instead of this:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd
="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0">123</mm7:TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"><MM7Version>5.4.0</MM7Version><SenderI
dentification><VASPID>TestAccount</VASPID><VASID>TestPass</VASID></SenderIdentification><Recipients/><ServiceCode>er2sdf</ServiceCode><Messag
eClass>Informational</MessageClass><TimeStamp>2003-01-08T15:21:30+10:00</TimeStamp><EarliestDeliveryTime>2003-01-08T15:21:30+10:00</EarliestD
eliveryTime><ExpiryDate>2003-01-08T15:21:30+10:00</ExpiryDate><DeliveryReport>false</DeliveryReport><Priority>Normal</Priority><DistributionI
ndicator>false</DistributionIndicator><Content href="cid:1230"/></mm7:SubmitReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
... I would prefer to have the envelope sent like this below ( makes it easier to debug ):
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd
="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0">123</mm7:TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0">
<MM7Version>5.4.0</MM7Version>
<SenderIdentification>
<VASPID>TestAccount</VASPID>
<VASID>TestPass</VASID>
</SenderIdentification>
<Recipients/>
<ServiceCode>er2sdf</ServiceCode>
<MessageClass>Informational</MessageClass>
<TimeStamp>2003-01-08T15:21:30+10:00</TimeStamp>
<EarliestDeliveryTime>2003-01-08T15:21:30+10:00</EarliestDeliveryTime>
<ExpiryDate>2003-01-08T15:21:30+10:00</ExpiryDate>
<DeliveryReport>false</DeliveryReport>
<Priority>Normal</Priority>
<DistributionIndicator>false</DistributionIndicator>
<Content href="cid:1230"/></mm7:SubmitReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--
Jesus M. Salvo Jr.
Mobile Internet Group Pty Ltd
(formerly Softgame International Pty Ltd)
M: +61 409 126699
T: +61 2 94604777
F: +61 2 94603677
PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- Re: Formatting the SOAP XML envelope? Jesus M. Salvo Jr.
- Re: Formatting the SOAP XML envelope? Scott Nichol