Per Olesen wrote:
Hi Daniel,

Thanks! You led me in the right direction, even though I was unable to use
your code directly as shown. You wrote:

Service service = new Service(serviceQName);

But that constructor is protected. And the no-args one uses a default
place for the wsdl (where it was at stub-generation time).

You can use

    Service.create(serviceQName)

to avoid having to subclass Service.

regards,


Andrew Dinn
-----------
JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland)


Reply via email to