Sending RN XML Manually to TN

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

I guess the TN cannot recognize the document.

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

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

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