cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

soap attachment mapping problem, xop:include

Former Member
0 Likes
1,506

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

View Entire Topic
Former Member
0 Likes

Hello,

did you find solution?

Thanks

Former Member
0 Likes

Hello Kiryl,

The solution proposed by Dzmitry Skubilau worked like a charm

Only the small detail that the xslt file MUST use xsl as namespace. Run a find&replace on your favorite editor before uploading and everything will work fine.

BR,

David R.