<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: BPEL editor - INVOKE problem
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/izgur">Igor JStarter</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/571368#571368">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><blockquote class="jive-quote">I tried several times with my latest build of the BPEL&#160; editor, but I'm&#160; unable to reproduce the problem. The only differences&#160; in the&#160; artifacts.wsdl AFTER creating the new partnerlink was the&#160; addition of&#160; the new partnerlink definition, just before the&#160; &lt;types&gt; element&#160; (which is what I would&#160; expect):
</blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I see that too know. It adds the correct lines to the WSDL, but it messes up my designer view with element or&#160; type undefined.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>But like I said... I managed a work around... i delete the service&amp;binding and save the artifacts.wsdl, that add it again and the designer shows everything is valid again..&#160; Sorry I won't update my JBoss tools as long as it works for me... I don't know if that could mess up my other projects...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm working know like said... write the partnerlink by hand in the wsdl, and thn in bpel when i add an INVOKE I choose the global link written in the wsdl file... But there is one WSDL I can't import... or I don't import the right port... so if I want to choose the existing portType i see that my bpel doest see the wsdl methods...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Could you please help me with the partner link ... there are 2 .wsdl, the first imports the second... What am I doing wrong ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I will post only the neccessary, not the operations ...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>artifacts.wsdl </strong></p><p> &lt;definitions name="bpelCdrClient"</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; targetNamespace="</span><a class="jive-link-external-small" href="http://samples/bpelCdrClient" target="_blank">http://samples/bpelCdrClient</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:tns="</span><a class="jive-link-external-small" href="http://samples/bpelCdrClient" target="_blank">http://samples/bpelCdrClient</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:plnk="</span><a class="jive-link-external-small" href="http://docs.oasis-open.org/wsbpel/2.0/plnktype" target="_blank">http://docs.oasis-open.org/wsbpel/2.0/plnktype</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns="</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/" target="_blank">http://schemas.xmlsoap.org/wsdl/</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:ns1='</span><a class="jive-link-external-small" href="http://cdrmanager.ccs.mystore.si/" target="_blank">http://cdrmanager.ccs.mystore.si/</a><span>'&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;plnk:partnerLinkType name="cdriType"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;plnk:role name="mycdrProvider" portType="ns1:CdrManagerWS"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/plnk:partnerLinkType&gt;</p><p><span>&#160;&#160;&#160; &lt;import location="CdrManager.wsdl" namespace="</span><a class="jive-link-external-small" href="http://ws.cdr.mystore.si/" target="_blank">http://ws.cdr.mystore.si/</a><span>" /&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>CdrManager.wsdl: </strong></p><p>&lt;definitions name="CdrManagerWSImplService"</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; targetNamespace="</span><a class="jive-link-external-small" href="http://ws.cdr.mystore.si/" target="_blank">http://ws.cdr.mystore.si/</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/" target="_blank">http://schemas.xmlsoap.org/wsdl/</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:wsdl='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl" target="_blank">http://schemas.xmlsoap.org/wsdl</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:soap='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/soap/" target="_blank">http://schemas.xmlsoap.org/wsdl/soap/</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:ns1='</span><a class="jive-link-external-small" href="http://ws.cdr.mystore.si/" target="_blank">http://ws.cdr.mystore.si/</a><span>' &gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span>&lt;wsdl:import location="CdrManagerWS.wsdl" namespace="</span><a class="jive-link-external-small" href="http://cdrmanager.ccs.mystore.si/" target="_blank">http://cdrmanager.ccs.mystore.si/</a><span>" xmlns:ns1="</span><a class="jive-link-external-small" href="http://ws.cdr.mystore.si/" target="_blank">http://ws.cdr.mystore.si/</a><span>"&gt;&lt;/wsdl:import&gt;</span></p><p>&lt;wsdl:service name="CdrManagerWSImplService"&gt;</p><p>&lt;wsdl:port binding="tns:CdrManagerWSImplServiceSoapBinding" name="CdrManagerWSImplPort"&gt;</p><p><span>&lt;soap:address location="</span><a class="jive-link-external-small" href="http://192.168.60.92:8088/CdrManager" target="_blank">http://192.168.60.92:8088/CdrManager</a><span>"/&gt;</span></p><p>&lt;/wsdl:port&gt;</p><p>&lt;/wsdl:service&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>CdrManagerWS.wsdl </strong></p><p>&lt;definitions name="CdrManagerWS"</p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; targetNamespace="</span><a class="jive-link-external-small" href="http://cdrmanager.ccs.mystore.si/" target="_blank">http://cdrmanager.ccs.mystore.si/</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/" target="_blank">http://schemas.xmlsoap.org/wsdl/</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:wsdl='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl" target="_blank">http://schemas.xmlsoap.org/wsdl</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:soap='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/soap/" target="_blank">http://schemas.xmlsoap.org/wsdl/soap/</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:wsdlsoap='</span><a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/soap" target="_blank">http://schemas.xmlsoap.org/wsdl/soap</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:xs='</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a><span>'</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns:tns='</span><a class="jive-link-external-small" href="http://cdrmanager.ccs.mystore.si/" target="_blank">http://cdrmanager.ccs.mystore.si/</a><span>' &gt;</span></p><p>&lt;wsdl:types&gt;</p><p>&lt;wsdl:portType name="CdrManagerWS"&gt;</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/571368#571368">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>