cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Setting ENDPOINT_ADDRESS_PROPERTY property
Date Tue, 17 Apr 2007 22:07:57 GMT

I think the problem is that someplace, we're clearing the request context 
between invocations.    Thus, the ENDPOINT_ADDRESS_PROPERTY is being 
cleared out of there and is then not available for future calls.    If 
we didn't clear it, then it would still be there and we wouldn't need 
the to make it "permanent" at the EndpointInfo level. 

I'll try and dig around a bit tomorrow and figure out where we're 
clearing that.

Just FYI:  the response context gets cleared, the request context does 
not.  Section 4.2.1 of jaxws spec.


On Tuesday 17 April 2007 17:14, Jarek Gawor wrote:
> Hi,
> Regarding issue. What I
> actually meant and expected to see when I set the endpoint address
> property on the proxy, is that the address set will be used for all
> calls made using that proxy (unless of course is re-set again). For
> example:
> Greeter g = foo.getPort(Greeter.class);
> (
>BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://foo/bar");
> // call 1
> g.helloFoo();
> // call 2
> g.helloBar();
> For both calls address of "http://foo/bar" will be used. It looks like
> the endpoint address property is currently lost on the second call
> right now.
> Jarek

J. Daniel Kulp
Principal Engineer
P: 781-902-8727    C: 508-380-7194

View raw message