on 01-30-2020 12:07 PM
Hi people.
I have a problem on an async scenario PROXY-to-FILE (PO 7.5 single stack).
In payload from ECC I can receive XML illegal characters that I must remove before they cause mapping failure.
I realized a java mapping that works for first in the Operation Mapping.
Testing the scenario by the feature Testing > Send Test Message in Configuration and Monitoring all works fine.
Instead, running the proxy by ECC the flow fails with this error:
Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/nick4name/xi/javamapping/jmXmlCharsCleaning/JMStartup throws a stream transformation exception: [jmXmlCharsCleaning] org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2112; Character reference "&#
Pay attention that the process has correctly identified the Operation Mapping, see "com/nick4name/xi/javamapping/jmXmlCharsCleaning/JMStartup", and then my jm, but, probably, is failed before run it.
Seems that, the testing tool, starting from the ICO manually setted, jumps a last XML parsing that the runtime process instead executes.
Now the hard question. Is it possible to intervene on this behaviour or the only approch is by a module custom in the proxy channel?
Thanks a lot for your support.
Nicola
You might also want to look into https://launchpad.support.sap.com/#/notes/2318945
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your initial post was...
I have a problem on an async scenario PROXY-to-FILE (PO 7.5 single stack).
In payload from ECC I can receive XML illegal characters that I must remove before they cause mapping failure.
==> Why not eliminating the illegal characters in ECC (proxy runtime) already using the parameters in the given note?
If you absolutely must, you ought to tap into java mapping, as you already did because probably there would no way to fix a non well formed XML with XSLT or graphical mapping. You even might end up writing a custom module to fix things before PI mapping runtime.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.