cancel
Showing results for 
Search instead for 
Did you mean: 

Using RNIF Adapter

Former Member
0 Kudos

Hi all,

We are trying to test RNIF adapter by sending message from XI QA via RNIF adapter (Receiver) to XI DEV via RNIF adapter (Sender).

In sxmb_moni (QA) the message is ok, but in RWB (Adapter engine monitoring) the message appears with an error:

Transmitting the message to endpoint http://<host>:50000/MessagingSystem/receive/RNIFAdapter/RNIF using connection RNIFAdapter failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500..

In the default trace log file in J2EE the errors are:

Specified key- HTTP_RESPONSE_CODE -not configured

Specified key- CHANNEL_NAME_RESP -not configured

Specified key- SKIP_DOCTYPE -not configured

Specified key- PARTNER_PIP_PAYLOAD_ID -not configured

Specified key- ADAPTER_USAGE_CODE -not configured

Specified key- MSG_STANDARD_FREE_TEXT -not configured

Did anyone try similar scenario.

Can anyone help me configuring the communication channels (both Receiver and Sender).

Thanks,

Gigi & Amit

Message was edited by: gigi

More information.

I tried HTTP Client to send message to RNIF Adapter.

The Http Client was adopted to send message to RNIF Adapter.

http://<Host>:<Port>/MessagingSystem/receive/RNIFAdapter/RNIF

The message was built according to the Rosettanet specifications example

http://xml.coverpages.org/RNIF-Spec020000.pdf

The result of sending message to RNIF Adapter was:

com.sap.aii.af.ra.ms.api.DeliveryException: Error while getting the count of Body parts in the RNIF Business message (in MIME format): com.sap.aii.af.protocol.ispeak.exceptions.OperationalException: Error while getting the count of Body parts in the RNIF Business message (in MIME format)

What is the correct format of the Complete Unsigned Message-Packaging in Rosettanet implementation?

Thanks,

Gigi.

Gigi Feldman

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Please advise if u have resolved this issue if yes how?

Former Member
0 Kudos

Dear Gigi,

I am facing the same error as you, did you solve it?

Any advice or suggestion is appreciated!

Thanks and Regards,

Nick

Former Member
0 Kudos

Hi,

I'm running into the same issue. Were you able to resolve this?

Thanks

Karthik

Former Member
0 Kudos

Hi,

While creating Receiver Agreement what is the Receiver Interface Name and Interface Namespace did u given?

If your are working on PIP3A4 confirmation then you have to give as follows

Receiver Interface : PurchaseOrderConfirmationAction

NameSpace: http://sap.com/xi/RosettaNet/PIP3A4_V0203

Thanks & Regards,

Purushotham

Former Member
0 Kudos

Thanks for responding Purushothaman.

On the sending system, the receiver interface is defined as

Receiver Namespace - http://sap.com/xi/RosettaNet/PIP3B2_V0100

Receiver Interface name - AdvanceShipmentNotificationAction

I'm using my XIS sandbox system as the shipper and XID dev system as the receiver. X

For testing purposes,

1. I've set up XIS as File to RNIF scenario

2. I've set up XID as RNIF to file scenario.

XID is able to receive the messages from XIS, but XID is not able to post an ack back to XIS. It errors out with the HTTP 500 error. Ideally, XID should be able to post an ack (202) back to XIS and close the loop.

Any thoughts??

Thanks

Karthik

Former Member
0 Kudos

Hi Anish,

Thanks for the quick answer.

The issue is testing the scenario using RNIF adapter and not configuring it.

I'm trying to test it locally.

How did u test the scenario, and what is the structure of the message that u sent to the RNIF adapter.

The answers to these questions will help me very much. And if u can send me an XML file it will be much more helpful.

Regards,

Gigi

Former Member
0 Kudos

Hi Gigi,

I have used RNIF Self Test Kit to test the scenarios locally.

I have worked with PIP 3A4, PIP3C3 and PIP3A7 and other side was IDoc.

IDoc - XI - RNIF and vice versa.

There are some restrictions in the name of the message interface and RNIF action etc. Hope you have done those correct. All these are explained in the help document.

Hope this helps and let me know if you have more questions.

Regards,

Anish

ravi_raman2
Active Contributor
0 Kudos

you might also want to add the error codes as a part of the issue seems to be an error being thrown which is not being caught.if using java, you can try smthing like this...

try{

//action code here

}catch (Exception e){

if( e instanceof xyz exception){

System.out.println("Error 503 was thrown "+ e.getMessage().toString());

}

}

Former Member
0 Kudos

Hi Gigi,

http://help.sap.com/saphelp_nw04/helpdata/en/c5/3d794293bf9c60e10000000a1550b0/frameset.htm

This would guide you in configuring the RNIF adapters.

I have configured RNIF scenario but never came across this.

Regards,

Anish