on 10-09-2014 12:42 PM
Hi,
We are looking to consume a web service via PI which has a format as per the example below:
<Message>
<f1>INSERT</f1>
<f2><?xml version="1.0" encoding="ISO-8859-1"?><reports>xxxxxx</reports></f2>
<f3>AZ12</f3>
</message>
i.e.. the second field f2 contains an entire XML string.
My question - Is it possible, within PI, to get the XML out of f2 and have it mapped onto a relevant structure which can then be passed out to the Receiver?
Cheers,
PaulC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you've never tried XSLT mapping in combination with normal PI GUI mappings, it can be very handy in situations like these. You can put it before or after your other mappings by defining sequence inside the Operation Mapping.
Here is a nice online tool to help you get your syntax right before uploading the XSLT into PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.