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
Expand all | Collapse all

Could not recognize the incoming payload with any xml doc type

  • 1.  Could not recognize the incoming payload with any xml doc type

    Posted Mon December 24, 2012 12:26 PM

    Hi All,

    When we receive the partner’s document by RosettaNet in wm82, the there is below error message from one partner:
    Cannot execute the asynchronous request Reason:com.wm.estd.rosettaNet.RosettaNetException: Could not recognize the incoming payload with any xml doc type. Please check the root node of the payload data and make sure there is a document type defined in the TN console for this root node.

    And other partner works fine, i checked the Payload, i just find one difference between the two partner, the right one has <?xml version="1.0" encoding="UTF-8" ?> at the begining the Payload, and the wrong one don’t have it.

    Do we have to have the <?xml version="1.0" encoding="UTF-8" ?> in the payload in the WM82?

    But it works fine in the WM6.5 eventhough we don’t have <?xml version="1.0" encoding="UTF-8" ?>

    Thanks.


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 2.  RE: Could not recognize the incoming payload with any xml doc type

    Posted Tue December 25, 2012 04:08 AM

    Does the RN document has the all RN Headers /multipart and in the payload I belive you need to have <?xml version="1.0" encoding="UTF-8" ?> for the TN recognition:

    So when this errors do you see the xmldata as content type?

    HTH,
    RNG


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 3.  RE: Could not recognize the incoming payload with any xml doc type

    Posted Tue December 25, 2012 04:25 AM

    Hi RNG,

    Thanks for your reply.

    We have below information.

    RosettaNet Object application/xml
    RNIF 20 Preamble application
    RNIF 20 Delivery Header application
    RNIF 20 Service Header application
    Payload application/xml
    Message Digest text/plain
    transportVersion text/plain

    When there is no <?xml version="1.0" encoding="UTF-8" ?> in the Payload, it works fine in wm65, now we are using wm82, it doesn’t work now.

    I am thinking is there any configuration for it?

    Thanks
    Caixia

    Thanks.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 4.  RE: Could not recognize the incoming payload with any xml doc type

    Posted Thu December 27, 2012 04:52 AM

    No surprise there are lot of things changed from 65 to 822…may be this is a minor issue …so better take up this with SAG support or google the Empower site KB.

    HTH,
    RMG


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods