cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kpalania <kpala...@yahoo.com>
Subject Re: Getting an instance of the BindingProvider..
Date Tue, 16 Sep 2008 00:02:16 GMT

oh cool thanks! just wonder what really happens behind the scenes to create
this magic..


dkulp wrote:
> 
> On Monday 15 September 2008 6:05:40 pm kpalania wrote:
>> Thanks Dan. Do you mean I should just do this -
>>
>> Service service = Service.create(URL, QName);
>> MyWebService ws = (MyWebService) service.getPort(MyWebService.class);
>> BindingProvider p = (BindingProvider) port;
>> ..and so on?
>>
>> - and this should work though MyWebService doesn't really implement the
>> BindingProvider?
> 
> Yep.   Exactly.
> 
> Dan
> 
> 
>>
>> dkulp wrote:
>> > Just cast the port proxy to the BindingProvider interface.   With
>> JAXWS,
>> > all
>> > the proxies implement that interface.
>> >
>> > Dan
> 
> 
> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://www.nabble.com/Getting-an-instance-of-the-BindingProvider..-tp19499899p19503230.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message