Skip to Content
avatar image
Former Member

Custom MIME message

Hi Experts,

We are on PO 7.4.

We have integration with external partner using ebXML over HTTP and trying to build a custom solution.

The ebXML specification needs a custom SOAP envelope and has specifications for the overall MIME message as well.

The MIME message package should be a multipart message with the SOAP envelope. the xml business document as attachment and the content id of attachment referencd in SOAP Body.

Is there a way to build the custom MIME message in PO and use standard HTTP or SOAP adapter to post to the partner.

Thanks.

Regards,

Sudharshan N A

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 11, 2015 at 02:12 AM

    Hi Sudharshan

    To build a custom MIME message, you will have to write a custom Java mapping to achieve that. Below is a blog detailing a sample multipart MIME message.

    Create email with body and attachments for binary payload with Java mapping

    Rgds

    Eng Swee

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sudharshan

      To be honest, this is something that I've never tried before, neither am I familiar with the ebXML specification.

      If you use the SOAP adapter, you can check the "Do not use SOAP envelope" so that the payload after mapping is transferred as is.

      Rgds

      Eng Swee