on 2012 Feb 23 3:11 PM
Hello experts,
I am using PI 7.3
I have a senario SOAP to IDOC which SOAP is a sender adapter.
My Web Service receives attachment which includes MTOM, xop:include
I read the attachment in the message mapping by User-Defined function.
But I have another problem while message mapping.
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>Unexpected value <null> for node /ns0:TrainingAttachment/ns1:binary</SAP:P1>
in attachment part of the web service is following,
<urn1:attachment>
<urn1:binary>
<inc:Include href="cid:87732-65c0-665c" xmlns:inc"http://www.w3.org/2004/08/xop/include" />
</urn1:binary>
</urn1:attachment>
I think my message mapping doesnt resolve the binary part
I tried the Do Not Resolve XOP Includes checkbox, nothing changed
Thanx for your help
Hasan
Edited by: ordu_hasan on Feb 23, 2012 4:12 PM
Request clarification before answering.
Hi Hasan,
Please, try to implement next xslt mapping before message mapping.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:stylesheet version="1.0" xmlns:ns0="http://www.w3.org/1999/XSL/Transform" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:ns2="https://onlineservice.creditreform.de/webservice/0400-0005">
<ns0:template match="node() | @*">
<ns0:copy>
<ns0:apply-templates select="node() | @*"/>
</ns0:copy>
</ns0:template>
<ns0:template match="xop:Include"/>
</ns0:stylesheet>
Regards, Dzmitry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.