Excellent
Thank you.
Upul Godage wrote:
ServiceClient sc = stub._getServiceClient();
Options options = sc.getOptions();
options.setUserName("apache");
options.setPassword("password");
Upul
On Fri, Apr 11, 2008 at 11:44 AM, Julian Noye
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Hi Guys
Could someone please tell me how to set the userid and password
using a stub that extends org.apache.axis2.client.Stub.
I am trying to add security to my service which I generated via
WSDL2Java.
But, I can't get passed the first step getting userid and password
into the soap header.
I have a simple java class with a main() as the client which
creates a stub that extends org.apache.axis2.client.Stub.
Please help.
Regards
Julian
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Julian Noye
Project Manager
Nielsen Online
The Nielsen Company
+61 (3) 8606 4036
www.nielsen-online.com
<http://www.nielsen-online.com/>
<http://www.nielsen.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]