Oracle b2b Decrypting S/MIME message failed {0}.

we are trying to receive a custom XML document via AS2 from our trading partner but getting decryption failure for inbound file. Out bound documents has no issue our trading partner has certificates in place which we imported and had
no problems for outbound. But our inbound decryption keeps failing even though all the setups are performed correctly.
below are the steps performed.
Our side
1. generated the csr for our middleware servers.
2. got the certificates from Third party company
3. imported the certificates to Key store ( both on our side and TP servers)
4. configured the b2b console with keystore information.
TP side.
1. imported our certificates into Key store
2. using our certificates in the AS2 channel for encryption.
Can some one please suggest.

Can you enable the b2b trace level to 32 and post the log message. That could help to figure the issue.
Ismail M.

Similar Messages

  • B2B Message Error - Decrypting S/MIME message failed

    Hi,
    Am getting following error when i receive the inbound message from trading partner
    I have set up the certificates on both sides.
    [2010-04-15T19:53:18.981-04:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@a8acf9] [userId: <anonymous>] [ecid: 0000IW2gpmo7MAYVLqBT8A1BlpVK00000E,0] [APP: soa-infra] [composite_name: StockXferRecSOA] [component_name: StockBPEL/StockXferReciptService] [component_instance_id: 310009] Error -: B2B-51093: Decrypting S/MIME message failed {0}.[[
    Error -: B2B-51093: Decrypting S/MIME message failed {0}.
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.decrypt(SmimeSecureMessaging.java:1024)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processEncryptedMimeBodyPart(MimePackaging.java:1107)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1173)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:793)
         at oracle.tip.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:726)
         at oracle.tip.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:632)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:1583)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1395)
         at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3216)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:2960)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2706)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:540)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:200)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    [2010-04-15T19:53:18.981-04:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@a8acf9] [userId: <anonymous>] [ecid: 0000IW2gpmo7MAYVLqBT8A1BlpVK00000E,0] [APP: soa-infra] [composite_name: StockXferRecSOA] [component_name: StockBPEL/StockXferReciptService] [component_instance_id: 310009] Error -: B2B-51093: Decrypting S/MIME message failed {0}.[[
         at oracle.tip.b2b.packaging.SmimeSecureMessaging.decrypt(SmimeSecureMessaging.java:1024)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processEncryptedMimeBodyPart(MimePackaging.java:1107)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processInputStreamOrStringMessage(MimePackaging.java:1173)
         at oracle.tip.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:793)
         at oracle.tip.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:726)
         at oracle.tip.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:632)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:1583)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1395)
         at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:3216)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:2960)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2706)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:540)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:200)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    [2010-04-15T19:53:18.981-04:00] [soa_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@a8acf9] [userId: <anonymous>] [ecid:
    Thanks,
    Arun Jadhav                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Arun,
    Problem is that B2B is not able to decrypt the incoming message. There could be two possible reasons behind this -
    1. Your TP is not encrypting the message from your client certificate's public key (you should provide your client cert's public key to your TP and ask them to use that for encrypting the messages)
    2. You have not set up the corresponding private key at your B2B (in Host TP configuration and in deliver channel configuration of host TP)
    Please paste the complete log here/mail it to my id.
    Remote trading partner should encrypt the message using your your client cert's public key and you should decrypt it using your private key.
    For this ask your trading partner to encrypt the message using your provided public cert and at your side select the same cert in the delivery channel of your host DC under encryption credential. Make sure that keystore is containing this cert's private key.
    Regards,
    Anuj

  • Error CodeB2B-51093 Decrypting S/MIME message failed

    Hi,
    We are not able to decrypt the messages received from partner
    B2B 11.1.1.4
    sending 820 over AS2
    Receiving over https://host:port/b2b/httpreceiver
    Keystore: configured and contains certs for the TP and for host TP.
    Error :Error CodeB2B-51093 Decrypting S/MIME message failed
    Also, i want to know when we are receiving the messges over https://host:port/b2b/httpreceiver how does B2B know which cert to use for decrypt

    Error CodeB2B-51093 Decrypting S/MIME message failed Make sure that your TP is encrypting the message using public key which you shared with him and you have configured corresponding private key in the keystore on B2B console. You may refer -
    http://anuj-dwivedi.blogspot.com/2011/04/implementing-message-security-in-oracle.html
    Regards,
    Anuj

  • IOS Fails to decrypt s/MIME message larger than 2Mb on Exchange account

    hello,
    Has any one encountered this following issue :
    iOS 5.0.1 iPhone 4
    I have configured an exchange email account, enabled sMIME (signing and encrypting) with the appropriate CERT etc, shared the signature with my Mac book.
    Then when I send a mail from Apple Mail to my exchange account encryption works for small messages (text only or small pictures).
    But when sending larger attachements (>2MB) the iPhone shows a smime.p7m attachement files, and does not open it.
    thanks in advance for any help !!

    What happens if you use a different mail service? G-mail, for example? I have a sneaking suspicion that the problem may lie in Exchange, though why it would deliver the original and not correctly encrypt the reply, I'm not sure.

  • Oracle B2B :(AIP-51505 : 5082: XEngine error - Guideline look-up failed)

    I am getting following error message on the remote host when I try to enque .
    In the error report (B2b Console)
    AIP-51505 : 5082: XEngine error - Guideline look-up failed
    I have already verified and re-verified the document properties/properties/revision on the Oracle B2B console.
    I think this error is related to
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = Webmd
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Enter
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit NodeGUID = {0BF5065C-F83C-441C-A8AA-C85CF4197931} position = 0
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Leave
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Enter
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:cloneSelector Return = oracle.tip.adapter.b2b.document.edi.ISelectorImpl@15fc672
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Enter
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = TransactionPurposeCode, val = [13]
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [null]
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Value doesn't match, doc parameter is null
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = TransactionID, val = [270]
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [270]
    2008.01.28 at 15:54:12:156: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = ec_DataNodeName, val = [Transaction]
    Would you know which config in Oracle B2B contain the TransactionPurposeCode ?
    Thanks for help

    Hello,
    Please let us know the Business protocol and also send the b2b.log in DEBUG mode to [email protected]
    Rgds,Ramesh

  • B2B-51924:  Message failed the security check

    Hi,
    I am trying to configure security in B2B.
    I did manage to supply a key store for my Host, which I presume is used for signing an outbound message.
    Is this correct?
    My trading partner is sending a signed message on which I get a "B2B-51924: Message failed the security check"
    Where am I supposed to configure the credentials of my trading partner?
    On the profile tab of my trading partner there is a section Key Store, but there are no fields to be filled...is that right?
    I am using SOA Suite 11.1.1.4.0
    Groeten,
    HJH

    Hi,
    You have to define keystore in host profile page , like below :
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/b2b_tps.htm#BABJDCAE
    then you can get the alias in security tab and You can enable the "Message Signed" and select the alias and algorithm in "Digital Signature"
    please refer to below for more information:
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/b2b_tps.htm#BABGHAIG
    http://blogs.oracle.com/oracleb2bgurus/2009/08/certificate_management_in_11g.html

  • Setting Message-ID email header from Oracle B2B backend in 11g

    Hi,
    Is it possible to set the Message-ID from the backend application via JMS header? Is there a JMS header exposed to set this message id in case of email transport? Will the email server able to honor this value that we set and send to Oracle B2B in 11g and send it as the email header (Message-ID)? Is this possible?
    The idea here is if my backend application can set this Message-ID value of the request message, then the response message which would be a reply to the initial message will have the value of the Message-ID in the property in-reply-to. Now if this in-reply-to is also exposed an a JMS header to the backend application, then i will be able to co-relate the request and the response messages.
    Please let me know at the earliest if this would be possible.
    Regards
    Kavitha

    Kavitha,
    Is it possible to set the Message-ID from the backend application via JMS header? Yes, please set the MSG_ID header (jca.jms.JMSProperty.MSG_ID). It will be used as Message-ID in Wire Message.
    , then i will be able to co-relate the request and the response messages.Generic Mail does not support correlation as of now. You may consider logging an enhancement request with support. If you are exchanging XML messages then you may consider using content based correlation at B2B.
    Regards,
    Anuj

  • How to send SOAP Message with Oracle B2B

    Hi everyone,
    I need your help to send out from Oracle B2B a SOAP message with attachment of any type of file (image, pdf, etc.). Possibly using a SOA composite application or another way, it doesn't matter. I already create an ebMS partnership with a custom document protocol and I already create a working SOA composite application to send only text message to my trading partner. I have tried this solution: http://anuj-dwivedi.blogspot.it/2011/04/ebms-attachment-handling-in-oracle-b2b.html but it doesn't work for my case... It is to be noticed that I don't give any schema to my component in the SOA application explained firstly, and I select opaque as schema.
    Thanks to all, regards
    Nello

    Hi Anuj and thanks for your help,
    I need to send an ebXML message, with SOAP, and I try to send it with a .war application written in jsp connecting to http://10.85.28.24:8001/b2b/transportServlet to send the SOAP message. The errors reported is:
    javax.xml.soap.SOAPException: Unable to receive message. Received a response from url: http://10.85.28.24:8001/b2b/transportServlet with HTTP status 200 and SOAP content-type: null.
    the code I write is the following (to evaluate the two "null" in the super constructor)
    <%!
    public class EBMSSender extends SOAPRunner
    private String cpaId;
    private String service;
    private String action;
    private String mess;
    private ArrayList<String> allegati=null;
    public EBMSSender(String cpaId, String service, String action, String mess, ArrayList<String> file)
    super("http://10.85.28.24:8001/b2b/transportServlet","null", "null");
    this.cpaId = cpaId;
    this.service = service;
    this.action = action;
    this.mess=mess;
    this.allegati=file;
    @Override
    protected void prepareRequest(SOAPMessage soapMessage, SOAPBody soapBody) throws SOAPException
    soapBody.addChildElement(SOAPUtility.createElement("CPAId", getNsPrefix(), getNsURI(),"agr3"));
    soapBody.addChildElement(SOAPUtility.createElement("service", getNsPrefix(), getNsURI(),"OracleService"));
    soapBody.addChildElement(SOAPUtility.createElement("action", getNsPrefix(), getNsURI(),"Oracletohermesb"));
    soapBody.addChildElement(SOAPUtility.createElement("serviceType", getNsPrefix(), getNsURI(),"OracleServiceType"));
    soapBody.addChildElement(SOAPUtility.createElement("convId", getNsPrefix(), getNsURI(), "convId"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyId", getNsPrefix(), getNsURI(), "Oracle"));
    soapBody.addChildElement(SOAPUtility.createElement("fromPartyType", getNsPrefix(), getNsURI(), "Name"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyId", getNsPrefix(), getNsURI(), "Hermes-b"));
    soapBody.addChildElement(SOAPUtility.createElement("toPartyType", getNsPrefix(), getNsURI(), "Name"));
    attach(soapMessage);
    protected void attach(SOAPMessage soapMessage)
    String h=mess;
    DataHandler dh;
    AttachmentPart ap = soapMessage.createAttachmentPart(h,"text/plain");
    soapMessage.addAttachmentPart(ap);
    if(allegati!=null)
    for(int i=0; i<allegati.size();i++)
    dh=new DataHandler(new FileDataSource(new File(allegati.get(i))));
    ap=soapMessage.createAttachmentPart(dh);
    ap.setContentType(new MimetypesFileTypeMap().getContentType(allegati.get(i)));
    ap.setContentLocation(allegati.get(i));
    soapMessage.addAttachmentPart(ap);
    @Override
    protected void processFault(SOAPFault soapFault) throws SOAPException{}
    @Override
    protected Object processResponse(SOAPMessage responseMessage,SOAPBody responseBody) throws SOAPException
    SOAPElement messageId = SOAPUtility.getChild(responseBody, "message_id", getNsURI());
    return null;
    %>
    The code works fine on the other trading partner side to send ebXML message to Oracle B2B. Apart from this solution (however,it would be my favorite), I find your blog and I try to implement your solution. It works: it sends files with only text payload to the other trading partner without any problem, but if I try to send for example an image in byte array written in a file .txt, the ebxml file received has the byte array with wrong characters. it may be that I have not provided the xsd schema? in case if I wanted to send an ebXML message with text and attachments, what xsd schema do I need to provide?
    or is there another way to implement a SOA composite application to send SOAP messages with attachments?
    Thank for your help!, regards
    Nello

  • Message Correlation for EDIFACT in Oracle B2B

    How do we setup message correlation in Oracle B2B for EDIFACT?

    Please post your question in the B2B forum for guicker resolutions. The link is provided below
    Integration - B2B

  • Sending ebms messages between Hermes 2.0 and Oracle B2B

    Hi everyone,
    I'm a italian student and for my master thesis I need to create a comunication between Hermes 2 and Oracle B2B. I just set the trading partnership and the agreement with a custom ebxml document protocol. To create the soa application for the comunication I follow this instruction: http://tomhofte.blogspot.it/2009/11/how-to-configure-ebxml-communication-in.html but when I deploy my application there is this message: "The web service invocation was successful. However, there was no response to the invocation from the server." and there are no errors. Does anyone know another way to develop this application or have some information about this application?
    Any kind of help is welcome, thanks.

    hi,
    I solved the problem! :) the message: : "The web service invocation was successful. However, there was no response to the invocation from the server." still remaiins, however I send a message to hermes B. My mistake is that I follow the second procedure, proposed by the blog I posted in the first message, to create the mediator in jdeveloper. The first procedure instead is correct.
    thanks Anuj Dwivedi, yuor post has been helpful!

  • B2B ebMS certificate expiry fix failing in MLR 8

    Hi Gurus,
    As mentioned in the metalink note 803466.1, that the ebms certificate expiry fix is given in MLR 8.
    I have applied MLR 8 and trying to send a signed message. I have followed the instructions given in the note.
    Steps followed were
    1) Make a backup of the Database and Application server.
    2) Apply the latest Patch. At the minimum, MLR8 (8233048).
    3) Add the following entry in the file <OracleHome>/opmn/conf/opmn.xml
    Under "<ias-component id="B2B" status="enabled">"
    <variable id="CLASSPATH"
    value="$ORACLE_HOME/ip/lib/osdt/osdt_xmlsec.jar" append="true"/>
    4) Add the following entry in the <OracleHome>/ip/config/tip.properties
    oracle.tip.adapter.b2b.ebms.OSDT=true
    5) Restart B2B and execute the scenario
    The messages fail with the below error in b2b.log.
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity:decryptAndVerify Exception Error -: AIP-51924: The message failed the security check
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity:decryptAndVerify Exception stack trace Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51931: There was an error while decrypting or verifying the message
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1105)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    When the property oracle.tip.adapter.b2b.ebms.OSDT=true is disabled in tip.property the signed messages do not error out.
    Is there anything else that needs to be done.
    Kindly help.
    Thanks in advance
    Regards,
    Cema.

    Hi Gurus,
    As mentioned in the metalink note 803466.1, that the ebms certificate expiry fix is given in MLR 8.
    I have applied MLR 8 and trying to send a signed message. I have followed the instructions given in the note.
    Steps followed were
    1) Make a backup of the Database and Application server.
    2) Apply the latest Patch. At the minimum, MLR8 (8233048).
    3) Add the following entry in the file <OracleHome>/opmn/conf/opmn.xml
    Under "<ias-component id="B2B" status="enabled">"
    <variable id="CLASSPATH"
    value="$ORACLE_HOME/ip/lib/osdt/osdt_xmlsec.jar" append="true"/>
    4) Add the following entry in the <OracleHome>/ip/config/tip.properties
    oracle.tip.adapter.b2b.ebms.OSDT=true
    5) Restart B2B and execute the scenario
    The messages fail with the below error in b2b.log.
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity:decryptAndVerify Exception Error -: AIP-51924: The message failed the security check
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity:decryptAndVerify Exception stack trace Error -: AIP-51924: The message failed the security check
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.verifyAttachmentSignature(EBMSOSDTSecurity.java:1408)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1071)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.05.09 at 10:23:23:303: Thread-10: B2B - (ERROR) Error -: AIP-51931: There was an error while decrypting or verifying the message
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSOSDTSecurity.decryptAndVerify(EBMSOSDTSecurity.java:1105)
         at oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin.decodeIncomingMessage(EBMSExchangePlugin.java:704)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1474)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2573)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2443)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2398)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    When the property oracle.tip.adapter.b2b.ebms.OSDT=true is disabled in tip.property the signed messages do not error out.
    Is there anything else that needs to be done.
    Kindly help.
    Thanks in advance
    Regards,
    Cema.

  • B2B - Error While sending the document to GXS from Oracle B2B server.

    When I am trying to send the document to GXS, getting the following error. This message is show in the window that pops up when you click on Reports->WireMessage->Details of the Message.
    I am trying to find what is causing the issue.
    State ERROR
    Error Code B2B-50079
    Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Here is the complete details from the Window.
    Id 812E875712EA19A8EEC000005EF51ED3
    Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
    Business Message 812E875712EA19A8E88000005EF51ED0
    Packed Message Packed Message
    Payload Payload
    Protocol Message Id 4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3
    Refer To Protocol Message Id
    Protocol Collaboration Id
    Protocol Transport Binding TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
    Message Digest Message Digest
    Digest Algorithm
    Transport Protocol HTTP
    Transport Protocol Version 1.1
    Url https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
    security
    Transport Headers TO=Trader_Joes content-type=application/HTTPstream,actionrequest Content-Transfer-Encoding=binary FROM=AcmeSystems MESSAGE-ID=4e45f5dff566a29f:-ce624b0:12ea1982d56:-7ff3 DATE=Thu, 10 Mar 2011 21:09:43 GMT Connection=close Content-Type=text/plain; charset=us-ascii
    certificates certificates
    State ERROR
    Error Code B2B-50079
    Error Description Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    Error Text Transport error: [IPT_HttpSendHttpResponseError] HTTP response error :sun.security.validator.ValidatorException: No trusted certificate found.
    exchangeRetryInterval
    exchangeRemainingRetry
    Message Size 0
    Here is the Setup We did sofar.
    1) Created the Document Definition.
         PositionalFlatFile-VDA-1998-4913v4-4913v4_Definition
    2) Created Trading Partner Profile
         Trader_Joes
    3) Added Document Definition to the TP as receiver.
    4) Configured a channel with Protocol "Generic HTTP-1.0". Is it showing only one entry, HTTP.
         Transport Protocol: Selected "HTTP" from the dropdown list.
         url: https://web.tradinggrid.gxs.com/invoke/gxs.https/receive
         username: xxxx
         password: xxxx
         Additional transport headers: content-type=application/HTTPstream,actionrequest=upload,receiverid=xxxxxxx,datatype=EDI,aprf=TEST,snrf=12345678
    NOTE: I don't see tabs for "Exchange Protocol Parameters" and "Security". It only shows "Transport Protocol Parameters" and "Channel Attributes" tabs.
    =====
    5) Created Agreement with the document defition that was created.
    6) Deployed the Agreement and it is showing "Active" state.
    7) Created a Keystore on the server using the following command.
    keytool -genkeypair -alias serverCert -keyalg RSA -keysize 1024 -validity 365 -dname "CN=soa.Acmesystems.com,OU=Support,O=Acmesystems,L=suntown,ST=MD,C=US" -keypass xxxxxxxxxx -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    8) Imported the certificate that we got from the GXS to the Key store using the following command.
    keytool -importcert -v -noprompt -trustcacerts -alias ws-tradinggrid -file ws-tradinggrid.cer -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    keytool -list -keystore AcmeIdentity.jks -storepass xxxxxxxxxx
    9) After that When I run my composite bpel program to send B2B message, I am getting the above error.
    Where is the issue?
    Any help is appreciated.
    Thank you
    Krishna

    We loaded the certificate chain into key store and that part is working now.
    We are getting now the following error. Any Idea?
    [2011-03-14T09:12:47.787-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@5fddbbc0] [userId: <anonymous>] [ecid: 0000Iup92C3CcpiF_7I7S61DUNHj000lw2,0] [APP: soa-infra] [composite_name: TestBusinessEventShipconfirmed] [component_name: TestBusinessEventMediator] [component_instance_id: E71EFFB04E5511E0BF70B592E6C64FAC] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000012] [composite_instance_id: 50004] MediatorServiceEngine received a request for operation = Read
    [2011-03-14T09:12:47.996-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.mediator.serviceEngine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@5fddbbc0] [userId: <anonymous>] [ecid: 0000Iup92C3CcpiF_7I7S61DUNHj000lw2,0] [APP: soa-infra] [composite_name: TestBusinessEventShipconfirmed] [component_name: TestBusinessEventMediator] [component_instance_id: E71EFFB04E5511E0BF70B592E6C64FAC] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000012] [composite_instance_id: 50004] MediatorServiceEngine returning after processing the request for operation = Read
    [2011-03-14T09:12:49.384-07:00] [soa_server1] [WARNING] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] [[
    Message Transmission Transport Exception
    Transport Error Code is OTA-HTTP-SEND-403
    StackTrace oracle.tip.b2b.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :403
    com.wm.app.tn.err.EXMLException: <EXMLException>
    <ErrorCode>0003.4089</ErrorCode>
    <Info>Could not get internal ID for partner (id=null, typeCode=null, typeDesc=ICS Mailbox ID).</Info>
    <OriginalException>
    <JavaClass>com.wm.app.b2b.server.ServiceException</JavaClass>
    <Message>"extID" is required.</Message>
    <StackTrace>com.wm.app.b2b.server.ServiceException: "extID" is required.
         at wm.tn.profileimpl.getInternalID(profileimpl.java:2577)
         at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:403)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:189)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
         at com.wm.lang.flow.FlowState.step(FlowState.java:441)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:406)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1040)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:189)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
         at com.wm.lang.flow.FlowState.step(FlowState.java:441)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:406)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1040)
         at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:631)
         at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:40)
         at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
         at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:241)
         at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
         at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:228)
         at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
         at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:628)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:536)
         at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:119)
         at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:141)
         at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:110)
         at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:185)
         at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:333)
         at com.wm.util.pool.PooledThread.run(PooledThread.java:118)
         at java.lang.Thread.run(Thread.java:595)
    </StackTrace>
    </OriginalException>
    <Action></Action>
    <Level></Level>
    </EXMLException>.
         at oracle.tip.b2b.transport.TransportException.create(TransportException.java:94)
         at oracle.tip.b2b.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:683)
         at oracle.tip.b2b.transport.basic.HTTPSender.send(HTTPSender.java:498)
         at oracle.tip.b2b.transport.b2b.B2BTransport.send(B2BTransport.java:317)
         at oracle.tip.b2b.transport.TransportInterface.send(TransportInterface.java:1492)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1551)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    [2011-03-14T09:12:49.390-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] Request: outgoingRequestPostColab: Request Message Transmission failed
    [2011-03-14T09:12:49.431-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c0ad9a3] [userId: <anonymous>] [ecid: 0000Iup92ObCcpiF_7I7S61DUNHj000lw3,0] [APP: soa-infra] [dcid: 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ffd-0000000000000021] Engine: processOutgoingMessageImpl: Message id = 4e45f5dff566a29f:7f62e8ac:12ea26f8103:-7ff0 ToParty = Trader_Joes Doctype = 4913v4 version = VDA-1998

  • Unable to transform EDI document to XML payload in Oracle B2B inbound op

    Hi,
    In our current project we would be implementing Oracle B2B.So I am doing simple POC on Oracle B2B inbound operation for a EDI document for a project requirement.Facing issue if Transformation option selected in Oracle B2B console. Would really appreciate if you guys give me some pointer..
    Below is short desacription of POC:
    1) Created ECS file for Purchase Order(EDI_X12 Standard, 850, Version : 4010) in Spec Builder 6.6.0
    2) Created corresponding XSD and dummy test EDI data file(.dat) in Spec Builder 6.6.0
    3) In Oracle B2B Console, created Document Type and Document Definition
    4) Created 2 Trading Partners : Our Organisation(Host) and MyPartner(Remote)
    5) My Partner is Sender and Our Organisation is Receiver
    6) Linked Document Type to both Trading Partners
    7) Created a Listening Channel
    8) Protocol of Listening Channel is Generic File
    9) Mentioned Folder Path and File Type : %From PARTY%_%TO PARTY%_%DOCUMENT TYPE NAME_%DOCUMENT REVISION%.dat
    10) Agrrement validated and deployed
    11)Checked option Transformation for Agreement
    12) In SOA Composite created a simple Asynchronous BPEL process
    13) BPEL process using a B2B Adapter is subscribed to Document Type(Purchase Order) operatioon Receive and Mode Default
    14) Using a simple Assiign activity to map payload
    15) BPEL then inoke a File Adapter service to write sme XML payload(picked from B2B fatre EDI transformed to XML) to a file
    Issue Faced:
    1) B2B could make oput Sender and Receiver Trading Partners
    2) B2B could make out the Agrrement
    3) B2B is picking up EDI file
    4) If Agreemnet has Transformation option selected, then B2B is givinng below Error:
    [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILzvC2E0Va_xLp2iW1EzqZ_0000pg,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc
    at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
    5) It is unable to transfer EDI payload to XML
    6) Checked payload in Wire Message : still showing EDI payload
    7) Due to this BPEL is facing issue since it is expecting XML payload
    8) In BPEL it is givimng Error: Index Out Of bound.. I guess may be due to EDI payload
    9) If transformation option unchecked in Agreement in B2B console then B2B working good but BPEl failing
    Options Tried:
    1) I Exported Repository,then purged design time data and Reimported and restarted Server and tested..not working
    2) I also created a Parser Scehma for Blank EDI document(that option I found in Spec Builder 6.6.0==>New Document-->Parser Schema(Blank EDI Document) and then placed that Parser Schema file(ECS file) in folder :
    C:\Oracle\Middleware\Weblogic\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\config\schema
    and added an entry in XERegistry.xml
    <Item Name="SchemaFile">${XERoot}/config/schema/Spec2</Item>
    but not working..
    3) Checked namespace in XSd and WSDl for BPEL,they are correct
    Getting no clue how to resolve..Need help...
    Thank you...

    Log File :(Weblogic JDK pointing to 32 bit)
    [2012-01-01T01:32:01.818+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;[[
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
    java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2348)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.834+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0[[
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2746)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.846+05:30]
    ]]

  • Oracle B2B Data not getting encrypted

    Hi,
    We have to demo S/MIME encryption using Oracle B2B as part of our POC for SFTP on EDI Generic protocol.
    We are facing issues with it.
    The configuration used for S/MIME encryption on B2B is as follows:
    Protocol:EDI EDIFACT over Generic Exchange
    Message types:EDIFACT
    Transport:sFTP
    Is Non-Repudiation of Receipt Required: True
    Is Non-Repudiation of Origin Required: True
    Encryption Enabled: True
    We have tried various variations of this theme.
    Presently for generating the certificates I have set up a local Oracle Certificate Authority on my desktop. The certificates are then exported and imported into a wallet on the server.
    When data is sent out from Host B2B system, I find that the data is in simple plain text format it has not been encrypted.
    On checking the log files I cannot find any error, however it tells the below:
    ***** REQUEST MESSAGE *****
    Exchange Protocol: Generic Version 1.0
    Transport Protocol: SFTP
    Unique Message ID: Host_2008Feb05_14_24_55_075.dat
    Trading Partner: TPartner
    Message Signed: RSA
    Payload encrypted: 3DES
    Attachment: None
    ***** REQUEST MESSAGE *****
    I have changed the tip.properties file to look at correct wallet location.
    Is there any other extra configuration step which needs to be done?
    Any pointers would be of great help.
    Thanks,
    Gautham

    Encryption using S/MIME in generic exchange layer is seldom used.
    You might be running into a bug. Is there a reason to use generic exchange,
    Can the customer use AS2 - which provides S/MIME encryption.
    Please let us know.
    Rgds,Ramesh

  • Error faced in Oracle B2B

    i faced some problems with my Oracle B2B
    there are thousands of error messages
    this is most of the error occur
    -- error when receive document --
    Machine Info: (esupplier)
    Description: B2B adapter general error
    StackTrace:
    Error -: AIP-50031: B2B adapter general error: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1645)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2007)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1939)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1897)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:463)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:335)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1623)
         ... 6 more
    -- error when sending document --
    Machine Info: (esupplier)
    Description: General Error
    StackTrace:
    Error -: AIP-50014: General Error
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:944)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:119)
         at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:329)
         at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:204)
    please help me to tackle the problem.
    thanks
    kinwah

    my production server hit this problem again.
    2007.12.28 at 11:05:05:125: Thread-39: B2B - (ERROR) Error -: AIP-50014: General Error: Error -: AIP-50819: Failed to insert data into database table "B2B_EVENT": java.sql.SQLException: ORA-00001: unique constraint (B2B.SYS_C0013270) violated
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:944)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:119)
         at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:329)
         at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:204)
    Caused by: Error -: AIP-50819: Failed to insert data into database table "B2B_EVENT": java.sql.SQLException: ORA-00001: unique constraint (B2B.SYS_C0013270) violated
         at oracle.tip.adapter.b2b.data.DBTable.insertRow(DBTable.java:364)
         at oracle.tip.adapter.b2b.data.EventTable.insert(EventTable.java:59)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertEvtTblRow(DbAccess.java:1291)
         at oracle.tip.adapter.b2b.msgproc.Request.preTransmit(Request.java:1494)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1307)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:714)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:897)
         ... 3 more
    Caused by: java.sql.SQLException: ORA-00001: unique constraint (B2B.SYS_C0013270) violated
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:629)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
         at oracle.jdbc.driver.OraclePreparedStatement.sendBatch(OraclePreparedStatement.java:3207)
         at oracle.jdbc.driver.OraclePreparedStatement.alwaysOnClose(OraclePreparedStatement.java:9320)
         at oracle.jdbc.driver.OraclePreparedStatement.enterImplicitCache(OraclePreparedStatement.java:2660)
         at oracle.jdbc.driver.LRUStatementCache.addToImplicitCache(LRUStatementCache.java:291)
         at oracle.jdbc.driver.PhysicalConnection.cacheImplicitStatement(PhysicalConnection.java:4058)
         at oracle.jdbc.driver.OracleStatement.closeOrCache(OracleStatement.java:1372)
         at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:1338)
         at oracle.tip.adapter.b2b.data.DBTable.insertRow(DBTable.java:325)
         ... 9 more

