((javax.xml.rpc.Stub)ImplClass).setUsername("uname");
((javax.xml.rpc.Stub)ImplClass).setPassword("pwd");

before call............

On 4/10/08, Julian Noye <[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]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
##################################
Technical Lead
+919833309317(mumbai)
+919899566690(delhi)
##################################

Reply via email to