Maybe I should post the code, which I produced with the Eclipse BPEL designer:

This is SampleProcess.bpel

<?xml version="1.0" encoding="UTF-8"?>
  | <bpws:process 
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/";
  |  xmlns:ns="http://SampleProject/SampleProcessArtifacts"; 
  | xmlns:ns0="http://SampleProject/SampleProcessInterface"; 
  | expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"; 
  | name="SampleProcess" suppressJoinFailure="yes" 
  | targetNamespace="http://SampleProject";>
  | 
  |   <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
  | location="SampleProcessArtifacts.wsdl" 
namespace="http://SampleProject/SampleProcessArtifacts"/>
  |   <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
  | location="SampleProcess.wsdl" 
namespace="http://SampleProject/SampleProcessInterface"/>
  |   <bpws:partnerLinks>
  |     <bpws:partnerLink myRole="ProcessRole" name="Client" 
partnerLinkType="ns:SampleProcessPartnerLinkType"/>
  |   </bpws:partnerLinks>
  |   <bpws:variables>
  |     <bpws:variable messageType="ns0:operation1Request" name="Input"/>
  |     <bpws:variable messageType="ns0:operation1Response" name="Output"/>
  |   </bpws:variables>
  |   <bpws:sequence name="Sequence">
  |     <bpws:receive createInstance="yes" name="Receive" 
operation="operation1" partnerLink="Client" portType="ns0:SampleProcess" 
variable="Input"/>
  |     <bpws:assign name="Assign">
  |       <bpws:copy>
  |         <bpws:from part="operation1Parameters" variable="Input"/>
  |         <bpws:to part="operation1Result" variable="Output"/>
  |       </bpws:copy>
  |     </bpws:assign>
  |     <bpws:reply name="Reply" operation="operation1" partnerLink="Client" 
portType="ns0:SampleProcess" variable="Output"/>
  |   </bpws:sequence>
  | </bpws:process>
  | 

...and this is SampleProcess.wsdl


  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions xmlns:tns="http://SampleProject/SampleProcessInterface"; 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  | xmlns="http://schemas.xmlsoap.org/wsdl/"; name="SampleProcess" 
  | targetNamespace="http://SampleProject/SampleProcessInterface";
  | 
  |                     
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/";
  |                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |                     xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ 
  |       http://schemas.xmlsoap.org/wsdl/
  |       http://schemas.xmlsoap.org/ws/2003/05/partner-link/ 
  |       http://schemas.xmlsoap.org/ws/2003/05/partner-link/";>
  |  
  |   
  |   <plt:partnerLinkType name="SampleProcessPartnerLinkType">
  |     <plt:role name="ProcessRole">
  |          <plt:portType name="tns:SampleProcess"/>
  |      
  |      </plt:role>
  |   </plt:partnerLinkType>
  |   
  |   <message name="operation1Request">
  |     <part name="operation1Parameters" type="xsd:string"/>
  | 
  |   </message>
  |   <message name="operation1Response">
  |     <part name="operation1Result" type="xsd:string"/>
  | 
  |   </message>
  |   <portType name="SampleProcess">
  |     <operation name="operation1">
  |       <input message="tns:operation1Request"/>
  |       <output message="tns:operation1Response"/>
  |     </operation>
  |   </portType>
  | </definitions>
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058296#4058296

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058296
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to