Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Include XML payload as URL query string

Hello Gurus -

I have a business requirement that I'm hoping you all can help me with:

Scenario: Send XML message from SAP XI to a third party system via the Receiver Plain HTTP Adapter

I need to include the actual XML message as a query string in the target URL at the time of posting. The content of the XML message is determined within XI message mapping and will not be known until runtime, so the URL determination will need to be dynamic.

For example - a target URL with the "xmldata=" query string:

http://server01/receiver.asp?xmldata=<?xml version="1.0" encoding="UTF-8"?><headertag><tag1><value1></tag1></headertag>

Does anyone know how to do this - Is there some communication channel configuration and/or programming that would work?

Thanks to all!

Chad

Former Member
replied

Hi,

This is very similar to our scenario. By manipulating some of the Plain HTTP Adapter parameters, my colleague was able to post using xmldata. He set content type to text/plain then set the prolog to xmldata=. Let me know if this worked.

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question