|
I need to access a protected WS protected. Either Basic,
Digest or NTLM would do. From the source file of org.apache.axis2.client.Options
(Axis2 1.1) I read, in the documentation for the method setProperty(String ,
Object), this bit that seems useful <p><a
name="BASIC_AUTHENTICATION"></a></p>
* <li><b>org.apache.axis2.transport.http.HTTPConstants.BASIC_AUTHENTICATION</b>
* <p>This enables the user to pass in basic authentication information, such
as host, port, realm, username, password to be used with HTTP transport sender.
</p>
* <p/>
* <p>The value should always be an instance of: </p>
* <pre>org.apache.axis2.transport.http.HttpTransportProperties.BasicAuthentication</pre> *
</li> This would be just what I
want but in the class org.apache.axis2.transport.http.HttpTransportProperties
there is no BasicAuthentication whatsoever! There are only Authenticator,
MailProperties and ProxyProperties as inner classes and only ProxyProperties
has a constructor. What’s wrong, how do I
set the operationClient to perform a Basic Authentication? Thanks Thomas --------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and its attachments are addressed solely to the persons above and may contain confidential information. If you have received the message in error, be informed that any use of the content hereof is prohibited. Please return it immediately to the sender and delete the message. Should you have any questions, please contact us by replying to [EMAIL PROTECTED]. Thank you www.telecomitalia.it -------------------------------------------------------------------- |
