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!

Why is element not complete?

rmuneneApr 6 2018 — edited Apr 6 2018

Hi,

Composite instance is failing with following error msg:

<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occurred when binding was invoked.

Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'writeReport' failed due to: Translation Error.

Translation Error.

Error while translating message to native format.

Please make sure that the payload for the outbound interaction conforms to the schema.

".

The invoked JCA adapter raised a resource exception.

Please examine the above error message carefully to determine a resolution.

</summary></part><part name="code"><code>null</code></part><part name="detail"><detail>Element not completed: 'report'</detail></part></bindingFault></bpelFault>

Invoke Activity audit trail

[2018/04/06 10:41:20]

Faulted while invoking operation "writeReport" on provider "esFTPWriteReport_Hyperion".

-<messages>
-<input>

-<fault>

-<bpelFault>
<faultType>
0
</faultType>
-<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
Exception occurred when binding was invoked. Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'writeReport' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
</summary>

</part>

-<part name="code">

<code>
null
</code>

</part>

-<part name="detail">

<detail>
Element not completed: 'report'
</detail>

</part>
</bindingFault>
</bpelFault>
</fault>

-<faultType>

<message>
0
</message>

</faultType>
</messages>

Below is xsd file

<?xml version = '1.0' encoding = 'UTF-8'?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" xmlns:tns="http://com.nationaltreasury.int/schemas/NT/v1.0/esFTPWriteReport_Hyperion" targetNamespace="http://com.nationaltreasury.int/schemas/NT/v1.0/esFTPWriteReport_Hyperion" elementFormDefault="qualified" attributeFormDefault="unqualified" nxsd:version="NXSD" nxsd:stream="chars" nxsd:encoding="US-ASCII" nxsd:hasHeader="true" nxsd:headerLines="1" nxsd:headerLinesTerminatedBy="${eol}">

  <xsd:element name="report">

    <xsd:complexType>

      <xsd:sequence>

        <xsd:element name="budgetCommitment" minOccurs="1" maxOccurs="unbounded">

          <xsd:complexType>

            <xsd:sequence>

              <xsd:element name="amount" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="projectCode" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="sofCode" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="voteID" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="projectDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="fiscalYear" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="budgetPhase" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="budgetType" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="voteDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="sofDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="ownershipType" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}"/>

            </xsd:sequence>

          </xsd:complexType>

        </xsd:element>

      </xsd:sequence>

    </xsd:complexType>

  </xsd:element>

  <xsd:annotation>

      <xsd:appinfo>NXSDSAMPLE=/F:/epromishyp.csv</xsd:appinfo>

      <xsd:appinfo>USEHEADER=true</xsd:appinfo>

   </xsd:annotation>

</xsd:schema>

  <xsd:element name="report">

    <xsd:complexType>

      <xsd:sequence>

        <xsd:element name="budgetCommitment" minOccurs="1" maxOccurs="unbounded">

          <xsd:complexType>

            <xsd:sequence>

              <xsd:element name="amount" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="projectCode" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="sofCode" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="voteID" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="projectDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="fiscalYear" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="budgetPhase" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="budgetType" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="voteDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="sofDescription" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy=","/>

              <xsd:element name="ownershipType" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}"/>

            </xsd:sequence>

          </xsd:complexType>

        </xsd:element>

      </xsd:sequence>

    </xsd:complexType>

  </xsd:element>

  <xsd:annotation>

      <xsd:appinfo>NXSDSAMPLE=/F:/epromishyp.csv</xsd:appinfo>

      <xsd:appinfo>USEHEADER=true</xsd:appinfo>

   </xsd:annotation>

</xsd:schema>

  1. What does it mean? --element is not complete
  2. How can I resolve this?

Note:

The application takes xml as input, converts to csv and writes to file.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 4 2018
Added on Apr 6 2018
5 comments
501 views