You
need to set the Stub.USERNAME_PROPERTY and Stub.PASSWORD_PROPERTY using
Stub._setProperty().
--
Tom
Jordahl
Macromedia
-----Original Message-----
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 1:36 PM
To: '[EMAIL PROTECTED]'
Subject: How to control the Call object in code generated by WSDL2Java?
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 1:36 PM
To: '[EMAIL PROTECTED]'
Subject: How to control the Call object in code generated by WSDL2Java?
I have used WSDL2Java to generate my Web Service. I need to set the username and password properties on the Call object before I send out the SOAP message. How can I do that? Currently the client code that invokes the call looks like this:
nodeService nodeService = new
nodeServiceLocator();
Node node =
nodeService.getMyService();
node.doStuff(); // creates and invokes the Call object
I don't know how to exert this level of control on the Call object that is essentially created and invoked in the doStuff() method of the stub created by WSDL2Java. Is this really possible?
Thanks.
Naresh
