RFC Sender adapter - Sender agreement not found Error
Hi ,
I am getting this error when i send an RFC request to XI from SAP.
Exception thrown [Fri Aug 05 10:10:35,624]:Exception thrown by application running in JCo Server
com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, dapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fomService 'HORIZONISU', toParty '', toServ
#at com.sap.aii.af.rfc.afcommunication.Message.getEmptyMsMessage(Message.java:345)
#at com.sap.aii.af.rfc.afcommunication.Message.buildMsMessage(Message.java:215)
#at com.sap.aii.af.rfc.afcommunication.ToAdapterFramework.sendSynchronous(ToAdapterFramework.java:341)
#at com.sap.aii.af.rfc.core.server.RfcServer.handleRequest(RfcServer.java:525)
#at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))
#at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))
#at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))
#at com.sap.mw.jco.JCO$Server.listen(JCO.java:6926)
I have configured a sender RFC adapter in XI with a specific "program id". This RFC adapter is available under a Business System of type WebAS ABAP in integration directory.
I have created an RFC in my SAP system (it just has IMPORT & EXPORT parameters, no SrcCode), i also have an RFC destination of type T in SAP which has the program id specified in my RFC adapter config. The application host & gateway in this RFC destination point to itself(points the same SAP system where the RFC destination is created)
Now i trigger the RFC from an other function module with destination parameter pointing to the RFC destination of type T created in SAP.
Is the above config ok ? If not what do i need to check , pointers pls. I get a dump in SAP when i execute the function module calling the RFC , and i see the above stacktrace in XI log.
Thanks
Saravana
Hi Saravana,
1. have you created a senderAgreement for your scenario? (senderAgreement not found)?
2. do you commit your RFC call with commit work? ( just to make sure )
3. is your RFC dest working? when you test it in SM59?
Regards,
michal
Similar Messages
-
Trading Partner Agreement Not found error in EDI EDIFACT Scenario
Hello all,
I am getting the following error in the trace file in the EDI EDIFACT over Generic Exchange Scenario,i have verified the agreement effective to date,i also have checked the enq_orders.properties & enq_ordrsp.properties on both the servers and the FromParty Name and ToParty Name are shown correctly.so where does the actual problem occur can anyone plz help me out to solve this issue.
MsgID = C0A8010111EF3AC936E0000068CB7800
ReplyToMsgID = null
FromParty = Acme
ToParty = Acme
EventName = Exception
DoctypeName = Exception
DoctypeRevision = 1.0
MsgType = 3
payload length = 1820
*<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
*<correlationId>null</correlationId>*
*<b2bMessageId>C0A8010111EF3AC936E0000068CB7800</b2bMessageId>*
*<errorCode>AIP-50547</errorCode>*
*<errorText>Trading partner agreement not found for the given input values: From partyNAME "Acme", To partyNAME "Acme", Business action name "Process_ORDERS"; also verify agreement effectiveToDate</errorText>*
*<errorDescription>*
*<![CDATA[Machine Info: (mcity94)*
*Description: Unable to identify the trading partner agreement from the given input values. Also verify agreement effectiveToDate*
*StackTrace:*
*Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME|http://forums.oracle.com/forums/] "Acme", To partyNAME "Acme", Business action name "Process_ORDERS"; also verify agreement effectiveToDate*
** at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementNameByBaTPName(RepoDataAccessor.java:2225)**
** at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:181)**
** at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:511)**
** at oracle.tip.adapter.b2b.tpa.TPAProcessor.processIncomingTPA(TPAProcessor.java:229)**
** at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1715)**
** at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2404)**
** at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2303)**
** at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2258)**
** at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:500)**
** at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:348)**
** at java.lang.Thread.run(Thread.java:534)**
*]]>*
*</errorDescription>*
*<errorSeverity>2</errorSeverity>*
*</Exception>*
Thanx
Sunny
Edited by: sunny kay on Jan 20, 2009 7:45 AMHi
Since the error states "Process_ORDERS" as the Business action I assume you are trying to enq the ORDERS document from Acme to GlobalChips. The issue then would be due to the fact that there is a trailing space character after the GlobalChips
Please check for a space (or spaces) after
to = GlobalChips
Also ensure that the UI has the trading partner with the same spelling ie. GlobalChips and not Globalchips
Thanks,
--Arun -
Using file adapter, got "Sender Agreement not found" error
I used file adapter in my CC and defined all the necessary objects. When I tried to test the configuration and I kept getting "Sender Agreement" error.
Also the chache is cleared too, searched the forum already, couldn't find any clue
Not sure what I did wrongHi,
First things first, ensure you have an agreement for each single Communication Channel you have
and that they are correctly associated.
If they are created and associated, you may try the cache refresh with the link:
http://host:j2eeport/CPACache/refresh?mode=full
Kind regards,
Caio Cagnani -
TP Agreement Not Found -- OAGIS XML document over AS2
Hi,
I am getting TP Agreement not found error while receiving OAGIS XML document over AS2. Below is error message.
Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND
I am not sure why it says null-INBOUND. It appears like it is not able to identify Document Version. DOCTYPE_REVISION=7.2.1 is being passed in the AS2 transport headers but still it does not recognize the version.
I am not sure what is missing. Please give some ideas hints.
Below is the Business Message:----
Id AC12149513F1F78141400000E7DEDE00
Message Id AC12149513F1F78136200000E7DED800
Refer To Message Refer To Message
Sender Type AS2 Identifier
Sender Value SOALocal
Receiver Type AS2 Identifier
Receiver Value PowellIndustries
Sender SOALocal
Receiver Powell
Agreement Id
Agreement
Document Type PROCESS_INVOICE_002
Document Protocol OAG
Document Version 7.2.1
Message Type REQ
Direction INBOUND
State MSG_ERROR
Acknowledgement Mode NONE
Response Mode ASYNC
Send Time Stamp 06/07/2013 11:28:49 AM
Receive Time Stamp 06/07/2013 11:28:50 AM
Document Retry Interval(Channel) 0
Document Remaining Retry(Channel) 0
Document Retry Interval(Agreement)
Document Remaining Retry(Agreement)
Native Message Size 10788
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 AC12149513F1F7813BF00000E7DEDB00
Collabration Name
Collabration Version
Business Action Name
Exchange Protocol Name AS2
Exchange Protocol Version 1.1
Interchange Control Number
Group Control Number
Transaction Set Control Number
Error Code B2B-50547
Error Description Machine Info: (pwl.pri) Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Below is the Wire Message:----
Id AC12149513F1F78115400000E7DED600
Message Id AC12149513F1F78115400000E7DED600
Business Message AC12149513F1F78141400000E7DEDE00
Packed Message Packed Message
Payload Payload
Protocol Message Id <38383939373331343630313931303737@SOALocal>
Refer To Protocol Message Id
Protocol Collaboration Id
Protocol Transport Binding ChannelName=SOALocal dcID=CHANNEL_nlzbB-7511847722850817684 AS2-To=PowellIndustries DOCTYPE_NAME=PROCESS_INVOICE_002 TE=trailers, deflate, gzip, compress DOCTYPE_REVISION=7.2.1 Date=Fri, 07 Jun 2013 16:28:49 GMT AS2-Version=1.1 Accept-Encoding=gzip, x-gzip, compress, x-compress AS2-From=SOALocal url=http://pwl.pri/b2b/transportServlet Content-Transfer-Encoding=binary Message-ID=<38383939373331343630313931303737@SOALocal> Content-type=application/pkcs7-mime; smime-type="enveloped-data" MSG_RECEIVED_TIME=Fri Jun 07 11:28:49 CDT 2013 ECID-Context=1.71b9d2a41e5aaef0:-10db6371:13f1ee6cb74:-8000-000000000000276d;khvE MIME-version=1.0 tpName=PowellIndustries User-Agent=AS2 Server Oracle HTTPClient Version 10h Content-Length=13663 Host=pwl.pri:8001 Connection=close, TE useProxy=false From=SOALocal additionalHeaders=DOCTYPE_NAME=PROCESS_INVOICE_002#DOCTYPE_REVISION=7.2.1
Message Digest Message Digest
Digest Algorithm md5
Transport Protocol HTTP
Transport Protocol Version 1.1
Url http://pwl.pri:8001/b2b/transportServlet
security
Transport Headers ChannelName=SOALocal dcID=CHANNEL_nlzbB-7511847722850817684 AS2-To=PowellIndustries DOCTYPE_NAME=PROCESS_INVOICE_002 TE=trailers, deflate, gzip, compress DOCTYPE_REVISION=7.2.1 Date=Fri, 07 Jun 2013 16:28:49 GMT AS2-Version=1.1 Accept-Encoding=gzip, x-gzip, compress, x-compress AS2-From=SOALocal url=http://pwl.pri:8001/b2b/transportServlet Content-Transfer-Encoding=binary Message-ID=<38383939373331343630313931303737@SOALocal> Content-type=application/pkcs7-mime; smime-type="enveloped-data" MSG_RECEIVED_TIME=Fri Jun 07 11:28:49 CDT 2013 ECID-Context=1.71b9d2a41e5aaef0:-10db6371:13f1ee6cb74:-8000-000000000000276d;khvE MIME-version=1.0 tpName=PowellIndustries User-Agent=AS2 Server Oracle HTTPClient Version 10h Content-Length=13663 Host=pwl.pri:8001 Connection=close, TE useProxy=false From=SOALocal additionalHeaders=DOCTYPE_NAME=PROCESS_INVOICE_002#DOCTYPE_REVISION=7.2.1
certificates certificates
State ERROR
Reattempt Count
Error Code B2B-50547
Error Description Machine Info: (pwl.pri) Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Error Text Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
exchangeRetryInterval
exchangeRemainingRetry
Message Size 10788
Thanks
Ismail M.Hi Anuj,
Here is the payload from the wire message. We are using 11.1.1.6.0
<?xml version = '1.0' encoding = 'UTF-8'?>
<PROCESS_INVOICE_002 xmlns="http://www.openapplications.org/171_process_invoice_002">
<CNTROLAREA xmlns="">
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="INVOICE">INVOICE</NOUN>
<REVISION value="002">002</REVISION>
</BSR>
<SENDER>
<LOGICALID>POWELLIND</LOGICALID>
<COMPONENT>B2B</COMPONENT>
<TASK/>
<REFERENCEID/>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE/>
<AUTHID>oracle B2B</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
</CNTROLAREA>
<DATAAREA xmlns="">
<PROCESS_INVOICE>
<INVHEADER>
<AMOUNT qualifier="DOCUMENT" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<DATETIME qualifier="DOCUMENT" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>15</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DOCUMENTID>1000182</DOCUMENTID>
<DESCRIPTN/>
<DOCTYPE/>
<PAYMETHOD/>
<REASONCODE/>
<USERAREA/>
<PARTNER>
<NAME index="1">Powell US Operating Unit</NAME>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1">Powell US Operating Unit</NAME>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<CONTACT>
<NAME index="1">No Sales Credit</NAME>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1">PO Box 843823, Dallas, Dallas, TX, 75284-3823, United States</NAME>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>RemitTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1">PO Box 843823, Dallas, Dallas, TX, 75284-3823, United States</NAME>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">PO Box 843823</ADDRLINE>
<ADDRTYPE/>
<CITY>Dallas</CITY>
<COUNTRY>United States</COUNTRY>
<COUNTY>Dallas</COUNTY>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE/>
<REGION/>
<STATEPROVN>TX</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1"/>
<URL/>
<USERAREA/>
</ADDRESS>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1"/>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>Carrier</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1"/>
<ADDRTYPE/>
<CITY/>
<COUNTRY/>
<COUNTY/>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE/>
<REGION/>
<STATEPROVN/>
<TAXJRSDCTN/>
<TELEPHONE index="1"/>
<URL/>
<USERAREA/>
</ADDRESS>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<DOCUMNTREF>
<DOCTYPE>INV</DOCTYPE>
<DOCUMENTID>10005:21009</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVTAX>
<AMOUNT qualifier="TAX" type="T" index="1">
<VALUE>413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<AMOUNT qualifier="TAXBASE" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<QUANTITY qualifier="PERCENT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN/>
<LINENUM/>
<TAXCODE/>
<TAXJRSDCTN/>
<USERAREA/>
</INVTAX>
<PYMTTERM>
<AMOUNT qualifier="DISCNT" type="T" index="1">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<DATETIME qualifier="DISCNT" index="1">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="DUE" index="1">
<YEAR>2013</YEAR>
<MONTH>04</MONTH>
<DAY>14</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="PYMTTERM" index="1">
<YEAR>1952</YEAR>
<MONTH>01</MONTH>
<DAY>01</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0600</TIMEZONE>
</DATETIME>
<DESCRIPTN>Net Due in 30 Days</DESCRIPTN>
<TERMID>30 NET</TERMID>
<USERAREA>
<AMOUNT qualifier="TOTAL" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY/>
<DRCR>D</DRCR>
</AMOUNT>
</USERAREA>
</PYMTTERM>
</INVHEADER>
<INVLINE>
<AMOUNT qualifier="EXTENDED" type="T" index="1">
<VALUE>50</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY/>
<DRCR>D</DRCR>
</AMOUNT>
<OPERAMT qualifier="UNIT" type="T">
<VALUE>5</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY/>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ITEM">
<VALUE>10</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM/>
</QUANTITY>
<LINENUM>1</LINENUM>
<DESCRIPTN>11GA SHEET STEEL HOT ROLLED-PICKLED-OILED COMMERCIAL QUALITY.</DESCRIPTN>
<ITEM>11GA SHEET STEEL HOT ROLLED-PICKLED-OILED COMMERCIAL QUALITY.</ITEM>
<ITEMTYPE/>
<ITEMX>11HRPO</ITEMX>
<OPENITEM/>
<PROJACTVTY/>
<UNIT>LB</UNIT>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>LINE</DOCTYPE>
<DOCUMENTID>10005:21009:19019</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<DESCRIPTN/>
<USERAREA/>
</DOCUMNTREF>
<DOCUMNTREF>
<DOCTYPE>SalesOrder</DOCTYPE>
<DOCUMENTID>600813</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE/>
<DESCRIPTN/>
<USERAREA/>
</DOCUMNTREF>
<DOCUMNTREF>
<DOCTYPE>PurchaseOrder</DOCTYPE>
<DOCUMENTID>TEST123</DOCUMENTID>
<PARTNRID>N/A</PARTNRID>
<PARTNRTYPE>Customer</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<SCHLINENUM/>
</DOCUMNTREF>
</INVLINE>
</PROCESS_INVOICE>
</DATAAREA>
</PROCESS_INVOICE_002> -
Error: Sender agreement not found, lookup of binding via CPA-CACHE failed.
Hi,
I am doing an RFC to File Scenario in which RFC has to be triggered from CRM system. The TCP/IP connection and communication Channel are working fine. But when i trigger my RFC using the RFC destination following errors occur:
1. The SYSTEM_FALIURE exception comes on CRM side.
2. In adapter monitoring the following error comes on XI side:
Error: Sender agreement not found, lookup of binding via CPA-CACHE failed for Adapter type RFC.
I have also tried the scenario with RFC request as source message and also after J2EE cache refresh but the problem still persists. And one more thing my file adapter (In receiver communication channel) is not working means it is not started. And no message is coming in SXMB_MONI.
Could anyone please help me to resolve this issue.
Regards,
Vinay YadavHi Aaron,
I had the same error and your feedback solved my problem!
Thank you sooo much!!!!
Luciana -
Test Configuration Tool: Sender Agreement Not Found
Hi, All:
We have new XI3.0 setup and I just want to test simple file to file scenario, but the file was picked up by sender file adapter, however, there is no message sent to Integration server.
When I use Test Configuration Tool, the sender agreement is green, however, it also mention Sender Agreement Not Found, see below:
================================================
Sender Agreement
================================================
futhermore, Interface Mapping is not found either. Actually, Interface has been created on IR. Sender Agreement also created in ID.
Anyone who has idea about these two errors ?
Thanks in advance
LiangHi, Raj and Srinivas:
Thanks for your reply.
First of all, all the objects are activated, secondly, when create sender agreement, I just need to input the Sender Service Name / Sender Interface / Sender Interface Namespace. Then finally select commnication channel.
For any Receiver sides, they are grey out, I am not able to input anything.
So, there is no "*" in any fields.
I doubt if there is any setup wrong, especially for adapter engine, maybe some modules that are not functional for file adapter engine, since I also see other problems, I might post them as separate thread.
In Adapter monitor page, I did not see the adapter.
In RWB, if I use IE, there is Error in the page, using Firefox, it is OK.
Thanks And Regards !
Liang -
Sender Soap scenario HTTP/1.1 404 Not Found error
Hello All,
I created SOAP to IDOC scenario, generated the WSDL file from Sender agreement and while testing the interface using SOAPUI tool iam getting HTTP/1.1 404 Not Found error.
i gave login authorization details in the SOAPUI tool.
Update: when i generated the WSDL file from sender agrement, in the URL the port number was 443.
when i check the port numer in SMICM transaction it show 50000.
Now when i test with port numer 443 iam getting Connction refused error.
Regards,
Chinna
Edited by: chinnasapxi on Mar 4, 2011 6:44 AMi created the URl and when i tested the from SOAP UI below is the error detials.
Fri Mar 04 11:32:08 IST 2011:ERROR:com.eviware.soapui.model.iface.Request$SubmitException: com.eviware.soapui.impl.wsdl.submit.RequestTransportRegistry$MissingTransportException: Missing transport for protocol [ http]
com.eviware.soapui.model.iface.Request$SubmitException: com.eviware.soapui.impl.wsdl.submit.RequestTransportRegistry$MissingTransportException: Missing transport for protocol [ http]
at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:241)
at com.eviware.soapui.impl.wsdl.panels.request.AbstractWsdlRequestDesktopPanel.doSubmit(AbstractWsdlRequestDesktopPanel.java:146)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.onSubmit(AbstractHttpRequestDesktopPanel.java:777)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel$SubmitAction.actionPerformed(AbstractHttpRequestDesktopPanel.java:488)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) -
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,
- @bhijitHi Mariusz,
Thanks for your reply. Yes I think so, probably you're right. But finest trace level doesn't give much clues on "wrong mapped" data. Anyway, here is the detail log. Please don't forget to point out if you find something interesting.
#### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
> <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704092> <BEA-000000> <Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
#### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
> <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704569> <BEA-000000> <Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50547: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>
Rgds,
- Abhijit
P.S. - Can you please check what is the value of "Functional Group Identifier Code" for D96A ORDERS. -
Hi AS2 experts,
*When i tried sending an xml to partner system using AS2 adapter.. Mapping is succesfull and message is failing in receiver AS2 adapter.
1. I used the following parameters in AS2 Module.
ModuleName Module Key
localejbs/Seeburger/solution/as2 solutionid
localejbs/ModuleProcessorExitBean exit
ModuleKey ParameterName ParameterValue
exit JNDIName deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
Iam getting the following error.
Success MP: Processing local module localejbs/Seeburger/solution/as2
Error : MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2.
Error : Exception caught by adapter framework: Object not found in lookup of as2.
Error : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of as2.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2..
2. When i tried by removing Modulename "localejbs/Seeburger/solution/as2"
It is showing the below error like AS2ID is missing.. but its there in party configuration.
Error :
Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..
Can anyone has idea what might be wrong.
Kindly suggest me asap.
Thank You.
Regards
Seema.Hi,
Plesae go through below links
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
EDI Adapter by SeeBurger
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
Integrating XI with SeeBurger
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
and
Check with below configuration
Configuration for AS2 or simple file adapter.
We are using this module configuration for converting EDI D96A format to XML:
1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
2 localejbs/CallSapAdapter Local Enterprise Bean 0
bic destSourceMsg MainDocument
bic destTargetMsg MainDocument
bic logAttID ConverterLog
bic mappingName See_E2X_ORDERS_UN_D96A
bic saveSourceMsg ORIGINAL_EDI
can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
basically,I need mapping name for this.
Scheme=AS2ID
Name = WAN network no of the partner who is sending the file
Sender AS2 adapter configuration:
Few changes in the module parameter tab.
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
Receiver AS2 adapter configuration:
When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
1. Define the channel as a Receiver channel on the Parameters tab
2. The last step ensures the module sequence is complete:
Make sure the module ModuleProcessorExitBean does exist in the module sequence:
Module Name=localejbs/ModuleProcessorExitBean
Type=L
Module Key=Exit
with the following module parameter:
Module Key=Exit
Parameter Name=JNDIName
Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
File receiver:
localejbs/CallBicXIRaBean bic
CallSapAdapter 0
Module configuration:
bic= destSourceMsg = MainDocument
bic= destTargetMsg = MainDocument
bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
Thanks
Swarup -
AIP-50547: Trading partner agreement not found for the given input values
I am trying to setup outbound 810. I have it working in one environment I took export and imported in another environment. But it gave me following error. I purged repository and configured everything again and it still gives me same error:
2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = ? AND ba1.name = ? AND sba1.isinitiator = ? AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = ? AND ba2.name = ? AND sba2.isinitiator = ? AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL))
2007.08.25 at 19:41:20:997: Thread-21: B2B - (DEBUG) RepoDataAccessor:getAgreementIdByBaTPName() bind vars: RSC,SEND_INVOICE,Y,PETSMART ,SEND_INVOICE,N
2007.08.25 at 19:41:22:854: Thread-21: B2B - (ERROR) Error -: AIP-50547: Trading partner agreement not found for the given input values: From party[NAME] "RSC", To party[NAME] "PETSMART ", Business action name "SEND_INVOICE"; also verify agreement effectiveToDate
at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementIdByBaTPName(RepoDataAccessor.java:1977)
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:166)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:389)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:192)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:731)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:531)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:344)
at java.lang.Thread.run(Thread.java:534)
I took SQL from the log and used the parameter in the log and executed query at sql prompt and it finds agreement id see below.
SQL> SELECT ag.agreementid FROM TIP_BusinessAction_ra ba1, TIP_Party_ra tp1, TIP_BusinessAction_ra ba2, TIP_Party_ra tp2, TIP_SupportedBusinessAction_ra sba1, TIP_SupportedBusinessAction_ra sba2, TIP_Participant_ra tpp1, TIP_Participant_ra tpp2, TIP_Agreement_ra ag WHERE tp1.name = 'RSC' AND ba1.name = 'SEND_INVOICE' AND sba1.isinitiator = 'Y' AND tpp1.agreement = ag.ID AND tpp1.supportedbusinessaction = sba1.ID AND sba1.tradingpartner = tp1.ID AND sba1.businessaction = ba1.ID AND tp2.name = 'PETSMART' AND ba2.name = 'SEND_INVOICE' AND sba2.isinitiator = 'N' AND tpp2.agreement = ag.ID AND tpp2.supportedbusinessaction = sba2.ID AND sba2.tradingpartner = tp2.ID AND sba2.businessaction = ba2.ID AND tpp1.agreement = tpp2.agreement AND ((ag.effectivefromdate <= SYSDATE) OR (ag.effectivefromdate IS NULL)) AND ((ag.effectivetodate +1 >= SYSDATE) OR (ag.effectivetodate IS NULL));
AGREEMENTID
100Hello Mr Desai,
Few question and pointers.
1. Are these two environments pointing to the same repository. Please ensure the system date is appropriate.
2. Please point your second environment to the Repository of the first environment and check. This will give us some data point.
3. Make sure the agreement is deployed in your new environment and active. I assume you are importing the agreement on a clean repository.
4. Please send us the export and payload file for analysis
Rgds,
Ramesh
4. -
After upgrade to 11.1.1.2 Agreement not found for trading partners
We just upgraded from 11.1.1.1 to 11.1.1.2 and an existing composite that sends a file from Oracle EBS to an outside trading partner is not working.
We tried importing the Agreement from the 11.1.1.2 and when it did not work, we purged the repository and started from scratch.
The error we are getting is:
Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND
This is a file that we are sending from Oracle EBS to an outside trading partner via FTP.
One thing we are noticing is that when we create the agreement, it does not show up under our host TP, it only shows up under the target TP.
We have set up the TP, Channel, and agreements exactly like they are set in the 11.1.1.1 environment.
Here is the log file in debug mode.
[2010-06-17T07:40:10.471-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.engine.Engine:handleOutboundException notifying App
[2010-06-17T07:40:10.471-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enter
[2010-06-17T07:40:10.479-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: payload = <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[[
<correlationId>7F00000112945B5769F00000AEC3D2E0</correlationId>
<b2bMessageId>10011</b2bMessageId>
<errorCode>B2B-50547</errorCode>
<errorText>
<![CDATA[Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (afsmlnx04.rheem.com)
Description: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
[2010-06-17T07:40:10.486-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Enqueue the exception message:[[
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>7F00000112945B5769F00000AEC3D2E0</correlationId>
<b2bMessageId>10011</b2bMessageId>
<errorCode>B2B-50547</errorCode>
<errorText>
<![CDATA[Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (afsmlnx04.rheem.com)
Description: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
[2010-06-17T07:40:10.492-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: deliverException: Send message to endpoint IP_IN_QUEUE
[2010-06-17T07:40:10.492-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] URL ===== aq://IP_IN_QUEUE@jdbc/SOADataSource
[2010-06-17T07:40:10.514-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.transport.AppTransportInterface:send TO Endpoint: 509 aq://IP_IN_QUEUE@jdbc/SOADataSource
[2010-06-17T07:40:10.522-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.transport] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.transport.basic.TransportLogger] [APP: soa-infra] [SRC_METHOD: log] TransportProperties.TransportProperties():internal=true;aq.sender.queue_name=IP_IN_QUEUE;aq.sender.datasource=jdbc/SOADataSource;aq.sender.queue_payload_col=PAYLOAD;aq.sender.recipients=b2berroruser;
[2010-06-17T07:40:11.356-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.transport.AppTransportInterface:send Message Successfully Transmitted
[2010-06-17T07:40:11.377-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.msgproc.MessageHandler:findInvocationContext trying doc ref
[2010-06-17T07:40:11.396-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Notification: notifyApp: Exit
[2010-06-17T07:40:11.396-04:00] [soa_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] oracle.tip.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: B2B-50547: Agreement not found for trading partners: FromTP Rheem, ToTP JPMorgan with document type JPPositivePay-1-OUTBOUND.
[2010-06-17T07:40:11.397-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@b9d2338] [userId: <anonymous>] [ecid: 0000I_2GB8yFw000jzwkno1C6FTd0000E8,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] class oracle.tip.b2b.metric.B2BMessageProperties[[
fromTP : Rheem
toTP : JPMorgan
DocumentProtocol : null
DocumentProtocolVersion : null
DocumentType : JPPositivePay
Agreement : null
MessageSize : 0.0
MessageState : ERROR
FromEndpoint : null
FromEndpointProtocol : null
FromEndpointStatus : null
ToEndpoint : null
ToEndpointProtocol : null
ToEndpointStatus : null
Application : null
Application : null
Composite : null
CompositeVersion : null
Service/Reference : null
]]In another thread Nitesh states:
b2b.documentProtocolVersion is missing in your properties and b2b.toTradingPartnerId is not set properly.
Below are the property, you should set in composite:
b2b.documentTypeName = <doctype>
b2b.documentProtocolVersion = <docRevision>
b2b.fromTradingPartnerId = <HostTPName>
b2b.toTradingPartnerId = <RemoteTPName>
b2b.messageType = <msgType>
If you want to identify TP based on Identifier then use below for TP:
b2b.toTradingPartnerId = <AS2 Identifier Value>
b2b.toTradingPartnerIdType = <AS2 Identifier>
We are setting the b2b.documentProtocolVersion variable in BPEL:
[2010-06-17T07:40:05.294-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: orabpel.invoke.pool-3.thread-11] [userId: <anonymous>] [ecid: 0000I_5hM0hFw000jzwkno1C6FTd0000GQ,0:1:100000028] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [composite_name: RHMAPPositivePayService] [component_name: enquedat] [component_instance_id: 10011] [SRC_METHOD: log] [composite_instance_id: 10011] class oracle.integration.platform.blocks.b2b.B2BReference : oracle.integration.platform.blocks.b2b.B2BReference@8fdf1b3 : Key : b2b.documentProtocolVersion
[2010-06-17T07:40:05.294-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: orabpel.invoke.pool-3.thread-11] [userId: <anonymous>] [ecid: 0000I_5hM0hFw000jzwkno1C6FTd0000GQ,0:1:100000028] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [composite_name: RHMAPPositivePayService] [component_name: enquedat] [component_instance_id: 10011] [SRC_METHOD: log] [composite_instance_id: 10011] class oracle.integration.platform.blocks.b2b.B2BReference : oracle.integration.platform.blocks.b2b.B2BReference@8fdf1b3 : Value : 1
Edited by: robn77 on Jun 17, 2010 5:27 AM -
File not found error in SFTP channel
Hi All,
We are getting a "file not found error " while using a SFTP sender channel .
Our Scenario :
We are using SFTP as the source adapter .Presently we are using two nodes for load balancing for all the sender channels.
One of the node's of the SFTP channel is picking the file , while the other node at the same time is throwing a "File not found error".
The file is being picked and is placed at the target, but the channels are in error state as one of the nodes is in error state.
Please let me know, if we did any mistake while configuring the adapter.
Thanks,
YamunanHi,
Could you please check if you have provided right path in your sender communication channel...to pick the file from...
Regards,
Naveen. -
Trading partner agreement not found
Hi,
Can anyone help me resolving the below error:
Trading partner agreement not found for the given input values: From party[TYPE-VALUE] "Generic Identifier-10.22.110.110", To party[TYPE-VALUE] "Generic Identifier-*.*.*.*", Business action name "PRC_EDI_X12_850_4010"; also verify agreement effectiveToDate
I am trying to submit an EDI 850 document to the b2b/transportServlet through a client program. The business protocol I am using is EDI X12 over Generic Exchange (HTTP 1.1).
Thanks.Hi,
Thanks when I put the actual IP addresses it worked. Now I have few questions, it would be great help if you could answer them.
1. The machine where B2B Integration is installed has been assigned with multiple IP addresses. Only the first two set of numbers are same and the last two numbers are different. For example : 10.90.12.80, 10.90.18.22. Therefore for the host partner if I need to assign the Generic Identifier which IP do I need to choose? Also which IP I should be using for the Transport Server?
2. I want to accept all the cXML ORDER messages sent by all trading partners(TP) to resolve one TP in B2B Integration. We are going to lookup the TP in our BPEL process, so we only need the B2B integration to validate the document sent in . Therefore all the four subnets in the IP address may vary. In this case I cannot use a IP address therefore how can I specify the Generic Identifier? Or is there any different method I can use?
3. I receive my cXML punchout from my trading partners from different countries, for example say Italy and France. The trading partner id is same but the country from where the punchout originated is different. I don’t have any other field in the message to determine which country the order originated from but I need to figure out the country code some how. In current implementation we have different URL for each country to resolve the country code. How can I do this in B2B Integration tool?
4. Is there a way to Dynamically change the URL that a Delivery channel is supposed to send to? If a customer changes the URL that a document is supposed to go to, can we change this on the fly? -
Hi,
I am using SJSMS 6.2 and am having some troubles with mail.
I have a few feedback forms on my website that send data to a specified email address, say [email protected] In SJSMS 6.2, I have the [email protected] auto forward any emails to about 3 other accounts in other domain (eg: [email protected], [email protected] & [email protected]). I am getting the following errors come back from the other domain:
Recipient address: [email protected]
Reason: Remote SMTP server has rejected address
Diagnostic code: smtp;554 <[email protected]>: Sender address rejected: Domain not found
Remote system: dns;maila.otherdomain.com.au (maila.otherdomain.com.au Other SMTP Gateway)
Basically it looks like it is sending out the full name of my machine ie: @hydrows.mydomain.com.au when it should just be @mydomain.com.au
Obviously my machine is hydrows.
I am using some standard perl scripts to send the mail and they use the "/usr/lib/sendmail -t -n"
bash-3.00# ./imsimta version
Sun Java(tm) System Messaging Server 6.2 (built Dec 2 2004)
libimta.so 6.2 (built 00:34:23, Dec 2 2004)
SunOS hydrows 5.10 Generic_118822-18 sun4u sparc SUNW,Sun-Fire-V250
I remember in the "old" iPlanet 4 Messgaing Server, the sendmail program was replaced with an iPlanet version and everything seemed to work ok. After reading through the Admin Manual, I followed the steps as detailed in the "Handling sendmail Clients" section (Solaris 9 and above, as I am using Solaris 10).
In there is says to change in the submit.mc file:
FEATURE ('msp')dn
to
FEATURE ('msp', 'hydrows.mydomain.com.au')dnl
My original file actually had FEATURE ('msp', '[127.0.0.0]')dnl or something similar there already. After trying both hydrows.mydomain.com.au and just mydomain.com.au, compiling and then trying to email I still get the same errors.
Any ideas?
thanks,
RobWell, um,
what that other site is doing is counter to RFC. but they do it anyway.
First, Messaging 6 keeps the original sendmail. we now coexist with it.
Things to check:
1. can you send mail to that site with a regular client, through your Messaging Server? If you can, it's something you're doing with Sendmail.
If you can't, then um, . . .
possibly, your ehlo announcement includes your machine name. Likely, in fact, as that's normal.
If you need to "hide" that, in your imta.cnf file, down in the channel block area, locate your tcp_local config line.
On the second line, the one starting with
tcp_daemon
add a space, then "otherdomain.com.au", like this:
tcp_daemon otherdomain.com.au
that'll change the ehlo announcement.
Oh, yes.
imsimta cnbuild
imsimta reload -
B2B-50547 Agreement not found for trading partners
I am attempting to try out using a File listening channel. I have set up the channel with the file name format %TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%_%MSG_TYPE%_%MSG_ID% as shown in the Technical Note: 11g_002 File/ FTP capabilities. The folder is named as the from TP.
I place the message into the From TP directory defined in the listening channel. The file is processed but I get B2B-50547 Agreement not found for trading partners: FromTP ABC, ToTP XYZ with document type PAYMUL-D96A-INBOUND. If I don't have the file name format set for the listening channel the message is just treated as a wire message.
The file name processed is XYZ_PAYMUL_D96A_1_MB12.xml
The Document set up is
EDI_EDIFACT
D96A -- Document Protocol Version
PAYMUL-- Document Type
PAYMUL - Document Definition
Both ABC and XYZ have PAYMUL set up as a document. There is an agreement against partner XYZ using the PAYMUL definition which has been validated and deployed.
The xml file matches the xsd created from the ecs.
Diagnostics is on and shows:
fromTP : ABC
toTP : XYZ
DocumentProtocol : EDI_EDIFACT
DocumentProtocolVersion : D96A
DocumentType : PAYMUL
Agreement : XYZ001
MessageSize : 91688.0
MessageState : ERROR
FromEndpoint : null
FromEndpointProtocol : null
FromEndpointStatus : CONNECTED
ToEndpoint : file://localhost/D:\XYZEDI
ToEndpointProtocol : File
ToEndpointStatus : CONNECTED
Application : null
Application : null
Composite : null
CompositeVersion : null
Service/Reference : null
the exception is shown in diagnostics as:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>AC18139E137F05EE715000006438C1AF</correlationId>
<b2bMessageId>MB12</b2bMessageId>
<errorCode>B2B-50014</errorCode>
<errorText>
<![CDATA[General Error
]]>
</errorText>
<errorDescription>
<![CDATA[Machine Info: (mbaguley-uk)
Description: General Error
]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
<errorDetails>
<parameter name="b2b.messageId" value="MB12"/>
<parameter name="b2b.documentTypeName" value="PAYMUL"/>
<parameter name="b2b.documentProtocolVersion" value="D96A"/>
<parameter name="b2b.documentDefinitionName" value="PAYMUL"/>
<parameter name="b2b.documentProtocolName" value="EDI_EDIFACT"/>
<parameter name="b2b.messageType" value="1"/>
<parameter name="b2b.fromTradingPartnerId" value="ABC"/>
<parameter name="b2b.fromTradingPartnerIdType" value="Name"/>
<parameter name="b2b.toTradingPartnerId" value="XYZ"/>
<parameter name="b2b.toTradingPartnerIdType" value="Name"/>
</errorDetails>
</Exception>
I must be missing a simple point or set up here so would appreciate any guidance.
ThanksBoth ABC and XYZ have PAYMUL set up as a document. There is an agreement against partner XYZ using the PAYMUL definition which has been validated and deployed.I think you have created an outbound agreement (ABC sending message to XYZ). If that is the case then go to Channel Attributes of your File listening channel and select the Internal checkbox. save the configuration of channel and run a test again.
Regards,
Anuj
Maybe you are looking for
-
Photoshop Crashes when I try to print
Tried updating the whole CS6 suite, also uninstalled and reinstalled printer, and print drivers. Using Win 7 64 Crash log Version=1 EventType=APPCRASH EventTime=130099235437674630 ReportType=2 Consent=1 UploadTime=130099235438504713 ReportIdentifier=
-
My computer was running fine untill I got an ipod+itunes. When I have the ipod(video) hooked up via USB and i try and play music off of the ipod through the powerbook it will eventually just stop. It seems to be random if it happens on the 1st song o
-
Call PL/SQL stored function in javascript
HI All i have a stored function similar to this: CREATE OR REPLACE FUNCTION GET_FULL_NAME(V_USER_NAME IN VARCHAR2) RETURN VARCHAR2 AS V_FULL_NAME USERS.FULL_NAME%TYPE; BEGIN SELECT FULL_NAME INTO V_FULL_NAME FROM USERS WHE
-
Hello. We've set up numerous InfoPath Forms as tests for our agents to take to test their industry/company knowledge of our business. I use drop-down list box fields for each question but use option buttons in the form itself. We set 3 of the "Val
-
IWeb data not reinstalled from TimeMachine Backup
I recently upgraded my hardrive and I am not able to locate any web data created on iweb from my last TimeMachine Backup. I assumed. All of my work would migrate automatically with the migration assistant from the Time Machine backup. Since the iclou