JAXWS is creating AxisService without regard to the WSDL port to use
--------------------------------------------------------------------

                 Key: AXIS2-1225
                 URL: http://issues.apache.org/jira/browse/AXIS2-1225
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Jeff Barrett


Currently, in the case where WSDL is supplied to Service.create, JAXWS creating 
the AxisService at that point, passing a null for the portName argument to 
WSDL11ToAxiswServiceBuilder.  This is incorrect.  JAXWS should not be creating 
the AxisService until the portname is known, which happens on Service.getPort.

This means the ServiceDescription needs to be refactored to not create the 
AxisService; that should be done when the EndpointDescription is created.  
EndpointDescriptons should be created when a getPort or addPort is done.  In 
the addPort case, the portQName should be checked to ensure it is not contained 
in the WSDL before it is allowed to be added.

I am working on a patch which I will submit shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to