Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324164

Summary: ODE deployment descriptor editor is unable to find associated port for partner link if the partner link is declared in a WSDL document which imports the actual WSDL contract.
Product: z_Archived Reporter: Robert Brodt <bbrodt>
Component: BPELAssignee: BPEL UI Inbox <bpel.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert Brodt CLA 2010-09-01 01:12:40 EDT
If the imported WSDL has the following structure:

{code}
<definitions name="HelloWorldEBWS" ...>
        <import location="http://127.0.0.1:8080/EBWS5/ebws/ebws/HelloWorldEBWS?wsdl"
                     namespace="http://soa.jboss.org/ebws" />

        <plnk:partnerLinkType name="ebws_plt">
                <plnk:role name="helloworld_provider" portType="wsdl:HelloWorldEBWSPortType" />
                <plnk:role name="helloworld_receiver" portType="wsdl:HelloWorldEBWSPortType" />
        </plnk:partnerLinkType>
</definitions>
{code}

and the defined partner link looks like this:

{code}
<bpel:process name="..."
                        ...
                        xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
                        xmlns:ns2="http://www.jboss.org/bpel/examplesArtifacts">
...
        <bpel:import namespace="http://soa.jboss.org/ebws" location="http://127.0.0.1:8080/EBWS5/ebws/ebws/HelloWorldEBWS?wsdl"
                             importType="http://schemas.xmlsoap.org/wsdl/"/>
        <bpel:import namespace="http://www.jboss.org/bpel/examplesArtifacts" location="HelloWorldEBWS.wsdl"
                             importType="http://schemas.xmlsoap.org/wsdl/"/>
        
        <bpel:partnerLinks>
                ...
                <bpel:partnerLink name="externalService"
                                             partnerLinkType="ns2:ebws_plt"
                                             partnerRole="helloworld_provider"
                                             initializePartnerRole="yes"/>
        </bpel:partnerLinks>
...
{code}

then ODE deployment descriptor editor is unable to resolve the associated port for HelloWorldEBWS service. 

This was reported in https://jira.jboss.org/browse/JBIDE-6786
Comment 1 Robert Brodt CLA 2010-09-01 01:33:37 EDT
Fixed