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!

reading XML file larger than 3Mb xpath error

IDWAug 7 2014 — edited Oct 23 2014

I'm reading XML files using a FtpAdapter and it works fine unless the size of the file is larger than 3Mb. At that point my BPEL interface fails when it finds the file as it cannot count the number of nodes.

Though when I look in the audit, I don't see the actual payload but the dockey value such as

<inputVariable>
<part  name="body">xmlDocKey:85FD4C201E3411E4BFD017B13E2455F9</part>

</inputVariable>


and of course the next statement where I read the number of records fails


<bpelFault>
<faultType>0</faultType>

<subLanguageExecutionFault>

<part  name="summary">
<summary>An error occurs while processing the XPath expression; the expression is count($inputVariable.body/ltr_rqst).</summary>

</part>

<part  name="detail">

<detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is count($inputVariable.body/ltr_rqst). The XPath expression failed to execute; the reason was: Cannot convert string to NodeSet.. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>

</part>

<part  name="code">

<code>XPath expression failed to execute</code>

</part>

</subLanguageExecutionFault>

</bpelFault>

I wouldn't think 3MB is large as I read that people can process much larger files.

Does anyone know what's going on as I can't find any solution.

Am thinking about a ChunkedRead but that doesn't work with FTP over SSL either, so what are other options?

Thanks,

Ivan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2014
Added on Aug 7 2014
7 comments
2,528 views