You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Shweta Desai (JIRA)" <ji...@apache.org> on 2007/06/01 01:19:15 UTC

[jira] Updated: (AXIS2-2678) Security requirements are not satisfied because the security header is not present in the incoming message.

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

Shweta Desai updated AXIS2-2678:
--------------------------------

    Issue Type: Task  (was: Bug)

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org