Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting error while processing EDIFACT-D96A-ORDERS.. Agreement not found for trading partners: FromT

928671Jun 13 2014 — edited Jul 4 2014

Hi Anuj & All,

    I'm trying to create an outbound scenario with EDIFACT-D96A-ORDERS. A simple SOA composite application polling data from DB and through B2B adapter 'send' option provides data to B2B system.

Set up two partner profiles like this,

Host:

Name: HTP

EDI Group ID: HTP

EDI Interchange ID: Interchange Sen

EDI Interchange ID Qualifier: 01

Remote:

Name: RTP

EDI Group ID: RTP

EDI Interchange ID: Interchange Rec

EDI Interchange ID Qualifier: 01

Other settings are as usual. Delivery channel of generic file created on RTH.

Now, few documents settings on B2B console are like this,

D96A-> Interchange tab

Create UNA: Never

ORDERS-> Transaction

Functional Group Identifier Code: ORDERS

Controlling Agency: UN

- other properties are unchanged.

On SOA side, the bpel invoke activity which calls B2B adapter has following properties:

<invoke name="InvokeOrders"

  inputVariable="InvokeOrders_send_InputVariable"

  partnerLink="D96A.ORDERS" portType="ns2:send_ptt"

  operation="send" bpelx:invokeAsDetail="no">

<bpelx:inputProperty name="b2b.toTradingPartnerIdType"

    expression="'NAME'"/>

<bpelx:inputProperty name="b2b.toTradingPartnerId"

    expression="'RTP'"/>

<bpelx:inputProperty name="b2b.messageType" expression="1"/>

<bpelx:inputProperty name="b2b.messageId" variable="messageID"/>

<bpelx:inputProperty name="b2b.fromTradingPartnerIdType"

    expression="'NAME'"/>

<bpelx:inputProperty name="b2b.fromTradingPartnerId"

    expression="'HTP'"/>

<bpelx:inputProperty name="b2b.documentTypeName"

    expression="'ORDERS'"/>

<bpelx:inputProperty name="b2b.documentProtocolVersion"

    expression="'D96A'"/>

<bpelx:inputProperty name="b2b.documentProtocolName"

    expression="'EDIFACT'"/>

<bpelx:inputProperty name="b2b.documentDefinitionName"

    expression="'ORDERS_def'"/>

<bpelx:inputProperty name="b2b.conversationId"

    variable="ConversationID"/>

</invoke>

----------------

The error I'm getting on B2B Console->Reports->Business Message, while running this is,

Error Code B2B-50547

Error Description Machine Info: (htp01310-vm01.htp.com) Description: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.

Error Level ERROR_LEVEL_COLLABORATION

Error Severity ERROR

Error Text Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.

------------

Note: On Manage Deployment Tab I've checked the agreement is in active state.

-- Business Message (Result):--

State: MSG_ERROR

Document Type: ORDERS

Agreement: <blank>

Sender: HTP

Receiver: <blank>

-- Application Message (Result):--

Sender Id Type: NAME

Sender Value: TCS

Receiver Id Type: NAME

Receiver Value: ORCL

Document Type: ORDERS

Document Definition: ORDERS_def

Document Protocol Name: EDIFACT

Document Protocol Version: D96A

Direction: OUTBOUND

State: MSG_COMPLETE

------------------------

- Can anybody please shoot some pointer on how to resolve this? Please let me know if you need further configuration details which I've not mentioned here.

Regards,

- @bhijit

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2014
Added on Jun 13 2014
3 comments
1,801 views