axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericcho <e...@kryos.com>
Subject Re: username token using codegen stub
Date Mon, 27 Apr 2009 14:33:15 GMT

Thanks for your response Hakon.

So... once I've done the following:

ServiceClient serviceClient = stub._getServiceClient();
serviceClient.engageModule("rampart");

Options options = serviceClient.getOptions();

options.setUserName("testunser");
options.setPassword("pass");

serviceClient.setOptions(options);

Do I have to make the call from the serviceClient? 

Or I can simply call the methods in the stub?

ie:   stub.getMeThisStuff(....);
This method would be preferable, but I don't see how the stub would have
context to the options.... or does it?

Thanks,
Eric
-- 
View this message in context: http://www.nabble.com/username-token-using-codegen-stub-tp23223433p23257657.html
Sent from the Axis - User mailing list archive at Nabble.com.


Mime
View raw message