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/05/17 00:23:16 UTC
[jira] Created: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
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: New Feature
Components: transports
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
[jira] Commented: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Shweta Desai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shweta Desai updated AXIS2-2678:
--------------------------------
Component/s: wsdl
modules
kernel
Addressing
Issue Type: Bug (was: New Feature)
> 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: Bug
> 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
[jira] Commented: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Brendan McKenna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499172 ]
Brendan McKenna commented on AXIS2-2678:
----------------------------------------
I can confirm that this is occurring under slightly different circumstances. We have web services (built and deployed using Axis 1.3) which require BASIC authentication. Using essentially the same set of code as was given above, with an Axis2 1.2 (ADB) client, we get the same results - the username and password are not present in the request being sent to the service, so the request fails.
> 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: Bug
> 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
[jira] Resolved: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-2678.
-------------------------------------
Resolution: Invalid
> 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
[jira] Commented: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498662 ]
Davanum Srinivas commented on AXIS2-2678:
-----------------------------------------
Are u sure it is expecting a BASIC authentication and not NTLM?
-- 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: Bug
> 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
[jira] Updated: (AXIS2-2678) Security requirements are not
satisfied because the security header is not present in the incoming
message.
Posted by "Shweta Desai (JIRA)" <ji...@apache.org>.
[ 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