You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Jesus M. Salvo Jr." <je...@migasia.com> on 2003/01/10 05:35:15 UTC

SOAP attachments and ContentIDs in body

Is there anyway for the SOAP body to reference the content ID of the 
attachment?

If no, is there a better way of creating contentIDs for the attachments 
than the one mentioned in my next sentence?
At the moment, I pre-assign a contentID ( a simple sequence of numbers 
such as "1234" ), use it as a URI on the soap body .... assign it to the 
first attachment, then increment the contentID for the next attachment 
 ... etc.

... compare it to the content-ID of the SOAP envelope:

------=_Part_1_8317112.1042172967991
Content-Type: text/xml; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-ID: <4985091.1042172968100.apache-soap.johnp4>
Content-Length: 1093

<?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">
.....
snip

-- 
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:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>