Forum Discussion
Hi joe_sydney,
May be you could try to change this line:
<inc:Include href="cid:YourZipFile.zip" xmlns:inc="http://www.w3.org/2004/08/xop/include" />
To something like this:
<inc:Include href="cid:xxxxxxx.zip" xmlns:inc="http://www.w3.org/2004/08/xop/include" />
Where xxxxxxx is a unique identifier.
To specify the place for the attachment contents in message payload, use the cid:nnnn syntax.
nnnn is an arbitrary identifier that you use to indicate the message part for the attachment.
In the Part column, select the cid identifier that your request body specifies.
Hope this can help.
David.
Thanks David, but I don't see the logic in your answer.. unless it's specific to SOAPUI.
<inc:Include href="cid:xxxxxxx.zip" xmlns:inc="http://www.w3.org/2004/08/xop/include" />
The MTOM / XOP specifications does not say anything about xxxxx being a Unique Identifier (in the sense of UUID or GUID). It is just a string. So in my case I set xxxxxx= YourZipFile.zip , it could be any string really !
See here
https://docs.oracle.com/cd/E39820_01/doc.11121/gateway_docs/content/conversion_insert_mtom.html
where a URL was used,
or here
where an email was used.
- ZDGN5 years agoContributor
My bad joe_sydney, you're completely right.
Was just wondering if your file is correctly set in the Attachments part of the request as explained in the documentation:
Related Content
- 11 years ago
Recent Discussions
- 15 years ago