Hi People!!!!

Reading some tutorials at wso2 and others, i've found some code how to 
configure proxy and ntlm, but my doubt is how i bind or set the options in the 
connection at the client ?
i will show and example:

The Proxy Auth code:

Options options = new Options();
 
HttpTransportProperties.Authenticator
   auth = new HttpTransportProperties.Authenticator();
auth.setUsername("username");
auth.setPassword("password");
// set if realm or domain is known

options.setProperty(org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, 
auth);

The WS connection:
ConfigurationContext ccObject = 
ConfigurationContextFactory.createConfigurationContextFromFileSystem(null , 
null);
WSServiceStub wsObject = new WSServiceStub(ccObject, _strEndPoint);


Which is the code that make the wsObject know about the proxy ?

Thanks in advance!

Flávio

____________________________________________________________
KEEP SPYWARE OFF YOUR COMPUTER - Protect your computer with Spyware Terminator!
Visit http://www.spywareterminator.com/install and find out more!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to