Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Handling attachments in SOA Suite 11g UMS Adapter

Valery RemizovSep 6 2016 — edited Sep 8 2016

Hello. I'm trying to get e-mail attachment and copy it to variable in Assign activity:

<assign name="CopyAttachment">

    <copy>

        <from>ora:getAttachmentContent('IncomingEMail', 'body', '/ns3:message/ns3:attachment/ns3:Attachment[1]' )</from>

        <to>$Stocks</to>

      </copy>

</assign>

but getting this error:
XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:getAttachmentContent('IncomingEMail', 'body', '/ns3:message/ns3:attachment/ns3:Attachment[1]' ). The XPath expression failed to execute; the reason was: . Check the detailed root cause described in the exception message text and verify that the XPath query is correct.

I've tried '/ns3:message/ns3:attachment[1]' too, but result was the same. Could someone tell me, how proper query should look like in this case? Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2016
Added on Sep 6 2016
17 comments
1,205 views