I have class:
@WebService
public class UserService {
}
I would like to to be able to write something like:
Service.getPort(UserService.class)
or
Service.getPort(qName, UserService.class)
what's wrong with this approach?
On Fri, Apr 1, 2016 at 8:32 PM, Daniel Kulp <[email protected]> wrote:
>
> > On Mar 31, 2016, at 1:49 PM, Maxim Solodovnik <[email protected]>
> wrote:
> >
> > I wonder is it possible to getPort of javax.xml.ws.Service without
> > interface?
> > Maybe via some trick? :)
>
> What would the return be? The point of the getPort is to provide a
> usable object that implements the given interface. Without it, what would
> the return object be?
>
>
> --
> Daniel Kulp
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>
--
WBR
Maxim aka solomax