ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karsten Gebauer" <karsten.geba...@robotron.de>
Subject AW: Deploymentproblems
Date Tue, 24 Jun 2008 08:13:47 GMT
Hi Mattieu


I will put everything in the textarea now:

Hello.pbel - BPEL-File:

<?xml version="1.0" encoding="UTF-8"?>
<bpws:process exitOnStandardFault="yes" name="Hello"
    suppressJoinFailure="yes"
    targetNamespace="http://sample.bpel.org/bpel/sample"
    xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:ns="http://sample.bpel.org/bpel/sampleArtifacts"
    xmlns:ns0="http://www.example.org/HelloClient/" xmlns:tns="http://sample.bpel.org/bpel/sample">
    <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
        location="HelloClient.wsdl" namespace="http://www.example.org/HelloClient/"/>
    <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://sample.bpel.org/bpel/sampleArtifacts"/>
    <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
        location="HelloArtifacts.wsdl" namespace="http://sample.bpel.org/bpel/sampleArtifacts"/>
    <bpws:partnerLinks>
        <bpws:partnerLink myRole="ClientRole" name="Client" partnerLinkType="ns:ClientLT"/>
    </bpws:partnerLinks>
    <bpws:variables>
        <bpws:variable messageType="ns0:NewOperationRequest" name="ClientRequest"/>
        <bpws:variable messageType="ns0:NewOperationResponse" name="ClientResponse"/>
    </bpws:variables>
    <bpws:sequence>
        <bpws:receive name="Receive" operation="NewOperation"
            partnerLink="Client" portType="ns0:HelloClient" variable="ClientRequest"/>
        <bpws:assign name="Assign" validate="no">
            <bpws:copy>
                <bpws:from part="parameters" variable="ClientRequest">
                    <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/in]]></bpws:query>
                </bpws:from>
                <bpws:to part="parameters" variable="ClientResponse">
                    <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[/out]]></bpws:query>
                </bpws:to>
            </bpws:copy>
        </bpws:assign>
        <bpws:reply name="Reply" operation="NewOperation"
            partnerLink="Client" portType="ns0:HelloClient" variable="ClientResponse"/>
    </bpws:sequence>
</bpws:process>


HelloClient.wsdl ClientFile:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/HelloClient/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="HelloClient" targetNamespace="http://www.example.org/HelloClient/">
  <wsdl:types>
    <xsd:schema targetNamespace="http://www.example.org/HelloClient/">
      <xsd:element name="InputElelement">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="in" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="OutputElement">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="out" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="NewOperationRequest">
    <wsdl:part element="tns:InputElelement" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="NewOperationResponse">
    <wsdl:part element="tns:OutputElement" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="HelloClient">
    <wsdl:operation name="NewOperation">
      <wsdl:input message="tns:NewOperationRequest"/>
      <wsdl:output message="tns:NewOperationResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HelloClientSOAPBinding" type="tns:HelloClient">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="NewOperation">
      <soap:operation soapAction="http://www.example.org/HelloClient/NewOperation"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HelloClientService">
    <wsdl:port binding="tns:HelloClientSOAPBinding" name="HelloClientSOAPPort">
      <soap:address location="http://localhost:8080/ode/processes/Hello"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


HelloArtifacts.wsdl - Artifacts generated for the client wsdl to add the partnerlink (was
done automatic by the designer).

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<definitions xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://sample.bpel.org/bpel/sampleArtifacts"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://www.example.org/HelloClient/"
name="HelloArtifacts" targetNamespace="http://sample.bpel.org/bpel/sampleArtifacts" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <plnk:partnerLinkType name="ClientLT">
    <plnk:role name="ClientRole" portType="wsdl:HelloClient"/>
  </plnk:partnerLinkType>
  <import location="HelloClient.wsdl" namespace="http://www.example.org/HelloClient/"/>
</definitions>


deploy.xml

<?xml version="1.0" encoding="UTF-8"?>
<dd:deploy xmlns:dd="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pns="http://sample.bpel.org/bpel/sample" xmlns:cns="http://www.example.org/HelloClient/"
xsi:schemaLocation="http://www.apache.org/ode/schemas/dd/2007/03 deploySxhema.xsd ">
	<dd:process name="pns:Hello">
		<dd:active>true</dd:active>
		<dd:provide partnerLink="Client">
			<dd:service port="HelloClientSOAPPort" name="cns:HelloClientService"></dd:service>
		</dd:provide></dd:process>
</dd:deploy>


-----Urspr√ľngliche Nachricht-----
Von: matthieu.riou@gmail.com [mailto:matthieu.riou@gmail.com] Im Auftrag von Matthieu Riou
Gesendet: Montag, 23. Juni 2008 16:26
An: user@ode.apache.org
Betreff: Re: Deploymentproblems

Hi Karsten,

It seems that your attachment has been stripped off...

Matthieu

On Mon, Jun 23, 2008 at 7:06 AM, Karsten Gebauer <
karsten.gebauer@robotron.de> wrote:

>  Hello,
>
>
>
> I am trying to deploy one simple HelloWorld Process on Apache ODE but I
> getting an error message "MissingImportLocation" in my BPEL File. I created
> everything with the Eclipse BPEL-Designer. I do not understand why eclipse
> generates the "HelloArtifacts.wsdl" instead of putting the code right into
> the Hello.wsdl.
>
>
>
> Is there another way how to generate the deploy.xml instead of doing it by
> hand (some kind of automatic generation)?
>
>
>
> I put everything in the attachments.
>




Mime
View raw message