cancel
Showing results for 
Search instead for 
Did you mean: 

sender http plain adapter

Former Member
0 Kudos

Dear Team,

    I do have a scenario HTTP to IDOC.

HTTP input provider is saying that this is a plain HTTP Services.They are getting somerange of orders from one host and give us a HTTP URL.

If we need to accept that URL, it should have the following format i found in sdn.

  http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2...

But, they have not added any sender,namespace ,interface in their URl as query string.If i ask , them to add at the end of URL.They are not understanding why i am asking to add at the end ,also they are saying these additional parameters we will add ,but system will ignore like this.....

How do i explain this to vendor and get those interface details in their URL as query string?

Note: ANY PROGRAM TO BE WRITTEN IN THEIR SIDE.

Please clarify me.

Regards

Mani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Tell them the HTTP service will wont get called if query string is not passed...

Also if possible why cannot yourself provide the URL to them..and simply ask them to add in their application..

if url length is getting truncated ask them to increase the length..

HTH

Rajesh

Former Member
0 Kudos

Hi rajesh,

Thank you for ur feedback.I have provided the following URL from my side .

http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2...- with my PI server host and port details and interface details.(Littlebit confused about http host and port of PI server or clients host and port).Finally i decided this s PI details.I prepared and gave it to client to add it in their application .....

am i right?

I have to ask them to add this in their application and they have to provide their HTTP address URL ?

Please correct me if i m going wrong?

regards

mani

Former Member
0 Kudos

Hi,

if you are in PI 7.0 Version then http port is correct..else http port will be 5XXXX i.e from PI 7.1 onwards..this you can check in SMICM -> services -> HTTP port provide the same port in URL..

Also you need to provide them the user and password as well...

May be you can try testing the url before passing it to the other side for ensuring you have provided the correct url..

HTH

Rajesh

Former Member
0 Kudos

Hi,

if i ask them to add this URL in their application , they said we can just give whatever the data required like salesorders in XML that's it.They are not understanding me .

How do i more explain on this?

shall i ask them to add these details in their XML like tht.

Regards

Mani

former_member184876
Active Participant
0 Kudos

Hi Mani,

If the data has to be sent to HTTP Adapter of PI, it has to be sent to the URL

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

http://sap-ag.com:8088/sap/xi/adapter_plain?<query-string>

Query string will come based on your scenario. Query string parameters are required for PI to create a message from the HTTP request.

There are mandatory parameters in Query string like

Sender namespace ?namespace=<namespace>

Namespace of the sender interface.

Sender interface &interface=<interface>

Interface of the HTTP payload.

Sender service &service=<service>

You define the sender service to identify the sender.

The complete query string will look like

http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2...

Data sent from any HTTP client will be successfully posted in PI if it is sent to the above mentioned URL.

Please check http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm

Best Reagrds,

Venu Ravipati

Former Member
0 Kudos

Hi venu,

Thank u for ur reply.I can understand the step to be followed.

My doubt is the URL that u mentioned above will contain http://sap-sg.com:8088/sap/xi/adpter_plain? will be PI server host and port or it is going to be the link the customer is going to provide input for this scenario.

Hope u understand my question?

Regards

Mani

former_member184876
Active Participant
0 Kudos

Hi Mani,

It is the PI server hostname and port http://sap-sg.com:8088 followed by HTTP Adapter of PI server sap/xi/adpter_plain?  followed by the parameters.

When the customer want to post any information to PI via HTTP, They have to send the data to this target URL of PI.

http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2...

The Service, Interface and namespace has to be filled by us as per the scenario. After that this URL has to be given to HTTP client and ask them to post the data to this URL so that it reaches PI.

Reagrds,

Venu