cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP ADAPTER SETUP

Former Member
0 Kudos

Hi friends,

What address should i give to partner so that partner can send me message on XI system.I m having Xi system and partner is having BC system. And if I am not wrong,I have to use Http adapter for receiving message..

help me in setting up http adapter.

Thanks,

Brij...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Hi Patrick,

I had gone through link provided by u, i have confusion in the address format..

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

here,what is <path>,

and also in query string, its written as

● Sender namespace ?namespace=<namespace>

● Sender interface &interface=<interface>

These details define the sender interface.

● Sender service &service=<service>

Specifies the sender service.

but in my scenario,i will be receiver,so the name space , interface and service should be my XI parameters?

Also it will be really very helpfull if you will provide me with example of this.

Thanks

Former Member
0 Kudos

Hi,

the path is:

/sap/xi/adapter_plain

> in my scenario,i will be receiver,so the name space , interface and service should be my XI parameters?

yes exactly.

Example:

/sap/xi/adapter_plain?namespace=<namespace of your interface>&interface=<your interface>...

This document should be helpful for testing your configuration:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca4...

Regards

Patrick

Answers (3)

Answers (3)

Former Member
0 Kudos

HI

As already given above

URL

http://<host(preferred is Fully qualified domain name)>:<port(HTTP)>/sap/xi/adapter_plain?namespace=<nameSpace>&interface=<MessageInterface(outbound)>&service=<SenderService>&QOS=<QOS>&sap-user=<sapuser>&sap-password=<password>&sap-client=<ClntNo>&sap-language=<Language>

User should be present with SU01 as a SAP PI user to post content to this URL of Sender CC.

Thanks

Gaurav

shivhare
Active Contributor
0 Kudos

Hi

HTTP Adapter config i think this will be helpful for you

Path prefix - /sap/xi/adapter_plain/?namespace=urn:sap-com:document:sap:idoc:messages&interface=CREMAS.CREMAS05&service=ER1CLNT900&qos=EO

Standard Path prefix -

/sap/xi/adapter_plain/ ?namespace=< your namespace> &interface=<IDoc_Type> &service=<Sender System> &qos=EO (or EOIO).

thanks

Amit

Former Member
0 Kudos

Hi,

In this http address, namespace and interface are mandatory fields,

I wan to knw, what should i give in namespace, is it the namespace i had created in IR for this scenario or some thing else, also what to give in interface, is it name of message type that i wan to import?

Former Member
0 Kudos

HI Brijesh

Check the URL i gave. Its self explantory. Its outbound interface name and namspace

Thanks

Gaurav

Former Member
0 Kudos

Hi Gaurav,

I got the idear of how the url should be, thanks.

but I wan to know about the name space that we are giving in that url, is that namespace the one that i had created in IR or it something else.? and in the interface,i have to give the name of message type that i wan to import, e.g. ORDERS.ORDERS05 , M I RIGHT??

Former Member
0 Kudos

HI

yes these are parameters for your outbound message interface. Message type is not required

With this your sender Busines service or system as Service in URL and you need to have a SAP user in PI to be used for the URL.

Try to execute in your browser without giving the user and password. it should ask for login. and after giving the required user it should say get status ok. This is the sign of correct URL and configuration

Thanks

Gaurav

Former Member
0 Kudos

Hi Gaurav, as said by you i am testing the url in browser , but its giving error,'Internet Explorer cannot display the webpage' .

I am giving this url,

http://212.*..*:50**/sap/xi/adapter_plain/?namespace=http://sahara.com&interface=INT_MAPORD&service=SAND_ECC_BS

Where 'http://sahara.com' is the name space i had created in IR.

'INT_MAPORD' is interface mapping created for the message type that i want to import.

'SAND_ECC_BS' is the service.

what should i check now...

Former Member
0 Kudos

Hi..

Use the Outbound interface name and not interface mapping name.

Thanks

Gaurav

Former Member
0 Kudos

Hi Gaurav,

I am not sure how to create outbound interface. I am new with XI and this is my first scenario, so it wll be gr8 if u jst gve me some info abt that, how configure it in IR.

Former Member
0 Kudos

HI Brajesh

Do the following.

!. Create DT for source and target

2. Create MT for the DT above

3. Create Message interface. for the source message create Outbound Sync or Async as per requirement and for target message create Inbound message interface type Sync or Async

Here if you expect a response then use Sync else Async

4. Create MM for the MT created above

5. Create IM for the Message Interfaces created above.

IR is complete

Go to ID

1. Create sender service (business system or service)

2. Create Receiver service

3. Create a Congi scenario.

you can use the config wizard also.

Create a Sender HTTP channel and receiver as per requirement

DO SA, RA, ID, RD

Now give the URL for the sender HTTP posting.

use the parameters for the outbound interface, namespace in the URL as discussed above

Thanks

Gaurav

nisarkhan_n
Active Contributor
0 Kudos

In order to receive the message from external partner by HTTP just use the direct link to below

http://<host>:<port>/sap/xi/adapter_plain?namespace=<nameSpace>&interface=<OutBoundMessageInterface>...;

add the necessary values in this...make sure the appluser which you are created are not locked.