Annette Glindmeyer [
http://community.jboss.org/people/glindmeyer] replied to the
discussion
"jBPM BPEL & Eclipse Process Designer"
To view the discussion, visit:
http://community.jboss.org/message/538271#538271
--------------------------------------------------------------
Hi Huisheng,
here the wsdl of the BPEL process:
<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
<definitions xmlns="
http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/" xmlns:plnk="
http://docs.oasis-open.org/wsbpel/2.0/plnktype
http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/ http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="
http://eclipse.org/bpel/sample http://eclipse.org/bpel/sample"
xmlns:vprop="
http://docs.oasis-open.org/wsbpel/2.0/varprop
http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="
http://microsoft.com/webservices/ http://microsoft.com/webservices/"
name="DBTest" targetNamespace="
http://eclipse.org/bpel/sample
http://eclipse.org/bpel/sample">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of types participating in this BPEL process
The BPEL Designer will generate default request and response types
but you can define or import any XML Schema type and use them as part
of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="DBServT">
<plnk:role name="DBServType">
<plnk:portType name="wsdl:DBServiceSoap"/>
</plnk:role>
</plnk:partnerLinkType>
<import location="interface/DBService.wsdl" namespace="
http://microsoft.com/webservices/ http://microsoft.com/webservices/"/>
<types>
<schema xmlns="
http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified"
elementFormDefault="qualified" targetNamespace="
http://eclipse.org/bpel/sample http://eclipse.org/bpel/sample">
<element name="DBTestRequest">
<complexType>
<sequence>
<element name="input" type="string"/>
</sequence>
</complexType>
</element>
<element name="DBTestResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="DBTestRequestMessage">
<part element="tns:DBTestRequest" name="payload"/>
</message>
<message name="DBTestResponseMessage">
<part element="tns:DBTestResponse" name="payload"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the DBTest BPEL process -->
<portType name="DBTest">
<operation name="process">
<input message="tns:DBTestRequestMessage"/>
<output message="tns:DBTestResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="DBTest">
<plnk:role name="DBTestProvider"
portType="tns:DBTest"/>
</plnk:partnerLinkType>
</definitions>
*and the wsdl of the partner link:*
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/
http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="
http://microsoft.com/wsdl/mime/textMatching/
http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/ http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="
http://schemas.xmlsoap.org/wsdl/mime/
http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="
http://microsoft.com/webservices/ http://microsoft.com/webservices/" xmlns:s="
http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema"
xmlns:soap12="
http://schemas.xmlsoap.org/wsdl/soap12/
http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/ http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="
http://microsoft.com/webservices/
http://microsoft.com/webservices/" xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="
http://microsoft.com/webservices/ http://microsoft.com/webservices/">
<s:element name="get_CAX_Query">
<s:complexType>
...
</s:complexType>
</s:element>
<s:complexType name="ArrayOfResult">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded"
name="Result" type="tns:Result"/>
</s:sequence>
</s:complexType>
<s:complexType name="Result">
........
<s:sequence>
</s:sequence>
</s:complexType>
...........
</s:complexType>
<wsdl:portType>
<wsdl:operation name="get_CAX_Query">
<wsdl:input message="tns:get_CAX_QuerySoapIn"/>
<wsdl:output message="tns:get_CAX_QuerySoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="DBServiceSoap" type="tns:DBServiceSoap">
<soap:binding transport="
http://schemas.xmlsoap.org/soap/http
http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="get_CAX_Query">
<soap:operation soapAction="
http://microsoft.com/webservices/get_CAX_Query
http://microsoft.com/webservices/get_CAX_Query" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DBService">
<wsdl:port name="DBServiceSoap"
binding="tns:DBServiceSoap">
<soap:address location="
http://localhost/DBWS/DBService.asmx
http://localhost/DBWS/DBService.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Regards,
Annette
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/538271#538271]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]