cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using RNIF Adapter

Former Member
0 Likes
516

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

View Entire Topic
Former Member
0 Likes

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 Likes

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 Likes

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());

}

}