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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]