cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP plain adapter

Former Member
0 Kudos

Hi guys, i am trying to connect to XI via a http plain (calling xi from a single URL). Anybody know how to do it or got any references? All i know is that i have to us a Receiver Http Plain Adapter which i still search how to configure that. Thank you for all comments and advice. All will be appreciated. Thank you very much.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi all, thank you for all the replies. However, i am experiencing strange things with my Http Plain Adapter, which are:

1. In the case sender comm channel, after i chose adapter type as a HTTP in the comm channel, the option button 'Sender' is not chooseable. Only 'Receiver' is available.

2. In the case receiver comm channel, there are no option called 'Adapter Specific-Message Attributes'.

Anyone can enlighten me please ? Thank you very much all....

Former Member
0 Kudos

Hi,

No need to configure Sender HTTP plain adapter, you have to use a Client HTTP adapter.

regards

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

No need for a sender HTTP adapter. Reason is your message is posted directly to the Integration Engine URL and so no need for an Adatpter. Same for IDOC adapters.

Receiver HTTP adapter again runs on the ABAP stack and that is why you do not have Adapter Specific Identifiers for the same.

Regards

Bhavesh

prabhu_s2
Active Contributor
0 Kudos

Only <i>receiver</i> option is enabled for a HTTP adapter. For sender HTTP no CC is required. You need to have a client application to trigger the interface.

Former Member
0 Kudos

from the client application, is it possible to trigger XI with a single URL (URL + parameters). So, no need of sending the body of a message? Is it possible?

prabhu_s2
Active Contributor
0 Kudos

Also refer to the link below:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8">HTTP Client Sample Code for Communicating with XI</a>

bhavesh_kantilal
Active Contributor
0 Kudos

> from the client application, is it possible to

> trigger XI with a single URL (URL + parameters). So,

> no need of sending the body of a message? Is it

> possible?

Not sure I follow this. Can you explain further?

Regards

Bhavesh

Former Member
0 Kudos

HI,

No. I think you need to send a message body, or else you will get a "empty message received" error.

Still you can hit the XI server with that URL alone.

Regards,

P.Venkat

Former Member
0 Kudos

In Wfetch, we are triggering XI via URL together with <namespace> , <quality of service>, <service>. However, the value that we want to pass to XI is embedded to the payload (body of message, am I correct? The question I am asking is whether we can trigger XI without have to post an XML message. In other word, like this:

/sap/xi/adapter_plain?namespace=<myXINamespace>&interface=<mymessageInterface>&<myadditionalparam1>service=<myXIService>&QOS=<myQOS>&param1=<myadditionalparam1>&param2=<myadditionalparam2>

So, can i pass my variable / parameters in the end of the QOS? (param1 and param2)

Former Member
0 Kudos

Hi,

>>i have to us a Receiver Http Plain Adapter which i still search how to configure that

Configuring the Receiver Plain HTTP Adapter - http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

regards

Former Member
0 Kudos

Hi,

For the receiver HTTP adapter you have to specify the following parameters:

a)Adapter Type

b)Transport Protocol

c)Message Protocol

d)Adapter Engine

e)Host

f)Listner Port

g)Method

h)URL

regards

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Do you want to use the Sender HTTP adapter to send messages to XI?

If yes, take a look at this thread for the HTTP Client code. Use it to understand the Query String to be used to post a HTTP request to XI,

/message/266750#266750 [original link is broken]

Regards

Bhavesh

Former Member
0 Kudos

Hi,

You have lot of links provided in the following threads.

I think it will be of great help.

Regards,

P.Venkat