WSDL: No element type is defined for message

I'm creating a service orchestration using Eclipse BPEL Designer plugin and i have a problem with the WSDL file that it generates automatically.

Here is the WSDL:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <definitions xmlns="" xmlns:plnk="" xmlns:soap="" xmlns:tns="http://ws.invocation.import" xmlns:vprop="" xmlns:wsdl="" name="ImportOrchestration" targetNamespace="http://ws.invocation.import">

   <plnk:partnerLinkType name="ImportType">
      <plnk:role name="ImportRole" portType="wsdl:ImportServicePortType"/>
   <import location="ImportModule.wsdl" namespace=""/>
   <schema xmlns="" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.invocation.import">

     <element name="ImportOrchestrationRequest" type="tns:ImportOrchestrationReqType">

   <element name="singleEntry">
                    <element minOccurs="0" name="name" nillable="true" type="string"/>
                    <element minOccurs="0" name="content" nillable="true" type="base64Binary"/>

              <element name="ImportOrchestrationResponse">
                    <element name="result" type="string"/>

        <complexType name="ImportOrchestrationReqType">
            <sequence minOccurs="1" maxOccurs="unbounded">
                <element name="file" type="tns:SingleFile"></element>

        <complexType name="SingleFile">
                <element name="name" type="string"></element>
                <element name="content" type="base64Binary"></element>

<message name="ImportOrchestrationRequestMessage">
    <part name="payload" type="tns:ImportOrchestrationReqType"/>
<message name="ImportOrchestrationResponseMessage">
    <part element="tns:ImportOrchestrationResponse" name="payload"/>

<!-- portType implemented by the ImportOrchestration BPEL process -->
<portType name="ImportOrchestration">
    <operation name="process">
        <input message="tns:ImportOrchestrationRequestMessage"/>
        <output message="tns:ImportOrchestrationResponseMessage"/>

<plnk:partnerLinkType name="ImportOrchestration">
    <plnk:role name="ImportOrchestrationProvider" portType="tns:ImportOrchestration"/>

<binding name="ImportOrchestrationBinding" type="tns:ImportOrchestration">
    <soap:binding style="document" transport=""/>
    <operation name="process">
        <soap:operation soapAction="http://ws.invocation.import/process"/>
            <soap:body use="literal"/>
            <soap:body use="literal"/>

<service name="ImportOrchestration">
    <port binding="tns:ImportOrchestrationBinding" name="ImportOrchestrationPort">
        <soap:address location="http://localhost:8080/ode/processes/ImportOrchestration"/>

Now, the problem is that Eclipse for Eclipse validator the WSDL is well formed. I'm using Apache ODE as a BPEL engine, who is based on Axis2. The problemi is that Axis engine give me an error when i try to deploy my BPEL proces, and it is:

"No element type is defined for message ImportOrchestrationRequestMessage"

Does someone can give me some advice to understand this error and how to correct it? thanks in advance :)


Can you try following <message name="ImportOrchestrationRequestMessage"> <part name="payload" element="tns:ImportOrchestrationRequest"/> </message>

The problem is your binding is document literal, in that case the message part should be configured by using "element" rather than the "type"


Need Your Help

How can you create an centered AJAX modal popup whose width is percentage based?

html css ajax

I'm using the following style, on an Ajax modal popup. The Width is set correctly, but it is aligned on the left side of the screen. If I set the width to a fixed number, eg 600px, it becomes cen...

Telerik RadWindow Javascript return values to ASP.NET javascript postback telerik return-value

I have a parent page that launches a telerik radwindow and passes it an argument.