« Return to Thread: BPEL : impossible to find a receiver corresponding...

Re: Re: BPEL : impossible to find a receiver corresponding...

by Rudy Commenge :: Rate this Message:

Reply to Author | View in Thread

The jbi.xml of the SU for orchestra-se-component :

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

<!-- JBI descriptor for the PEtALS Orchestra component -->
<jbi:jbi version="1.0"
    xmlns:genNs="http://j2ee.netbeans.org/wsdl/forPetals"
    xmlns:jbi="http://java.sun.com/xml/ns/jbi"
    xmlns:orchestra="http://petals.ow2.org/components/orchestra/version-1.0"
    xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <jbi:services binding-component="false">
        <jbi:provides
            interface-name="genNs:forPetalsPortType"
            service-name="genNs:forPetalsService"
            endpoint-name="forPetalsPort">

            <!-- CDK specific elements -->
            <petalsCDK:wsdl>forPetals.wsdl</petalsCDK:wsdl>

            <!-- Component specific elements -->
            <orchestra:bpel>forPetals.bpel</orchestra:bpel>

        </jbi:provides>
    </jbi:services>
</jbi:jbi>

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

The jbi.xml of the SU for soap-bc-component :

<?xml version="1.0" encoding="UTF-8"?>
<!--
    JBI descriptor for the PEtALS' "petals-bc-soap" component (SOAP).
    Originally created for the version 3.2 of the component.
 -->
<jbi:jbi version="1.0"
    xmlns:generatedNs="http://j2ee.netbeans.org/wsdl/forPetals"
    xmlns:jbi="http://java.sun.com/xml/ns/jbi"
    xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
    xmlns:soap="http://petals.ow2.org/components/soap/version-3.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   
    <!-- Import a Service into PEtALS or Expose a PEtALS Service => use a BC. -->
    <jbi:services binding-component="true">
   
        <!-- Expose a PEtALS Service => consumes a Service. -->
        <jbi:consumes
            interface-name="generatedNs:forPetalsPortType"
            service-name="generatedNs:forPetalsService"
            endpoint-name="forPetalsPort">
   
            <!-- CDK specific elements -->
            <petalsCDK:mep xsi:nil="true" />
       
            <!-- Component specific elements -->   
            <soap:address>forPetalsWF</soap:address>
            <soap:remove-root>false</soap:remove-root>
            <soap:mode>SOAP</soap:mode>
            <soap:rest-add-namespace-prefix>soapbc</soap:rest-add-namespace-prefix>
        </jbi:consumes>
    </jbi:services>
</jbi:jbi>

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

The wsdl of my process :

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="forPetals" targetNamespace="http://j2ee.netbeans.org/wsdl/forPetals"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/forPetals" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types/>
    <message name="forPetalsOperationRequest">
        <part name="to" type="xsd:string"/>
        <part name="from" type="xsd:string"/>
        <part name="replyTo" type="xsd:string"/>
        <part name="subject" type="xsd:string"/>
        <part name="content" type="xsd:string"/>
        <part name="files" type="xsd:string"/>
    </message>
    <message name="forPetalsOperationResponse">
        <part name="ouputMsg" type="xsd:string"/>
    </message>
    <portType name="forPetalsPortType">
        <operation name="forPetalsOperation">
            <input name="input1" message="tns:forPetalsOperationRequest"/>
            <output name="output1" message="tns:forPetalsOperationResponse"/>
        </operation>
    </portType>
    <binding name="forPetalsBinding" type="tns:forPetalsPortType">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="forPetalsOperation">
            <soap:operation/>
            <input name="input1">
                <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/forPetals"/>
            </input>
            <output name="output1">
                <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/forPetals"/>
            </output>
        </operation>
    </binding>
    <service name="forPetalsService">
        <port name="forPetalsPort" binding="tns:forPetalsBinding">
            <soap:address location="http://localhost:${HttpDefaultPort}/forPetalsService/forPetalsPort"/>
        </port>
    </service>
    <plnk:partnerLinkType name="forPetals">
        <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
        <plnk:role name="forPetalsPortTypeRole" portType="tns:forPetalsPortType"/>
    </plnk:partnerLinkType>
</definitions>

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

So ? you see the problem ?


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: BPEL : impossible to find a receiver corresponding...