ok got it, thanks Benson.
Benson Margulies-4 wrote: > > The result of getPort is a proxy object that implements all sorts of > things. > > On Mon, Sep 15, 2008 at 8:02 PM, kpalania <[EMAIL PROTECTED]> wrote: >> >> 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 >>> [EMAIL PROTECTED] >>> 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. >> >> > > -- View this message in context: http://www.nabble.com/Getting-an-instance-of-the-BindingProvider..-tp19499899p19535238.html Sent from the cxf-user mailing list archive at Nabble.com.
