Hi All,

I am not sure if we can do HTTP basic authentication with SCA client, like
below...
stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, "username");
stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, "password");

I have tried to cast service object to Stub but couldnt successful to do
it.
Please let me know if anybody has idea on it. I have also gone thorough with
the policy sample, but i want just simple basic HTTP authentication and want
to pass username/passowrd in header of HTTP message. Service is already
running under HTTP basic authenitcation and JAX-RPC client (using generated
classes/ proxy from WSDL) is working fine with it by passing above
properties.

Please let me know if you required more input for my question.

Thanks,
Nishant

Reply via email to