on 2022 Nov 25 9:44 AM
Dear Experts,
Third party is sending request in their own standard XML format by restfulAPI but here is conflict when it hits to the PI system format is not matching.Could you please suggest me how to create wrapper API which can accept third party format.
Basically as my knowledge in Sap PI we will create API and give to third party along with payload based on our XML payload they will configure in their system but here they want to send their own XML format is different with our PI XML format has prefix not matching.
Please find below third party XML format and PI generate format.
Issue is at prefix if they pass prefix at three location as bottom format in the pic then pi accept if prefix missing in XML format as top format in the pic then message not success in sap PI.Even I used XML anonymizer bean.
Thanks and Regards,
Dileep
If you create your service interface with interface pattern set as below
The xml will be accepted even if invalid or not matching your message definition. You can then use java mapping/xslt to get it in the format you require
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.