5 Replies Latest reply: Nov 28, 2012 6:51 AM by Anuj Dwivedi-Oracle RSS

    AS2 Custom DocumentDefinition with Xpath Identification Error

    Martien van den Akker
      Currently I'm busy with a B2B11g with a AS2 implementation. It's planned to go live tomorrow, but suddenly today incoming messages on the acceptance environment won't be recognized. I've defined several XML based document definitions, with identification expressions like: /*[local-name()="MINFONotificationEnvelope"].
      Now when I receive a message, then in the logs I see:

      [2012-11-26T17:57:59.750+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] EDIDocumentPlugin: identifyIncomingDocument: Not EDI or HL7
      [2012-11-26T17:57:59.750+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] EDIDocumentPlugin: identifyIncomingDocument: Not EDI or HL7. Return
      [2012-11-26T17:57:59.750+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] OagDocumentPlugin: identifyIncomingDocument: Enter
      [2012-11-26T17:57:59.769+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] OagDocumentPlugin: identifyIncomingDocument: Identification Based on Document
      [2012-11-26T17:57:59.772+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] OagDocumentPlugin: identifyIncomingDocument: Exit
      [2012-11-26T17:57:59.773+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] UccnetDocumentPlugin: identifyIncomingDocument: Enter
      [2012-11-26T17:57:59.773+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] UccnetDocumentPlugin: identifyIncomingDocument: Exiting, failed to id document
      [2012-11-26T17:57:59.774+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] CustomDocumentPlugin: identifyIncomingDocument: Enter
      [2012-11-26T17:57:59.774+01:00] [AdminServer] [TRACE] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] CustomDocumentPlugin: identifyIncomingDocument: Exiting, failed to identify the document as there is no xpath comfigured for any of the document
      [2012-11-26T17:57:59.775+01:00] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: [ACTIVE].ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 9c326e12b49334d0:-57e9224c:13b3d5cace3:-8000-000000000000212c,0] [APP: soa-infra] Error -: B2B-50083: Document protocol identification error.[[
      Error -: B2B-50083: Document protocol identification error.
      at oracle.tip.b2b.engine.Engine.identifyDocument(Engine.java:5062)
      at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2180)
      at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1660)
      at oracle.tip.b2b.transport.InterfaceListener.onMessage(InterfaceListener.java:328)
      at oracle.tip.b2b.transport.basic.TransportServlet.doPost(TransportServlet.java:709)


      What draws my attention is the message "Exiting, failed to identify the document as there is no xpath comfigured for any of the document"

      Now, we work with PS4 (11.1.1.5). On my local (VirtualBox Image) 11.1.1.5 installation, when I create a new document defnition, I got a poplist to toggle between XML or Flatfile. This changes the tabs below for the identification expression and values.
      But on our 11.1.1.5 installations of Cogas I got two different tabs for "XML" and "Flat" without the poplist. It turns out that on my local PS5 (11.1.1.6) VirtualBox image it is the same.
      So it looks to me that B2B11g does not see that I have XML-based documentTypes.

      Do you have an idea what goes wrong?

      Thanks in advance.

      Martien