Skip to Content
0
Former Member
Apr 29, 2009 at 07:27 AM

Mapping the whole XML body to single field

21 Views

Hello gurus,

I have an interesting requirement for my ECC - PI - SOAP scenario. The Web Service endpoint defined one generic message type on his side that receives any xml in any schema. We have more than 20 interfaces, and this web service will be receiving all of them in the same manner. Such as, if ECC is sending an XML like this:

the GenericInput attribute with the whole incoming XML document starting from root element. The receiver will choose which message type the XML belongs to by looking at the schema reference of the document, but I don't know how to add that either. This approach is an alternative to using different actions for different message types.

Please guide me on how to realize such a scenario, and if this kind of generic web service on receiver side makes sense or not.

Thanks

Gökhan

Edited by: S. Gökhan Topçu on Apr 29, 2009 9:32 AM