Big problems decoding xCBL envelope (MIME)

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Big problems decoding xCBL envelope (MIME)

Viewing 0 reply threads
  • Author
    Posts
    • #16007

      Hello colleagues,

      i'm having huge difficulties trying to decode a xCBL envelope with the following structure:

      Message-ID: <5841142.1160143247344.JavaMail.SYSTEM@WEBMDFBTS11>
      Date: Fri, 6 Oct 2006 16:00:41 +0200 (CEST)
      Mime-Version: 1.0
      Content-Type: multipart/related; boundary="11042744.1160143247344.JavaMail.SYSTEM@WEBMDFBTS11"
      Content-ID: 6d52f968-79af-1000-ae84-95facc710001
      x-Recipient-Address: e4fca2dc-792f-1000-b91e-95facc9c0001
      x-Recipient-Id: e4fca2dc-792f-1000-b91e-95facc9c0001
      x-Message-Format: Commerce One 1.0 N; owner="Commerce One"; version=1.0; date="June 1999"; variant=N
      routing_history: routing_history; node_2="Machine: WEBMDFNMM13 (149.250.204.158). PortalRouterServer. ServerName: 'PR1'. ServerId: 'd0b27f76-7877-1000-af38-95facc9e0001'.  Sent to: 'https://149.250.204.140:4433/xcc'&quot;; node_1="Machine: WEBMDFBDX11 (149.250.204.113).  Sent to: 'https://149.250.204.158:4433/xcc'&quot;
      x-Sender-Id: 6d4ff7d0-78e8-1000-952b-95facc9c0001
      x-Date-Sent: 06 Oct 2006 16:00:39 CEST
      portal_routing_history_key: portal_routing_history; mpid_1=6c70f010-7877-1000-ada4-95facc9e0001
      x-Document-Type: Order
      x-Date-Recieved: 06 Oct 2006 16:00:43 CEST
      x-Request-Mode: peer-peer; timeout=0; ack=yes; delivery=express
      x-Correlation-Id: 6d52f968-79af-1000-ae84-95facc710001
      x-Priority: 5
      x-Request-Annotation: normal
      x-Message-Id: 6d52f968-79af-1000-ae84-95facc710001

      –11042744.1160143247344.JavaMail.SYSTEM@WEBMDFBTS11
      Content-Type: application/xml; owner=x-commerceone; version=1.0; type=Order; ns="urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0"; charset=UTF-8
      Content-Transfer-Encoding: base64
      Content-ID: 6d534c6a-79af-1000-b29f-95facc710001
      Content-Description: Document
      Content-Disposition: inline

      PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjw/c294dHlwZSB1cm46eC1j
      b21tZXJjZW9uZTpkb2N1bWVudDpjb206Y29tbWVyY2VvbmU6WENCTDMwOlhDQkwzMC5zb3gkMS4w
      Pz4NCjxPcmRlcj48T3JkZXJIZWFkZXI+PE9yZGVyTnVtYmVyPjxCdXllck9yZGVyTnVtYmVyPjIw
      LzQ1MDAwMjAxNDE8L0J1eWVyT3JkZXJOdW1iZXI+DQo8U2VsbGVyT3JkZXJOdW1iZXIvPg0KPExp
      c3RPZk1lc3NhZ2VJRD48TWVzc2FnZUlEPjxJRE51bWJlcj5jMTFkYzZlNi1kZjhmLTQyZTMtOWRi
      YS1lYjRkYjcwYjQwYjU8L0lETnVtYmVyPg0KPElEQXNzaWduZWRCeT48SURBc3NpZ25lZEJ5Q29k

      …

       

      It seems a MIME message but i have no success decoding the base64 ORDER document, well not even passing the pipeline! I get the follwing error:

       There was a failure executing the receive pipeline: "xCBLEnvelopeToBTS2006.xCBLEnvelopePipeline, xCBLEnvelopeToBTS2006, Version=1.0.0.0, Culture=neutral, PublicKeyToken=51e96d0cc4a8388a" Source: "MIME/SMIME decoder" Receive Port: "xCBLEnvelopeRP" URI: "C:\Data\xCBLEnvelope\Order_*.env" Reason: Exception occurred in applying per instance configuration on component "MIME/SMIME decoder" .
      The exception message is: Value does not fall within the expected range.
      The possible cause is invalid or malformed per instance configuration data.

      When i specify "text/xml" as BodyPartContentType and the following error :

       There was a failure executing the receive pipeline: "xCBLEnvelopeToBTS2006.xCBLEnvelopePipeline, xCBLEnvelopeToBTS2006, Version=1.0.0.0, Culture=neutral, PublicKeyToken=51e96d0cc4a8388a" Source: "MIME/SMIME decoder" Receive Port: "xCBLEnvelopeRP" URI: "C:\Data\xCBLEnvelope\Order_*.env" Reason: Item has already been added. Key in dictionary: 'Document'  Key being added: 'Document'

      When i specify "application/xml; owner=x-commerceone; version=1.0; type=Order; ns="urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0"; charset=UTF-8" as BodyPartContentType.

      I would really appreciate your support as i'm stuck with a current project 🙁

      I need to get the base64 decoded message from within this envelope for further transformation.

      Thank you and best regards

       Iggi

       

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.