[ 
https://issues.apache.org/jira/browse/AXIS2-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502184
 ] 

Davanum Srinivas commented on AXIS2-2678:
-----------------------------------------

Shweta, Please follow instructions here for NTLM. http://wso2.org/library/161

thanks,
dims

> Security requirements are not satisfied because the security header is not 
> present in the incoming message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2678
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2678
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Task
>          Components: Addressing, kernel, modules, transports, wsdl
>    Affects Versions: 1.2
>         Environment: WSE 3.0 Service, Win XP Client m/c , AXIS2 1.2 Client, 
>            Reporter: Shweta Desai
>            Priority: Critical
>
> For Authentication I have written belwo code at Client side.
> Servcie is written in WSE 3.0 using microsoft technology.Client is sync code.
> ServiceClient serviceclient=caledd._getServiceClient();       
> Options o =serviceclient.getOptions();
> HttpTransportProperties.Authenticator basicAuthentication = new 
> HttpTransportProperties.Authenticator();
>       basicAuthentication.setUsername("username");
>       basicAuthentication.setPassword("password");    
>       //basicAuthentication.setAllowedRetry(true);
>                    
>       o.setProperty( org.apache.axis2.Constants.Configuration.TRANSPORT_URL 
> ,"http:\\myurl");
>       o.setProperty(HTTPConstants.AUTHENTICATE, basicAuthentication); 
> But I have received error as written below.
> May 16, 2007 2:47:58 PM org.apache.commons.httpclient.HttpMethodBase 
> readResponse
> INFO: Discarding unexpected response: HTTP/1.1 100 Continue
> org.apache.axis2.AxisFault: Security requirements are not satisfied because 
> the security header is not present in the incoming message.
> at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
> at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
> at 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
> Your input is very much appriciated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to