cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP RECEIVER ADAPTER

Former Member
0 Kudos

Hi

I am working on HTTP to HTTP aynschrounous scenario,my sender and receiver is same PI system.

As per conventions

I have given this URL in path perfix of receiver http adapter,

http://pinnacle:8000/sap/xi/adapter_plain?namespace=http%3A//infosys.com/xi/projects/bp/n2&interface...

where the interface name(schema_mi_ib) i have given is the inbound interface to receiver service and the service name is receiver service name.

Please tell me if this convention is wrong as I m getting error as

or how should the url will be?

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>

<SAP:P1>500</SAP:P1>

<SAP:P2>Internal Server Error</SAP:P2>

<SAP:P3>Internal Server Error</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

kindly help me on this.

Thanks

Best Regards,

Harleen Kaur Chadha

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member537867
Active Contributor
0 Kudos

Hi Harleen,

I'm explaning by taking sample URL & try enter these in CChannel

If ur URL is

URL :

http://z305.natoil.com:5556/invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml

In this case the host would be:

Target Host: http://z305.natoil.com

Service Number: 5556

Path: /invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml

"HTTP Destination" should be set up in Transaction SM59 and then you can reference it in your adapter.

Try with the above procedure & if not go thru below one:

Error code 500 stands for Internal Server Error

This code is the default for an error condition when none of the other 5xx codes apply.

for more details on error code follow the link

http://www.web-cache.com/Writings/http-status-codes.html

you have to restart J2EE engine

steps to restart J2EE engine

1) run transaction SMICM

2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart

by this java engine will restart and will be up in 5-10 minutes and your problem will be solved

Have a look into SAP Notes – 804124, 807000

Regards,

Vinod.

Former Member
0 Kudos

Hi Vinod,

Thanks a lot.

I have one more question in my case I am receiving message on HTTP test client of of XI.

for the i need to get url from SXMB_ADM->Integration engine->integration engine configuration

is this the correct way?

and all the details like host name,service number and path perfix i will give in HTTP receiver communication channel

in path perfix do i need to enter query string also?

please help me on this

thanks

Best Regards,

Harleen Kaur Chadha

Former Member
0 Kudos

>>for the i need to get url from SXMB_ADM->Integration engine->integration engine

No,you dont,when you test the scenario via HTTP test client,URL is automatically generated based upon the parametrs you specify(like sender interface,namespace, party,service etc)

Once this URL is created,HTTP test client will be out of picture(not used in QA or Prd. at all).give this URL to the sender system and ask them to send the HTTP messages to that URL.

Thanx

Aamir

Former Member
0 Kudos

Hi Aamir,

Thnaks for your inputs but i m asking about receiver http communication channel.We have to configure in receiver http adapter,

please tell me if u have any information on this.

Best Regards,

Harleen Kaur Chadha

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Madhu,

thanks for your inputs.Can u please tell me how to ping receiver host?

Best Regards,

Harleen Kaur Chadha

Former Member
0 Kudos

chk the thread

Former Member
0 Kudos

Hi,

Check this blog..

Might help you..

Thanks,

vasanth.

Former Member
0 Kudos

I checked these linksbut they have not helped me much,

as per sap documents

we have to create path perfix as

http://<hostname:port>/<path>?<query-string>;

this should be the url but I dont know wht we should give in path if i give the url where i want the result still its not working

Please help me on this.

Former Member
0 Kudos

hi harleen

check the below thread with similar issue

regards

kummri