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&...]