I have a problem sending
a MIME multipart/related message over HTTP POST
the message is something like this:
---------------
POST /axis2/services/repositoryAonedoc HTTP/1.1
Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611 98809912936; type="text/xml"; start="0.urn:uuid:[email protected] apache.org"
SOAPAction: "SubmitObjectsRequest"
User-Agent: Axis2
Host: localhost:9087
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <0.urn:uuid:[email protected] .org>
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<SubmitObjectsRequest ...
...
</SubmitObjectsRequest>
</soapenv:Body>
</soapenv:Envelope>
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/plain
Content-Transfer-Encoding: binary
Content-ID: <Document01>
< a text Document>
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36--
----------------
I have configured the destination channel like this:
Connector Type=HttpSender
Header variables:
SOAPAction="SubmitObjectsRequest"
Content-Type=multipart/related; boundary=MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611 98809912936; type="text/xml"; start="0.urn:uuid:[email protected] apache.org"
Request variables:
$payload=--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <0.urn:uuid:[email protected] .org>
...
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
...
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36--
but it doesn't works
someone can help me?
thanks
Stefano
a MIME multipart/related message over HTTP POST
the message is something like this:
---------------
POST /axis2/services/repositoryAonedoc HTTP/1.1
Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611 98809912936; type="text/xml"; start="0.urn:uuid:[email protected] apache.org"
SOAPAction: "SubmitObjectsRequest"
User-Agent: Axis2
Host: localhost:9087
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <0.urn:uuid:[email protected] .org>
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<SubmitObjectsRequest ...
...
</SubmitObjectsRequest>
</soapenv:Body>
</soapenv:Envelope>
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/plain
Content-Transfer-Encoding: binary
Content-ID: <Document01>
< a text Document>
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36--
----------------
I have configured the destination channel like this:
Connector Type=HttpSender
Header variables:
SOAPAction="SubmitObjectsRequest"
Content-Type=multipart/related; boundary=MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611 98809912936; type="text/xml"; start="0.urn:uuid:[email protected] apache.org"
Request variables:
$payload=--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <0.urn:uuid:[email protected] .org>
...
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36
...
--MIMEBoundaryurn_uuid_181AA8ECA16E16E2D611988099129 36--
but it doesn't works
someone can help me?
thanks
Stefano
Comment