IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  pub.estd.rosettaNet:processDocument

    Posted Thu February 16, 2017 02:15 AM

    Hello,
    We use pub.estd.rosettaNet:processDocument to process our internal rosettanet object.
    We think it will be recognize by TN for Document Type, and then will get partner information from TPA.
    And then it will start conversation whit partner.
    But I found the program is not response in ‘com.wm.estd.rosettaNet.RequestHandler.startConversation’
    Our environment is:
    IS:8.2
    WmRosettaNet:7.1
    I used Designer to import OneActionInitatorModel, and customized it and build&upload to IS server.
    I also set up Broker server in IS Admin–>Setting–>Messaging.
    I checked WmPRT, it is green light for broker.
    Now, I really didn’t know why it can’t trigger my process and look the conversation entity in TN Console.

    The log:
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service pub.estd.rosettaNet:pr
    ocessDocument.

    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service pub.estd.rosettaNet:pr
    ocessDocument
    2017-02-16 09:18:47 CST [ISC.0049.0005D] Invoke : index=1 depth=1
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service wm.estd.rosettaNet.tra
    nsportHandlers:processDocument.
    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service wm.estd.rosettaNet.tra
    nsportHandlers:processDocument
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:wm.estd
    .rosettaNet.transportHandlers.processDocument:99: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.extractPayloadFromInput:222: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:205: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:208: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.setFilePath:891: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.setFilePath:905: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:205: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:208: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.extractPayloadFromInput:239: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.processDocument:495: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.recognizePayload:997: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.createXmlNode:350: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.narrowDownToXmlNode:575: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToString:137: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToDocument:124: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:145: Entering the method
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service pub.xml:xmlNodeToDocum
    ent.
    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service pub.xml:xmlNodeToDocum
    ent
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:155: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToDocument:131: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertIsDocumentToString:56: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:145: Entering the method
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service pub.xml:documentToXMLS
    tring.
    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service pub.xml:documentToXMLS
    tring
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:155: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertIsDocumentToString:105: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToString:139: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToDocument:124: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:145: Entering the method
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service pub.xml:xmlNodeToDocum
    ent.
    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service pub.xml:xmlNodeToDocum
    ent
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:155: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNodeToDocument:131: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.narrowDownToXmlNode:740: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Payload.createXmlNode:352: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:145: Entering the method
    2017-02-16 09:18:47 CST [ISS.0015.0005D] Invoking service wm.tn.doc:recognize.
    2017-02-16 09:18:47 CST [ISS.0014.0016T] Invoking service wm.tn.doc:recognize
    2017-02-16 09:18:47 CST [TNS.0001.2030D] BizDocTypeReg: recognize and create sta
    rting
    2017-02-16 09:18:47 CST [TNS.0001.2023D] BizDocTypeReg: recognizing pipeline
    2017-02-16 09:18:47 CST [TNS.0001.2012D] BizDocTypeReg: pipeline will not be a w
    m.b2b.editn.EDIEnvelopeDocType
    2017-02-16 09:18:47 CST [TNS.0001.2012D] BizDocTypeReg: pipeline will not be a w
    m.EDIINT.doc.EDIINTMDNEnvelopeDocType
    2017-02-16 09:18:47 CST [TNS.0001.2012D] BizDocTypeReg: pipeline will not be a w
    m.b2b.editn.EDIGroupDocType
    2017-02-16 09:18:47 CST [TNS.0001.2005D] BizDocTypeReg: pipeline will be a com.w
    m.app.tn.doc.XMLDocType
    2017-02-16 09:18:47 CST [TNS.0001.2012D] BizDocTypeReg: pipeline will not be a w
    m.EDIINT.doc.EDIINTEnvelopeDocType
    2017-02-16 09:18:47 CST [TNS.0001.2012D] BizDocTypeReg: pipeline will not be a c
    om.wm.edi.EDIBizDocEnvelope
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a PROFVAL_extFields
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a PROFVAL_Profile
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a PROFVAL_stdFields
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a Exception (RNIF 1.1)
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a PIP2C8vR01.00 Bill Of
    Material Notification Action Seller Document
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a PIP2C8vR01.00 Bill Of
    Material Notification Action Forecast Owner Internal Document
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a AcceptanceAcknowledgem
    ent
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a ReceiptAcknowledgment
    (RNIF 2.0)
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a Exception (RNIF 2.0)
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a ReceiptAcknowledgement
    (RNIF 1.1)
    2017-02-16 09:18:47 CST [TNS.0001.2001D] New doc is a PIP2C8vR01.00 Bill Of Mate
    rial Notification Document
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a WmRNTestServiceDocumen
    t Test Service
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a AcceptanceAcknowledgem
    entException
    2017-02-16 09:18:47 CST [TNS.0001.2037D] New doc is not a ReceiptAcknowledgement
    Exception
    2017-02-16 09:18:47 CST [TNS.0001.2038T] XMLDocType PIP2C8vR01.00 Bill Of Materi
    al Notification Document: Creating document from IData
    2017-02-16 09:18:47 CST [TNS.0001.4004D] Got PID: 53u20800b5m1bpun0000000h for 6
    56041027000200(1)
    2017-02-16 09:18:47 CST [TNS.0001.2034T] Setting envelope attribute for PIP2C8vR
    01.00 Bill Of Material Notification Document: SenderID = 53u20800b5m1bpun0000000
    h
    2017-02-16 09:18:47 CST [TNS.0001.4004D] Got PID: 53u20800b6lgu6tb0000004q for 5
    39825666(1)
    2017-02-16 09:18:47 CST [TNS.0001.2034T] Setting envelope attribute for PIP2C8vR
    01.00 Bill Of Material Notification Document: ReceiverID = 53u20800b6lgu6tb00000
    04q
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.executeService:155: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.InstanceIdentifier.createConversationId:32: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.getRandomName:222: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.getRandomName:229: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.InstanceIdentifier.createConversationId:35: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.populateBizDoc:472: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.validateBizDoc:1492: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:205: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:216: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:205: Entering the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.Utils.convertNulls:216: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.validateBizDoc:1519: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.recognizePayload:1094: Exiting the method
    2017-02-16 09:18:47 CST [ISU.0000.9999T] Estd_1487207927816:com.wm.
    estd.rosettaNet.RequestHandler.startConversation
    :1475: Entering the method
    2017-02-16 09:18:47 CST [ISC.0049.0008D] Sequence : index=11 depth=6
    2017-02-16 09:18:47 CST [ISC.0049.0008D] Sequence : index=2 depth=5
    2017-02-16 09:18:47 CST [ISC.0049.0006D] Loop : index=7 depth=4


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 2.  RE: pub.estd.rosettaNet:processDocument

    Posted Fri February 17, 2017 12:41 PM

    Hi,

    Is this for RN setup you are trying to test here? Looks like tons of errors in your logs.

    Also have you verified all the TN items including rules and Broker triggers are enabled correctly part of sanity checks and WmPRT process models enable and execution side of aspects?

    Do you have any RN Module 7.1 fixes in your environment at the latest?

    HTHm
    RMG


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 3.  RE: pub.estd.rosettaNet:processDocument

    Posted Tue February 21, 2017 02:26 PM

    check if your process model is enabled in MWS.
    Do you see the TN entry for the document?
    if yes, it’s recognized properly, if not, check the doc type definition.
    Check the TPA, do you have a UNKNOWN to UNKNOWN TPA?
    try to create one, in case your sender/receiver profile doesn’t match, it will still trigger the process.,
    HTH,


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: pub.estd.rosettaNet:processDocument

    Posted Wed February 22, 2017 12:36 PM

    I echo the same with Tong

    Please check all the factors above and give it a shot!

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 5.  RE: pub.estd.rosettaNet:processDocument

    Posted Thu April 20, 2017 03:18 AM

    Thanks Tong.
    I checked your check list, everything are all done.
    But, the process didn’t be triggered.
    1.The process model is enabled in MWS.
    2.I don’t know if the below log is shown that TN can recognize the document is TN Document Type for our PIP.

    2017-04-20 11:51:11 CST [TNS.0001.2010T] Recognize: trying XML doctype ReceiptAc
    knowledgement (RNIF 1.1)
    2017-04-20 11:51:11 CST [TNS.0001.2037D] New doc is not a ReceiptAcknowledgement
    (RNIF 1.1)
    2017-04-20 11:51:11 CST [TNS.0001.2010T] Recognize: trying XML doctype PIP2C8vR0
    1.00 Bill Of Material Notification Action Seller Internal Document
    2017-04-20 11:51:11 CST [TNS.0001.2055T] Recognize: XML DOCTYPE PIP2C8vR01.00 Bi
    ll Of Material Notification Action Seller Internal Document == InternalPip2C8Bil
    lOfMaterialNotification
    2017-04-20 11:51:11 CST [TNS.0001.2001D] New doc is a PIP2C8vR01.00 Bill Of Mate
    rial Notification Action Seller Internal Document

    3.I have UNKNOWN to UNKNOWN TPA for this Document Type ‘PIP2C8vR01.00 Bill Of Mate
    rial Notification Action Seller Internal Document’
    I also build up my enterprise to partner TPA.
    processDocument also get partner information and show in log.

    2017-04-20 11:51:11 CST [TNS.0001.4004D] Got PID: 53u20800b5m1bpun0000000h for 6
    56041027(2)
    2017-04-20 11:51:11 CST [TNS.0001.2034T] Setting envelope attribute for PIP2C8vR
    01.00 Bill Of Material Notification Action Seller Internal Document: SenderID =
    53u20800b5m1bpun0000000h
    2017-04-20 11:51:11 CST [TNS.0001.4004D] Got PID: 53u20800b6lgu6tb0000004q for 5
    39825666(1)
    2017-04-20 11:51:11 CST [TNS.0001.2034T] Setting envelope attribute for PIP2C8vR
    01.00 Bill Of Material Notification Action Seller Internal Document: ReceiverID
    = 53u20800b6lgu6tb0000004q

    4.I checked the WmPRT page. There are all green lights, except Optimize.

    I did all similar steps in webMethods6.5, they work fine.
    But, change to webMethods8.2 with WmRosettaNet 7.1.1(with no fix), the process go to startConversation, and then the process is stop.

    I think that the server did not post the document type to Broker, because I didn’t find Broker receive anything on WMS.


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: pub.estd.rosettaNet:processDocument

    Posted Thu April 20, 2017 04:15 PM

    Do you find any more messages in the error/server logs other than TN logs and also check the service usage page also see if any thing is hanging there after it started conversation.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #edi
    #webMethods