on 12-29-2015 1:11 PM
Hi Expert,
I am working on a synchronous scenarion where the flow is like below:
ECC(Proxy)-->PI--->3rd party(database server)
The response is coming from 3rd party to ECC.
Now in response ,the third party is sending a field 'value 13:43 but ECC is getting 1:43.
The response xml payload coming from 3rd party is like below:
UNB+BGFB:3+ABCD:D+SCMS:H+151125:1343+7352688640000'UNH+1+ZWSJ'1+1099638:014559039:1359982257+20151130:, between 8am and 6pm'2+001:AS:239952430:1:P'UNT+4+1'UNZ+1+7352688640000'
The mapping in response step is like below:
1>Java mapping(Here parsing is occuring followed by UTF-8 encoding)
2>a graphical mapping (According to the mapping logic it i just taking the input field value in the format given 20151121061718 and output 2015:11:21 T 06:17:18Z)
In order to debug ,Now I am trying to execute the response XMl payload that is sent from the third party in the TEST tab but
getting below error:Content is not allowed in prolog.
Please find the attched screenshot below
Can anyone give me any idea how to find the root cause of the error
Hi Suparna,
try opening the response xml in hex editor and see if you have any invalid characters at the begging of the xml tag or somewhere in the payload.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suparna,
As u have mentioned it is database server I hope the response is in xml format only. if u r using ico u can find the response in message monitoring(hope stagging and logging is enabled) or else if u r using classical then u can see the response payload in sxmb_moni.
You can take the response payload and check in hex editor you can find a lots of hex editor online just google it!
Br,
Manoj
Hello Suparna,
Are you testing in the operation mapping.
Execute steps one by one.First execute Java mapping to see whether message is parsed properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ihave tried to test it in Operation mapping Test Tab and tried to check the first step i.e Java mapping Tab but there I am getting the below error:Content is not allowed to prolog.
I donot know in which format the third party is providing the response xml payoad
Can anyone suggest me how to run it?
Hi Suparna,
Can you please provide the entire xml or a sample xml which PI is receiving in response.
End to end testing is also giving such errors?
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.