Hi

Can do the call from the stub

cheers, håkon

2009/4/27 ericcho <[email protected]>

>
> 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.
>
>


-- 
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to