Skip to Content
author's profile photo
Former Member

HTTP to File Scenario using URL parameters.

Hi,

I am working on a HTTP to file scenario where POST method is hirring the XI server with authentication parameters.

CAD application is trying to hot our XI server using POST Method and the application does not have ability to send XML payload to XI server directly.

So we are simply receiving parameters in plain text in inbound payload.

I need to convert this payload to XML format and am tring to work this out using dynamic configuration.

But It is throwing parser error.

BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 73, 75, 62(:main:, row:1, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:770)

Here I have to use HTTP sender adapter.

Please suggest how can I acheive this.??

Regards,

Sachi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on May 05, 2011 at 07:18 AM

    Hello,

    So we are simply receiving parameters in plain text in inbound payload.

    Can you paste the whole payload here? It might be just a matter of adding the prolog and epilog.

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 05, 2011 at 07:47 AM

    Hi

    It looks like PI receive it in plain text, and problem occurs in mapping(pls check it in sxi_monitor). Problem with http adpapter is that it reside on ABAP stuck so You cannot write your own module to create payload. Please write more details whare problem occurs.

    Kind Regards

    Maciej

    Add comment
    10|10000 characters needed characters exceeded