Hi,

BPEL variables can be typed using XML Schema or WSDL messages. In order
to send two parameters to a service, you could either define a message
with two parts that are of simple XSD type, or a message with one part,
which is defined as a complex XSD type. This is not necessarily a BPEL
topic but rather a WSDL design issue.

Regarding the stacktrace. It looks to me like the process is trying to
invoke a Web service (with a 'doSomething' operation). This web service
is however not available, thus the request times out and the process fails.

HTH,
  Tammo

On 09.05.2011 16:48, Samuel Tamassia Martinez wrote:
> 
> and how I specify 2 parameters into 1 input variable? (I'm newbie in BPEL, 
> sorry)about the helloWorld, sorry, here's the error(i've used the sendsoap 
> program, that comes with ODE for tomcat):
> CMD:
> C:\>sendsoap http://localhost:8080/ode/processes/Caller testRequest.soapjava 
> org.apache.ode.utils.cli.BaseCommandlineTool: Unable to send message due to 
> I/O-related error: Read timed out
> 
> Tomcat:
> 11:42:26,710 ERROR [INVOKE] Failure during invoke: Error sending message 
> (mex={PartnerRoleMex#hqejbhcnphr69hspdr7v5p [PID {http://MyTest}Caller-27] 
> calling [email protected](...) Status 
> ASYNC}): Connection timed out: connect
> 11:42:26,725 INFO  [BpelRuntimeContextImpl] ActivityRecovery: Registering 
> activity 11, failure reason: Error sending message 
> (mex={PartnerRoleMex#hqejbhcnphr69hspdr7v5p [PID {http://MyTest}Caller-27] 
> calling [email protected](...) Status 
> ASYNC}): Connection timed out: connect on channel 21
> 11:42:59,490 ERROR [ODEService] Timeout or execution error when waiting for 
> response to MEX {MyRoleMex#hqejbhcnphr69hspdr7v5m [Client 
> hqejbhcnphr69hspdr7v5l] calling {http://MyTest}CallerService.process(...)} 
> java.util.concurrent.TimeoutException: Message exchange 
> org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@7f65f2 
> timed out(120000 ms) when waiting for a 
> response!java.util.concurrent.TimeoutException: Message exchange 
> org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@7f65f2 
> timed out(120000 ms) when waiting for a response!
> 
> 
> 
> 
>> Date: Mon, 9 May 2011 16:29:20 +0200
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: Invoking Web Services
>>
>> Hi,
>>
>> Web services can be invoked with the <invoke> activity. You need to
>> specify the input variable (which should contain your two values), the
>> operation to be called and the portType and partnerLink the operation is
>> provided from.
>>
>> Regarding helloworld: Without knowing the exact error code or
>> stacktrace, it very hard to help.
>>
>> Tammo
>>
>> On 09.05.2011 16:10, Samuel Tamassia Martinez wrote:
>>>
>>> hi, I've created and deployed a web service that makes a simple sum of two 
>>> values(value1 and value2). I tried to create a BPEL process using eclipse 
>>> BPEL designer, but there was some problems. In BPEL, how can I invoke this 
>>> web service and send the parameters value1 and value2?
>>> I'm also having problems in invoking a simple web service that says 
>>> helloworld, ODE says that there is an error in the invoke and the 
>>> application do nothing until times out. I'm really confused about invoking 
>>> web services in BPEL.
>>> thanks in advance and sorry for my english...                               
>>>           
>>
>> -- 
>> Tammo van Lessen - http://www.taval.de
>                                         

-- 
Tammo van Lessen - http://www.taval.de

Reply via email to