You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jeff Barrett (JIRA)" <ji...@apache.org> on 2006/09/24 15:52:22 UTC

[jira] Created: (AXIS2-1225) JAXWS is creating AxisService without regard to the WSDL port to use

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Closed: (AXIS2-1225) JAXWS is creating AxisService without regard to the WSDL port to use

Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1225?page=all ]

Jeff Barrett closed AXIS2-1225.
-------------------------------


> 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
>         Assigned To: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1225) JAXWS is creating AxisService without regard to the WSDL port to use

Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1225?page=all ]

Jeff Barrett resolved AXIS2-1225.
---------------------------------

    Resolution: Fixed

This was fixed in Revision: 449804

> 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
>         Assigned To: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-1225) JAXWS is creating AxisService without regard to the WSDL port to use

Posted by "Jeff Barrett (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1225?page=all ]

Jeff Barrett reassigned AXIS2-1225:
-----------------------------------

    Assignee: Jeff Barrett

> 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
>         Assigned To: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org