Hi Leonardo,
<br/><br/><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">leofl wrote</div>
<div class="quote-message">When I try to deploy the service assembly on Petals, I receive the following stack trace:
<br/><a href="http://dl.dropbox.com/u/18183156/choreos/stack_trace.txt" target="_top" rel="nofollow" link="external">http://dl.dropbox.com/u/18183156/choreos/stack_trace.txt</a><br/><br/>Here are the service unit (which includes the BPEL file and the WSDL of the invoked service):
<br/><a href="http://dl.dropbox.com/u/18183156/choreos/su-BPEL-FuncProcess-provide.zip" target="_top" rel="nofollow" link="external">http://dl.dropbox.com/u/18183156/choreos/su-BPEL-FuncProcess-provide.zip</a><br/>...
<br/>Why Petals Studio doesn't allow me to empty the &quot;input variable&quot; of an invokation? According BPEL specification it is an optional field, is not?
</div>
</div></blockquote>
Your process starts with an invoke mark-up.
<br/>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.
<br/><br/>If input variables are mandatory, output variables are optional. It depends on the invoked operation (if it returns something).
<br/><br/>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.
<br/><br/><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote dark-border-color"><div class="quote light-border-color">
<div class="quote-author" style="font-weight: bold;">leofl wrote</div>
<div class="quote-message">If all this problem was because a bad BPEL, Petals Studio shouldn't tell me?</div>
</div></blockquote>
We have validation rules. But it seems you went through and that they are not complete.
<br/>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. 
        <div class="signature weak-color">&laquo; Petals M.D. &raquo;</div>
        <br/>
        <br/>
        <hr noshade="noshade" size="1" color="#cccccc" />
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://forum.petalslink.com/BPEL-on-Petals-invoking-operation-without-input-tp3517741p3518245.html">http://forum.petalslink.com/BPEL-on-Petals-invoking-operation-without-input-tp3517741p3518245.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42@n3.nabble.com <br/>
                To unsubscribe from Users (get help, provide help), <a href="http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=2681628&amp;code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4">click here</a>.<br/>
                <a href="http://forum.petalslink.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&amp;breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif">NAML</a>
        </div>