You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Boby boby <bo...@hotmail.com> on 2003/06/12 19:50:32 UTC
Client Authentication
Hi,
I was going through the mailing list but couldnt find the solution
for my problem so thought of sending a message to the list.
I am using wsdl2java tool to generate java client for invoking
web-services. Web-services requires basic HTTP authentication to
authenticate clients. If I put these two lines of code before invoke, it
works fine.
call.setUsername("username");
call.setPassword("password");
I dont want to edit the auto-generated code from tool wsdl2java. So is
there any way to set the authentication parameter somewhere else instead of
putting in the auto-generated code.
Any help will be highly appreciated.
Thanks,
Mudit
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus