<?xml version="1.0" encoding="UTF-8"?>
| <process
| name="newProcess"
|
targetNamespace="http://enterprise.netbeans.org/bpel/ScratchBpelModu...
|
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
xmlns:tns="http://enterprise.netbeans.org/bpel/ScratchBpelModule1/ne...
xmlns:ns1="http://j2ee.netbeans.org/wsdl/newWSDL">
| <import
namespace="http://j2ee.netbeans.org/wsdl/newWSDL"
location="newWSDL.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"/>
| <partnerLinks>
| <partnerLink name="PartnerLink1"
partnerLinkType="ns1:newWSDL1" myRole="newWSDLPortTypeRole"/>
| </partnerLinks>
| <variables>
| <variable name="NewWSDLOperationOut"
messageType="ns1:newWSDLOperationReply"/>
| <variable name="NewWSDLOperationIn"
messageType="ns1:newWSDLOperationRequest"/>
| </variables>
| <sequence>
| <receive name="Receive1" createInstance="yes"
partnerLink="PartnerLink1" operation="newWSDLOperation"
portType="ns1:newWSDLPortType" variable="NewWSDLOperationIn"/>
| <assign name="Assign1">
| <copy>
| <from variable="NewWSDLOperationIn"
part="part1"/>
| <to variable="NewWSDLOperationOut"
part="part1"/>
| </copy>
| </assign>
| <reply name="Reply1" partnerLink="PartnerLink1"
operation="newWSDLOperation" portType="ns1:newWSDLPortType"
variable="NewWSDLOperationOut"/>
| </sequence>
| </process>
Here' s my wsdl:
<?xml version="1.0" encoding="UTF-8"?>
| <definitions name="newWSDL"
targetNamespace="http://j2ee.netbeans.org/wsdl/newWSDL"
|
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/newWSDL"
|
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
|
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
| <types>
| <xsd:schema
targetNamespace="http://j2ee.netbeans.org/wsdl/newWSDL">
| <xsd:complexType name="Shape">
| <xsd:sequence>
| <xsd:element name="size"
type="xsd:int"></xsd:element>
| </xsd:sequence>
| </xsd:complexType>
| <xsd:element name="square"
type="tns:Shape"></xsd:element>
| </xsd:schema>
| </types>
| <message name="newWSDLOperationRequest">
| <part name="part1" element="tns:square"/>
| </message>
| <message name="newWSDLOperationReply">
| <part name="part1" element="tns:square"/>
| </message>
| <portType name="newWSDLPortType">
| <operation name="newWSDLOperation">
| <input name="input1"
message="tns:newWSDLOperationRequest"/>
| <output name="output1"
message="tns:newWSDLOperationReply"/>
| </operation>
| </portType>
| <plnk:partnerLinkType name="newWSDL1">
| <plnk:role name="newWSDLPortTypeRole"
portType="tns:newWSDLPortType"/>
| </plnk:partnerLinkType>
| </definitions>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090285#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...