cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP and SOAP behaviors!

Former Member
0 Kudos

Hi again guys

I have verified that HTTP and SOAP adapter have different behaviors!

With a sender HTTP adapter on XI and a HTTP client tool, I put a entire XML payload (like a string with entire xml tags) and when XI receive this message, the adapter automatically puts the tag content in a structure according to the XI XSD definition. I don’t need to do any convertion the adapter does it for me.

But with SOAP adapter I think things don’t run like this. In a sender SOAP the client sends a message according to the wsdl definition generated by XI with the same structure in XI XSD. If I send an entire XML file in a string (like HTTP client does) the XI gives an error, because he doesn’t expect an xml file in one field (as a string) but an xml file according to the structure in wsdl that he generates.

Why SOAP adapter can’t handle an xml file as HTTP does? For me it is easier to send an xml in a string!

Please anyone can provide me some clues on it.

Cheers,

Ricardo.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Hi Ricardo,

SOAP is a specific xml format:

http://www.w3schools.com/soap/default.asp

It is used for web services:

http://www.w3schools.com/webservices/default.asp

Besides: The HTTP client does not send an xml message as string. It creates an HTTP call according to the HTTP specification.

Regards

Stefan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ricardo,

I think your not very clear with SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

I hope if it helps,

Regards,

abhy

Note: pls reward the helpful.