cancel
Showing results for 
Search instead for 
Did you mean: 

XI - external BC communication

Ulf
Explorer
0 Kudos

Hello all,

I want to setup a new scenario send IDOC XML (without any mapping) from ERP to an external partner using a business connector 4.6. I´m using XI 3.0 SP 19. My partner give me the follow comminication data.

URL: http://B2BTest.company.de:5555/invoke/company.Test/Ping

POST-data-parameter is : xmldata

What is the best adapter for this scenario and how configure the "xmldata"?

thanks for your help

Ulf

Accepted Solutions (0)

Answers (5)

Answers (5)

Ulf
Explorer
0 Kudos

The solution was in Forum message:

"XI HTTP Receiver posting a payload to a servlet"

put value "application/x-www-form-urlencoded" in Content-type

and "&xmldata=" in prolog

and "&end=yes" in epilog

Thanks for help

Ulf Janßen

Former Member
0 Kudos

Hi Ulf,

i think using web service definition (WSDL) will help you in this case

1) when XI sends data to BC

You can ask them to expose thier interface as Webservice, and provide you WSDL, you can import this WSDL into XI as external Definition and code your interface.

2) when BC sends data to XI

When Your customer is sending Data to XI,

Expose your interface as webservice. you can do this by generating WSDL using define webservice in TOOLS tab of ID and provide that to your customer where they will import the WSDL and code their interface.

Regards,

Sukarna Chirumamilla.

Ulf
Explorer
0 Kudos

HI Aashish,

let me explain more detailed.

I receive a IDOC (INVOIC02) from my ERP system with the XI IDOC adapter and want to send this IDOC (now in XI IDOC_XML) to my external customer. He´s using a business connector and give me the communication adress you see in my first post.

The question for me is witch XI adapter I should use to send this IDOC_XML to my partner with the POST parameter "xmldata".

In the same way the customer would like to send us another IDOC typ in XML format.

Thanks

Ulf

aashish_sinha
Active Contributor
0 Kudos

Hi Ulf,

As per as my understanding to your requirement that you want to post your Idoc_XML string to BC using XI Adapters on given link or using that link. For this purpose, you can use the Plain Http adapter. Using this adapter you can post the IDoc to to BC using XI.

URL contains something like https://abcXIbox.com......?data1='JOHN'

For this regard these links will help you.

Plain HTTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

Configuring the Sender Plain HTTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

Configuring the Receiver Plain HTTP Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

Also i guess you can send data something like this url

http://HOST:8008/sap/xi/adapter_plain?namespace=http%3A//abc.com/sales_oa&interface=MI_sales_OA&serv...

i am not sure in this.

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

aashish_sinha
Active Contributor
0 Kudos

Hi Ulf,

As per as my understanding, you want to send an IDoc file to your partner using XI-BC scenario.i.e. you Idoc will be picked by XI system and then you want to send it BC and then after some processing (IDoc XML) you want to post it to TN where you already defined the Trading partners and all the rules uding this url where you are supposed to post the XML DATA.

If this the case,

there is three ways :

1. Put your IDoc XML somewhere in the server where your file pooler will fetch that xmldata. For this use File Adapter in XI Side.

2. Use XI adapter or BC Adapter, if you directly wants to communicate with BC and send data to BC and define the routing rules in BC Administrators Screen.

3. this way is to use the http adapter to post idoc data to BC.

For more explore it and you will hopefully find many docs. Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Ulf,

Just import the idoc in IR and do the configuration just like SAP - XI - File scenario. Dont do anything in IR. For the file you name it as .xml and your idoc will be written as an idoc xml. This you can do with your XI.

Now let your your business connector picks this file and sends to the external customer without any mapping in Business connector. This is what I understood from my question. If this is yes then you have to rethink your design because I think SAP is not going to support the BC after few months.

Regards,

---Satish