bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Soap with attachment refused by host

E2E Forum Modeling & Development Soap with attachment refused by host

This topic contains 0 replies, has 1 voice, and was last updated by  frans 7 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2136

    frans
    Participant

    I am trying to send a soap request with attachment.
    The receiving host is giving me an error message:

    Multipart content type has a “start” parameter, but it doesn’t match the cid of the first MIME part.

    The soap message I am sending:

    Host: api-gateway.laredoute.com
    Accept: */*
    SOAPAction: “http://RedouteFrance/seller/items/1.1″
    Mime-Version: 1.0
    Content-Type: multipart/related; boundary=”0000000e5c6051b900007c1000006a08d83f3b9e”; type=”text/xml”; start=”cid:0000000d5c6051b900007c1000006a08d83f3b9e”
    Content-Length: 239276
    Expect: 100-continue
    ….
    –0000000e5c6051b900007c1000006a08d83f3b9e
    Content-Type: text/xml; charset=”utf-8″
    Content-ID: 0000000d5c6051b900007c1000006a08d83f3b9e
    Content-Transfer-Encoding: 8bit

    <?xml version=”1.0″ encoding=”utf-8″?><SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”><SOAP-ENV:Body><tns:injectItems xmlns:tns=”http://RedouteFrance/seller/items/1.1″><api-key>xxxxxx</api-key></tns:injectItems></SOAP-ENV:Body></SOAP-ENV:Envelope>
    –0000000e5c6051b900007c1000006a08d83f3b9e
    Content-Type: text/xml;
    name=”11485.MKP_Products.002.2017-04-11-09-37-47.xml”; charset=”utf-8″
    Content-ID: 11485.MKP_Products.002.2017-04-11-09-37-47.xml
    Content-Disposition: attachment;
    filename=”11485.MKP_Products.002.2017-04-11-09-37-47.xml”
    Content-Transfer-Encoding: 8bit

    <?xml version=”1.0″ encoding=”utf-8″?>
    ……

    The error message seems correct, start=”cid:0000….”, but the content-id of the first part Content-ID: 0000….

    Any suggestions on how to correct this?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.