[jboss-user] [JBoss Web Services] - Service#getPort always returns a new port
Kreek Fred
do-not-reply at jboss.com
Thu Aug 19 14:34:14 EDT 2010
Kreek Fred [http://community.jboss.org/people/fredk] created the discussion
"Service#getPort always returns a new port"
To view the discussion, visit: http://community.jboss.org/message/558208#558208
--------------------------------------------------------------
Hi,
When I use Service#getPort I always get a new port.
Example when executing the following code:
(BindingProvider)(service.getPort("PortName")).getRequestContext().put(ENDPOINT_ADDRESS_PROPERTY,address);
service.getPort("PortName").doSomething();
the second call to Service#getPort returns a new port and does +not+ use the ENDPOINT_ADDRESS_PROPERTY.
Could anybody tell me whether I'm doing something wrong, this is by design, an undocumented feature, just a bug.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/558208#558208]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100819/d1a94543/attachment.html
More information about the jboss-user
mailing list