This discussion is archived
2 Replies Latest reply: Mar 5, 2013 1:12 PM by user1127697 RSS

B2B Correlation using replyToMessageID

user1127697 Newbie
Currently Being Moderated
Hi,

I am trying to build a correlation using ebXML headers i.e. conversionID and RefToMessageID. I followed this blog and I managed to get some parts to work but am failing when trying to add a ReftoMessageID based on the format of the replyToMessage=RefToMessageID:ConversationID. This is the link I followed:

http://www.b2bgurus.com/2007/12/correllation-of-business-message-in.html


I am using 11.1.1.5 and ebXML.

The initial message from Acme to Globalchips are as follows:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/integration/b2b">
<ns1:OutboundServiceRequest>
<ns1:from type="Name">Acme</ns1:from>
<ns1:to type="Name">GlobalChips</ns1:to>
<ns1:messageId>@100</ns1:messageId>
<ns1:messageType></ns1:messageType>
<ns1:replyToMessageId></ns1:replyToMessageId>
<ns1:encoding></ns1:encoding>
<ns1:payload>&lt;One&gt;&lt;Two&gt;Three&lt;/Two&gt;&lt;/One&gt;</ns1:payload>
<ns1:attachment></ns1:attachment>
<ns1:action></ns1:action>
<ns1:documentProtocolVersion>1.0</ns1:documentProtocolVersion>
<ns1:documentTypeName>Order</ns1:documentTypeName>
</ns1:OutboundServiceRequest>
</soap:Body>
</soap:Envelope>

This message will generate a messageID =@100 and conversationID = @100


The response message from Globalchips to Acme are as follows:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/integration/b2b">
<ns1:OutboundServiceRequest>
<ns1:from type="Name">GlobalChips</ns1:from>
<ns1:to type="Name">Acme</ns1:to>
<ns1:messageId>@200</ns1:messageId>
<ns1:messageType></ns1:messageType>
<ns1:replyToMessageId>@100 : @100</ns1:replyToMessageId>
<ns1:encoding></ns1:encoding>
<ns1:payload>&lt;Four&gt;&lt;Five&gt;Six&lt;/Five&gt;&lt;/Four&gt;</ns1:payload>
<ns1:attachment></ns1:attachment>
<ns1:action></ns1:action>
<ns1:documentProtocolVersion>1.0</ns1:documentProtocolVersion>
<ns1:documentTypeName>Order Response</ns1:documentTypeName>
</ns1:OutboundServiceRequest>
</soap:Body>
</soap:Envelope>

I'm expecting that this should return a messageID =@200, RefToMessageID=@100 and conversationID=@100 but am getting this error:

B2B-52329: Web Service outbound flow invocation error.</faultstring><faultactor>http://xxx.xxx.xx.xxx:8001/b2b/services/OutboundService</faultactor><detail><tns:error xmlns:tns="http://xmlns.oracle.com/integration/b2b">java.lang.Exception: Machine Info: (mymachine)
Description: ReferTo message not found.


Anybody experienced this issue before?

Regards,
Robert

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points