Maybe you are looking for

  • Windows 2008 Server boot loop and unable to log on in Safe mode

    The Situation: I used msconfig to reboot Windows 2008 Server r2 into safe mode. On rebooting, boot progresses ok and the log in screen appears very quickly, then disappears and the machine reboots. I've tried typing the password very quickly and whet

  • Link between DMS DIR's and Storage Category

    Hello Experts, How can i link DMS Document type to Storage category? I have a requirement of storing different DIR document type in different storage category so can you please inform me in which transaction i need to assign Document types with conte

  • Fatal, unrecoverable error in FM and RH after spell-checking

    I have TCS 2.5. Last month, a few hours before our product release, I was spell-checking my RoboHelp HTML 8 project and had FrameMaker 9 open at the same time. Suddenly, Frame crashed with the dreaded internal error message, and I could not get it to

  • Ipod never keeps cover flow in correct format

    Basically, my cover flow never stays in the proper order. i will find artists that start with A at the end of cover flow. please help me.

  • The major difference between Oracle BC4J with WebSphere Business Components

    Hi BC4J/ADF experties: who could help to explian the difference betweenn IBM WebSphere Business Components(San Francisco) with Oracle BC4J(ADF) ? , the both product to emphasize Component-based developemnt but WebSphere Business Components have been