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 Aniruddha Shevade <as...@actuate.com> on 2001/08/17 06:25:32 UTC
Sending the main XML message in chunks ? Is it a valid SOAP reque
st
hello
we are planning to use http chunked protocol to send soap attachments.
In this case is it possible to have the primary soap xml message sent in
chunks too
An illustration is
POST / HTTP/1.1 Host: ruthenium
Content-Type: multipart/related;
boundary=MIME_boundary;type=text/xml;start=<request.xml>
Transfer-Encoding:chunked
SOAPAction: ""
27D
--MIME_boundary
Content-Type: text/xml;charset=utf-8
Content-Transfer-Encoding: 8bit
Content-ID: <request.xml>
Content-Length:498
<?xml version='1.0'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
10
<User>Administrator</User>
<Password></Password>
</SOAP-ENV:Header>
20
<SOAP-ENV:Body>
<UserLoginReq/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
646
--MIME_boundary
Content-Type: text/xml;charset=utf-8
Content-Transfer-Encoding: 8bit
Content-ID: <request.xml>
Content-Length:498
.. ATTACHMENT data
0 ((to indicate end of chunk)
The highlighted numbers are the HTTP Chunk size. while constructing a very
large
soap message
Is such a format acceptable