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.  Sending RN XML Manually to TN

    Posted Tue May 20, 2008 09:53 AM

    Hello to all :slight_smile:

    I’m trying to send a RNO which is generated manually to a TN with RN Adapter. (SAP BC 4.7)
    I get the Error:

    Error trapped in service wm.ip.rn:receive 
    [ESIPRT.000000.000020] Error: <EXMLException>
    <ErrorCode></ErrorCode>
    <Info>wm.tn.doc:recognize</Info>
    <OriginalException>
    <JavaClass>com.wm.app.tn.doc.BizDocTypeException</JavaClass>
    <Message>Couldnt recognize {0}
    (0) java.lang.NullPointerException: null
    (1) java.lang.NullPointerException: null
    </Message>
    <StackTrace>java.lang.NullPointerException: null

    I Send the Data with the Following Informations:

    • Content-Length
    • Content-Type = x-Rosettanet-Agent
    • Data (as Bytes)
    • URL
    • Method = post

    any Idea which Informations is Missing so that the TN / RN can work with it ?

    Thanks & Best Regards

    Michael


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


  • 2.  RE: Sending RN XML Manually to TN

    Posted Fri May 23, 2008 09:14 AM

    I guess the TN cannot recognize the document.


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


  • 3.  RE: Sending RN XML Manually to TN

    Posted Fri May 23, 2008 02:18 PM

    Hello Amit,

    Thx for your answer, thats what I thought to.

    Is there any way to send a Rosettanet File manually to the TN (for testings ?) When Using the TN Submit Page I get a Document in the TN with the Type application/x-wmidatabin.
    But as I know it should be application/x-rosettanet-agent.

    Best Regards

    Michael


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


  • 4.  RE: Sending RN XML Manually to TN

    Posted Fri May 23, 2008 07:39 PM

    Does the RNO has all the required headers (Preamble,Delivery,ServiceHeader), ServiceContent payload??

    If you are posting an RNIF2.0 document to RosettaNet 6.01 the Content-type should be

    Content-Type: multipart/related; type=“Application/x-RosettaNet”;

    Dont specify “-Agent”…give it a shot…

    Also check this thread RNO to TN:
    [URL=“https://advantage.webmethods.com/advantage?targChanId=kb_home&oid=1614096304”]https://advantage.webmethods.com/advantage?targChanId=kb_home&oid=1614096304[/URL]

    HTH,
    RMG


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


  • 5.  RE: Sending RN XML Manually to TN

    Posted Thu May 29, 2008 11:22 AM

    Hello rmg,

    Thx for your Post, got me thinking :slight_smile:

    I found my Error now, we’re using RNIF 1.1 atm but I used the 2.0 Documentation…

    So now with the right content type it works.

    Best Regards

    Michael


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