Skip to Content
0
Former Member
Dec 11, 2009 at 07:24 PM

Send xml document through PI

34 Views

Hi,

we have an xml document in ERP which we want to send to an external provider using the Plain HTTP Adapter.

We are using a proxy to send this xml document in a String field to the integration server.

Then the integration server is to take this String a resend it as is to the external provider using the plain http adapter.

This however doesn't work because the message sent to the external provider is already an xml document.. so the message sent to the provider looks like this

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

<ns0:request_DT xmlns:ns0="um:ournamespace">

<data>

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

the xml document data

</data>

</ns0:request_DT>

Is there a way to just take the String that is send to the integration server and use it as is as the payload for the message sent to the provider.

Any ideas ?

Thanks.