Hi,

Can some one let me know how to set UserName, password for accessing the
WSDL url?

Note Iam not using  "Call" to invoke the function, but using the stub
directly

These are the steps I have done
        * My WSDL is document style
        * generated stubs by specifying -U username -P password option -- 
        * Greped the code but didn't see any where userName , Password set
in the generated code
        * My Client program looks like this

                OMIService lOMIService = new OMIServiceLocator();
                URL serviceURL = new URL(args[0]);

                OMIPortType lPortType   =
lOMIService.getOMIBindingPort(serviceURL);
                GetRootObject  lSoapBody = new GetRootObject();

                ObjectName lRootObject = lPortType.getRootObject(lSoapBody);

        * I don't see any function to set userName , password 

regards,
Haneef

Reply via email to