How to invoke webMethods webService from WebSphere 40

I have a webMethods (4.6) service protected by an ACL.The webservice generated from this is set to Anonymous.The websphere client is unable to launch the client.jsp page probably because it is unable to provide userID and password.If I change the service ACL to Anonynous everything works great. What needs to be done on the client side to present the basic Auth?

Any help is greatly appreciated.

Manohar Hiremagalore

I got the clue from one of the site. You need to add the following code in the client code generated from webMethods wsdl.

SOAPHTTPConnection hc = new SOAPHTTPConnection();

Manohar Hiremagalore
Prosoft Technology group