[jboss-user] [JBoss jBPM] - BPEL process doesn't respond

Kantti_ do-not-reply at jboss.com
Tue Jun 19 06:43:04 EDT 2007


Hello.

I'm farely new to BPEL and WS but I have managed to get the BPEL tutorials up and running. 

I'm using:
JBoss AS 4.0.5.GA
JBossWS 1.2.1.GA
jbpm-bpel 1.1.Beta5

I have done the HelloWorld process with BPEL Designer 0.2.0.

The files I've made are (otherwise the code is from the original tutorial):

HELLO.BPEL:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  | <bpws:process xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:tns="http://jbpm.org/examples/hello" exitOnStandardFault="yes" name="HelloWorld" suppressJoinFailure="yes" targetNamespace="http://jbpm.org/examples/hello">
  |   <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" location="hello.wsdl" namespace="http://jbpm.org/examples/hello"/>
  |   <bpws:partnerLinks>
  |     <bpws:partnerLink myRole="Greeter" name="caller" partnerLinkType="tns:Caller-Greeter"/>
  |   </bpws:partnerLinks>
  |   <bpws:variables>
  |     <bpws:variable messageType="tns:nameMessage" name="request"/>
  |     <bpws:variable messageType="tns:greetingMessage" name="response"/>
  |   </bpws:variables>
  |   <bpws:sequence>
  |     <bpws:receive name="Receive" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="request"/>
  |     <bpws:assign name="Assign" validate="no">
  |       <bpws:copy>
  |         <bpws:from><![CDATA[concat('Hello, ', bpws:getVariableData('request', 'name'), '!')]]></bpws:from>
  |         <bpws:to part="greeting" variable="response"/>
  |       </bpws:copy>
  |     </bpws:assign>
  |     <bpws:reply name="Reply" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="response"/>
  |   </bpws:sequence>
  | </bpws:process>

HELLO.WSDL:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  | <wsdl:definitions xmlns:tns="http://jbpm.org/examples/hello" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="hello" targetNamespace="http://jbpm.org/examples/hello" xmlns:p="http://schemas.xmlsoap.org/ws/2004/03/partner-link/">
  |     <wsdl:message name="nameMessage">
  | 		<wsdl:part name="name" type="xsd:string"></wsdl:part>
  | 	</wsdl:message>
  |     <wsdl:message name="greetingMessage">
  |     	<wsdl:part name="greeting" type="xsd:string"></wsdl:part>
  |     </wsdl:message>
  |     <wsdl:portType name="Greeter">
  |     	<wsdl:operation name="sayHello">
  |     		<wsdl:input message="tns:nameMessage"></wsdl:input>
  |     		<wsdl:output message="tns:greetingMessage"></wsdl:output>
  |     	</wsdl:operation>
  |     </wsdl:portType>
  |     <p:partnerLinkType name="Caller-Greeter">
  | 		<p:role portType="tns:Greeter" name="Greeter"></p:role>
  | 	</p:partnerLinkType>
  | </wsdl:definitions>

Could the problem be in the code above? The war-file deploys nicely but the junit test just freezes. The ws is called but it doesn't send a response.

Thanks for the help.



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055538



More information about the jboss-user mailing list