CLONE -HTTP transport Attachments requests contains incorrect *boundary* header
for "content-lenght" encoding method
--------------------------------------------------------------------------------------------------------------------
Key: AXIS2-3906
URL: https://issues.apache.org/jira/browse/AXIS2-3906
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: transports
Affects Versions: 1.1.1
Environment: Java 5, Win XP, Eclipse 3.1
Reporter: Vincent Dou
Assignee: Thilina Gunarathne
Priority: Blocker
While generating SOAP with attachments message using Operation Client API, it
generates one *boundary* header in Content-Type:
multipart/related whereas it generate all new header for SOAP Body section and
attachment section. See the relevant section from message below:
---------------------------------------------------------------------------------------------------
Content-Type: multipart/related;
boundary=MIMEBoundaryurn:uuid:F02ECC18873CFB73E211412748909307;
type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>";
start-info="text/xml"; charset=UTF-16
User-Agent: Axis2
Host: 127.0.0.1:8081
Proxy-Connection: Keep-Alive
Content-Length: 6956
---------------------------------------------------------------------------------------------------
--MIMEBoundaryurn_uuid_D57945993FC51941A31171314318273
<---------different than one defined above
content-type: text/xml; charset=UTF-8
content-transfer-encoding: 8bit
content-id: <0.urn:uuid:[EMAIL PROTECTED]>
---------------------------------------------------------------------------------------------------
--MIMEBoundaryurn_uuid_D57945993FC51941A31171314318273
<---------different than one defined above
content-type: text/xml
content-transfer-encoding: binary
content-id: <urn:uuid:D57945993FC51941A31171314318022>
---------------------------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]