on 05-05-2011 6:58 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark and Maciej,
The Inbpound payload we are reciving is of the kind:
sap-user=<UserID>&sap-password=<Pwd>&Param1=Sachi&submit=submit
As in HTML we ar using hidden parameters to given authentication details and submmit button to hit XI serrver.
Can you please help me to out how can I add prolog and epilog.
How can I change my payload to XML format.
Regards,
Sachi
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.