cancel
Showing results for 
Search instead for 
Did you mean: 

Error while sending data using XI adapter

former_member190313
Active Participant
0 Kudos

HI All,

I am working on B2B scenario. I am sending data to another party using XI adapter. We have PI at both the parties.

While sending data I am getting error :

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--

 Call Adapter 
-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>XML element {http://schemas.xmlsoap.org/soap/envelope/}Header missing in SOAP message header (SAP XI Extension)</SAP:Stack>

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

</SAP:Error>

I have already checked the payload xml in browser as well and it is well formed.

The RFC destination I am using in XI rec adapter is HTTP destination : typw H. I tested the connection and it gives response message 200 "OK".

Please suggest

thanks ,

Sheetal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sheetal,

Whats the Message protocol u gave in the comm channel ( proxy recevier) ?? 

  XI 3.0 will work only on WebAs >= 6.40.

For WebAs < 6.40 use XI 2.0 as message protocol.

Regards,

Sagarika

former_member190313
Active Participant
0 Kudos

hi all,

My issue got resolved. Actually my header mapping was not correctly done.

Thanks nyways.

Sheetal

nabendu_sen
Active Contributor
0 Kudos

Hi Sheetal,

What I got from you description, you are performing B2B communication, that means the locations are out of your company network. Then why you are using XI adapter? This we use for Proxy communication. "You configure the XI adapter to exchange messages with an Integration Engine" which is not in your case. http://help.sap.com/saphelp_nw04/helpdata/en/e1/091640a991c742e10000000a1550b0/content.htm

Please try with using SOAP adapter if you are interacting with Web Services (I think that is in this case), for normal HTTP post use plain HTTP adapter.

The URL should be:

http://servername:8000/sap/xi/engine?service=<service name>&namespace=<namespace>&interface=<interface>&QOS=<BE for Sync>or<EO for Async>

former_member190313
Active Participant
0 Kudos

Hi ,

I do aggree.

However Other party also has PI server at there side.

So from oure end we are sending to message to their PI server and thus using XI adapter.

Regards,

Sheetal

Former Member
0 Kudos

Hi Sheetal,

Please check the below links.

http://scn.sap.com/thread/3198277

https://scn.sap.com/message/6196187

Thanks,

Satish.

former_member190313
Active Participant
0 Kudos

Hi Satish ,

 

I have checked both these blogs and also implemented them but getting same result . When I tried the other parties link from the internet explorer on our PI server i am getting same response i.e.

XML element {http://schemas.xmlsoap.org/soap/envelope/}Header missing in SOAP message header (SAP XI Extension)

Can this be a cause of our intranet proxy ? Is it possible that our proxy is stopping the message to go to there end?

Regards,

Sheetal