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 "Roy A. Wood Jr. (JIRA)" <ji...@apache.org> on 2008/01/18 00:21:34 UTC

[jira] Resolved: (AXIS2-3445) Provide visibility of dynamic ports only to client that created them

     [ https://issues.apache.org/jira/browse/AXIS2-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roy A. Wood Jr. resolved AXIS2-3445.
------------------------------------

    Resolution: Fixed

> Provide visibility of dynamic ports only to client that created them
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3445
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3445
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
>            Priority: Minor
>
> 	We are currently caching ServiceDescription based on a ServiceQName, wsdlURL, AxisConfigContext and Service class. However the caching of ServiceDescription will result in a incorrect functional behaviour when clientA using ServiceA does a addPort(foo) and ClientB using ServiceA does a listPort. Client B will see foo. 
> ClientB should never see Foo as it was not added by him. 
> So, when a client dynamically adds a port to a ServiceDelegate, the port should only be visible to that client.
> In the current design of the code, other clients (incorrectly) see this added port.
> This can get very confusing if multiple clients start adding similarly named ports.
> The solution is to divide the endpointDescriptions into two maps 
> (one for the dynamic ports, and one for the wsdl/annotation ports), then check that the client who is querying the ports is only seeing declared ports and then just the dynamic ones that he created.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org