on 10-30-2015 9:11 AM
Hi experts,
I have a problem with an XSLT Mapping. I have multiple mapping steps, first two graphical mappings, then one XSLT mapping. Occurence of the Messages is 0..unbounded. The XSLT mapping fails with the following error:
Mapping "urn:namespace/operation_mapping" failed to execute: MappingException: Unexpected error while parsing the multi-structure document, NullPointerException: while trying to invoke the method javax.xml.stream.XMLEventWriter.add(javax.xml.stream.events.XMLEvent) of an object loaded from local variable 'writer'
I am aware of SAP notes 1809068 and 1723202 and I also read the other questions in SCN regarding this problem. The notes say that this is an error in XI Adapter Framework which is fixed by some patches. But: We have PI 7.31 SP15 with patch level 25 and this fixes should be included there:
And one more interesting thing: If I replace the code of my original XSLT with the following (very simple) one, the error does not occur:
This is the original XSLT (it basically reads an authToken from payload an places it in the SOAP:Header):
Any ideas how to fix this?
Thanks & regards,
Stefan
Hi,
do you have an input xml to test the transformation - maybe your xslt creates an invalid output (multiple root nodes for example)
br
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Stefan,
Try enabling "Enable SOAP XML toolkit" in operation mapping and check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.