<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Web+Services+Translator?focusedCommentId=94961722#comment-94961722">Web Services Translator</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://docs.jboss.org/author/display/~kylin">Kylin Soong</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>I think only keep procedure itself should be better, for example:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
Procedure invoke(...
Procedure invokeHttp(...
</pre>
</div></div>
<p>I think the 'Procedure' should be remove, the execution command 'call' as well, in my test, exec also can execute the procedure:</p>


<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="theme: Confluence; brush: java; gutter: false" style="font-size:12px; font-family: ConfluenceInstalledFont,monospace;">
exec invoke(...
</pre>
</div></div>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/author/display/~rareddy"
                          class="url fn confluence-userlink" data-username="rareddy"
                   >Ramesh Reddy</a>:</strong><br/>
        <p>"Call" is not a prefix, it execution command.</p>

<p>a procedure parameters can be supplied two different ways, when some of the parameters can be null/optional or have default values. When you are using</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="theme: Confluence; brush: java; gutter: false"><![CDATA[
invoke(binding,action)
]]></script>
</div></div>

<p>you need to provide input values for <b>all</b> parameters of the procedure, and parameter positioning must match with procedure definition. when using parameter named syntax like</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="theme: Confluence; brush: java; gutter: false"><![CDATA[
invoke(binding=&gt;'HTTP')
]]></script>
</div></div>

<p>you can omit the parameters where you want to use the default values, or pass in NULL. Also positioning of parameters is not significant.</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/Web+Services+Translator?focusedCommentId=94961722#comment-94961722">View Online</a>
              |
       <a id="reply-94961722" href="https://docs.jboss.org/author/display/TEIID/Web+Services+Translator?replyToComment=94961722#comment-94961722">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>