The deployment of a composite error (Message part 'body' is not defined)

Hi all
I am trying to deploy a composite but I get the following error.

BuildFile: C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml

SCAC:
[scac] Validation of the composites 'C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml '.
[scac] /C:/JDeveloper/mywork/Sample/SampleDequeueBPEL/Outputftp.wsdl: error: part 'Message body' is not defined [element = EmpCollection
[scac] If option BPELC "classpath" C:\Oracle\MiddlewareJdev\jdeveloper\jdev\extensions\oracle.sca.modeler.jar; C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle. SOA.fabric_11.1.1\fabric-Runtime.jar; C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle. SOA.mgmt_11.1.1\soa-infra-Mgmt.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar; C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle. SOA.bpel_11.1.1\orabpel.jar; C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle. SOA.mediator_11.1.1\mediator_client.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle. ADF.model_11.1.1\adfbcsvc.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle. ADF.model_11.1.1\adfbcsvc-share.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\commonj.sdo_2.1.0.jar; C:\Oracle\MiddlewareJdev\modules\org. Eclipse.persistence_1.1.0.0_2 - 1.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar; C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle. Web - common_11.1.1.jar. C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes
[scac] C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.XML:21: error: SCAC-50012

BUILD FAILED
C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-SCA-compile.XML:272: Java returned: 1 check log file: C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log to find errors

Total time: 4 seconds

It is a Dequeue for FTP integration. Dequeue have a payload message type which is transformed into Ftp message type. Here is the wsdl file I get the error message
<wsdl:definitions
     name="Outputftp"
     targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
     xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
     xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
  <plt:partnerLinkType name="Put_plt" >
    <plt:role name="Put_role" >
      <plt:portType name="tns:Put_ptt" />
    </plt:role>
  </plt:partnerLinkType>
    <wsdl:types>
      <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
              xmlns="http://www.w3.org/2001/XMLSchema" >
        <include schemaLocation="xsd/FileFTP.xsd" />
      </schema>
    </wsdl:types>
    <wsdl:message name="Put_msg">
        <wsdl:part name="body" element="EmpCollection"/>
    </wsdl:message>
    <wsdl:portType name="Put_ptt">
        <wsdl:operation name="Put">
            <wsdl:input message="tns:Put_msg"/>
        </wsdl:operation>
    </wsdl:portType>
</wsdl:definitions>
FTP XSD:
<?xml version= '1.0' encoding= 'UTF-8' ?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="EmpCollection">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Emp" maxOccurs="unbounded" minOccurs="0">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element type="xs:string" name="name"/>
                            <xs:element type="xs:byte" name="id"/>
                            <xs:element type="xs:byte" name="dept"/>
                            <xs:element type="xs:string" name="address"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
Could someone help me on this. Thanks in advance.

Thank you
Gregory R

Try...


Also include the following in the xsd of ftp so...

targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"

See you soon,.
Vlad

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for

  • the option of missing e-mail from in safari

    the option of missing e-mail from in safari This just happened. It was available

  • Is it possible to restore any deleted history?

    I was on my computer this morning and I thought 'no not delete my story in a long time' so I went and deleted everything in the history. Right now, I just remembered I had something important in history, and I can't find the Web site. Anyway is to re

  • Facebook MESSENGER will not delete

    Never fully installed Messenger app, and now it will not erase.  I tried the way to remove applications.  Did not work.  I tried to restart the phone.  Did not work. I try now? Thank you!

  • Remote in history registry

    would like to know how to find who and when they loged in computer, would be of remote connection, like to know who or what computer did the newspaper

  • Outlook express: "password was rejected"!

    Here is the error message... There was a problem connecting to your e-mail server. Your password was rejected. Account: 'St. Bermea Account', server: 'mail.stbermeahangers.com', Protocol: POP3, server response: '-ERR failed authorization ', Port: 110