[Users] BPEL on Petals: invoking operation without input

Vincent Zurczak [via Petals Forums] ml-node+s974793n3518245h69 at n3.nabble.com
Fri Nov 18 11:12:58 CET 2011



Hi Leonardo,


leofl wrote:
> When I try to deploy the service assembly on Petals, I receive the
> following stack trace:
> http://dl.dropbox.com/u/18183156/choreos/stack_trace.txt
> 
> Here are the service unit (which includes the BPEL file and the WSDL of
> the invoked service):
> http://dl.dropbox.com/u/18183156/choreos/su-BPEL-FuncProcess-provide.zip
> ...
> Why Petals Studio doesn't allow me to empty the "input variable" of an
> invokation? According BPEL specification it is an optional field, is not?
> 
Your process starts with an invoke mark-up.
And the input variable has not been initialized. There is always an input
variable. That's because in BPEL / SOA, there is always an invocation
message. Even if this message is empty, it has a shape. It is also the case
for web services with no input. You should not rely on the JAX-WS code (for
which there is no input), but instead look at the generated WSDL. You will
see that the operation MaisRico has a wrapping element but no content (no
content = no parameter). But this wrapping element is part of the message to
send to the service. And it must be set in the input variable.

If input variables are mandatory, output variables are optional. It depends
on the invoked operation (if it returns something).

One more thing: a BPEL process must either start with a Receive mark-up or a
with a Pick. In your case, you should consider the Receive solution.


leofl wrote:
> If all this problem was because a bad BPEL, Petals Studio shouldn't tell
> me?
We have validation rules. But it seems you went through and that they are
not complete.
We are currently contributing things to the Eclipse BPEL Designer and it has
some more complete validation rules now. Hopefully, you should see
validation errors with your current process in the next version of the
studio. 

-----
« Petals M.D. »
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/BPEL-on-Petals-invoking-operation-without-input-tp3517741p3518245.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20111118/6daf1e10/attachment.htm>


More information about the Users mailing list