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!

B2B-50547 Agreement not found for trading partners: FromTP null, ToTP XXX

user8769031Mar 19 2012 — edited Apr 4 2012
Hi,
I am getting the error: B2B-50547 Agreement not found for trading partners: FromTP null, ToTP OracleServices with document type PurchaseOrder-1.0-INBOUND

I am following a the example in a chapter from Oracle SOA Suite 11g R1: A Hands-on tutorial

The idea is to use a local XML file of purchase orders as input to be processed by B2B and sent to the Composite where I process and load it in the database.
Defined in the B2B console the partners, document definition, listening channel as file, and agreement, and B2B adapter in the composite.

On testing I do see in the B2B console the transaction with the correct XML payload but no instances are started in the SOA composite.
The displayed error in B2B console is: B2B-50547 Agreement not found for trading partners: FromTP null, ToTP OracleServices with document type PurchaseOrder-1.0-INBOUND.

It is strange that the from adapter is Null, yet the source file is being processed and actually deleted from the folder fine!?

From B2B console:
Id 7F00000113616762DFB0000019C81800
Message Id 7F00000113616761D8B0000019C81300
Refer To Message Refer To Message
Sender Type Name
Sender Value MI
Receiver Type
Receiver Value
Sender MI (why not the actual MartketInc ??)
Receiver OracleServices (correct)
Agreement Id (null )
Agreement
Document Type PurchaseOrder
Document Protocol Custom
Document Version
Message Type REQ
Direction INBOUND
State MSG_ERROR
Acknowledgement Mode NONE
Response Mode ASYNC
Send Time Stamp 03/15/2012 06:05 AM
Receive Time Stamp 03/15/2012 06:05 AM
Document Retry Interval(Channel) 0
Document Remaining Retry(Channel) 0
Document Retry Interval(Agreement)
Document Remaining Retry(Agreement)
Native Message Size 550
Translated Message Size
Business Action Name
Business Transaction Name
Xpath Name1
Xpath Value1
Xpath Expression1
Xpath Name2
Xpath Value2
Xpath Expression2
Xpath Name3
Xpath Value3
Xpath Expression3
Correlation From XPath Name
Correlation From XPath Value
Correlation From XPath Expression
Correlation To XPath Name
Correlation To XPath Value
Correlation To XPath Expression
Wire Message Wire Message
Application Message Application Message
Payload Storage Payload Storage
Attachment Attachment
Label
Collaboration Id 7F00000113616762CB60000019C81700
Collabration Name
Collabration Version
Business Action Name
Exchange Protocol Name Generic File
Exchange Protocol Version 1.0
Interchange Control Number
Group Control Number
Transaction Set Control Number
Error Code B2B-50547
Error Description Machine Info: (localhost.localdomain) Description: Agreement not found for trading partners: FromTP null, ToTP OracleServices with document type PurchaseOrder-1.0-INBOUND.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Agreement not found for trading partners: FromTP null, ToTP OracleServices with document type PurchaseOrder-1.0-INBOUND.

I can provide summary of full steps and the log content.

Need to get the test to work to show value of B2B over older technologies. Please help.

Thanks
This post has been answered by LRSwan on Apr 4 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2012
Added on Mar 19 2012
6 comments
2,043 views