14 years ago
SoapUI Test errors / issues .
Hi Gurus ,
I am using SoapUI to test GenericSoapService and using WS-Security's oracle/wss11_username_token_with_message_protection_client_policy . When executing the service from SoapUI is creating errors as shown below :
[2012-02-01T00:14:04.976-06:00] [UCM_server1] [ERROR] [WSM-00036] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] The signed message elements or parts do not comply with the policy. The following headers/elements (<name space: local name>) or attachments (<attachment ID: attachment type>) must be signed:- [[
< http://docs.oasis-open.org/wss/2004/01/ ... xt-1.0.xsd: UsernameToken >
< http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd: Timestamp >
< http://schemas.xmlsoap.org/soap/envelope/: Body >
]]
[2012-02-01T00:14:04.977-06:00] [UCM_server1] [ERROR] [WSM-00006] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Error in receiving the request: WSM-00036.
[2012-02-01T00:14:04.977-06:00] [UCM_server1] [ERROR] [WSM-07607] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.
[2012-02-01T00:14:04.978-06:00] [UCM_server1] [ERROR] [WSM-07602] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in WS-Policy Execution due to exception.
[2012-02-01T00:14:04.978-06:00] [UCM_server1] [ERROR] [WSM-07501] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=Oracle UCM Web Services, composite=null, modelObj=GenericSoapService, policy=oracle/wss11_username_token_with_message_protection_service_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.
[2012-02-01T00:14:04.982-06:00] [UCM_server1] [ERROR] [] [oracle.wsm.agent.handler.wls.WSMAgentHook] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [APP: Oracle UCM Web Services] WSMAgentHook: An Exception is thrown: FailedCheck : failure in security check
[2012-02-01T00:14:04.983-06:00] [UCM_server1] [WARNING] [] [oracle.wsm.agent.handler.wls.WLSPropertyUtils] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [APP: Oracle UCM Web Services] WLSPropertyUtils:getOperationName(),operation name is null
stating that three parts must be signed!
Basically it thinks that the parts created for OutgoingPolicy are to be signed and that's where the error is happening .
Have attached a word document which shows the outgoing WS policy configured .
Any help / pointers would be really helpful . I am totally out of ideas .
Thanks
Srinath
I am using SoapUI to test GenericSoapService and using WS-Security's oracle/wss11_username_token_with_message_protection_client_policy . When executing the service from SoapUI is creating errors as shown below :
[2012-02-01T00:14:04.976-06:00] [UCM_server1] [ERROR] [WSM-00036] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] The signed message elements or parts do not comply with the policy. The following headers/elements (<name space: local name>) or attachments (<attachment ID: attachment type>) must be signed:- [[
< http://docs.oasis-open.org/wss/2004/01/ ... xt-1.0.xsd: UsernameToken >
< http://docs.oasis-open.org/wss/2004/01/ ... ty-1.0.xsd: Timestamp >
< http://schemas.xmlsoap.org/soap/envelope/: Body >
]]
[2012-02-01T00:14:04.977-06:00] [UCM_server1] [ERROR] [WSM-00006] [oracle.wsm.resources.security] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Error in receiving the request: WSM-00036.
[2012-02-01T00:14:04.977-06:00] [UCM_server1] [ERROR] [WSM-07607] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates executor class oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.
[2012-02-01T00:14:04.978-06:00] [UCM_server1] [ERROR] [WSM-07602] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in WS-Policy Execution due to exception.
[2012-02-01T00:14:04.978-06:00] [UCM_server1] [ERROR] [WSM-07501] [oracle.wsm.resources.enforcement] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [WSM_POLICY_NAME: oracle/wss11_username_token_with_message_protection_service_policy] [APP: Oracle UCM Web Services] Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=Oracle UCM Web Services, composite=null, modelObj=GenericSoapService, policy=oracle/wss11_username_token_with_message_protection_service_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.
[2012-02-01T00:14:04.982-06:00] [UCM_server1] [ERROR] [] [oracle.wsm.agent.handler.wls.WSMAgentHook] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [APP: Oracle UCM Web Services] WSMAgentHook: An Exception is thrown: FailedCheck : failure in security check
[2012-02-01T00:14:04.983-06:00] [UCM_server1] [WARNING] [] [oracle.wsm.agent.handler.wls.WLSPropertyUtils] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: d5be65a3bb6e024e:-35d14ff6:1352d1421af:-8000-0000000000001806,0] [APP: Oracle UCM Web Services] WLSPropertyUtils:getOperationName(),operation name is null
stating that three parts must be signed!
Basically it thinks that the parts created for OutgoingPolicy are to be signed and that's where the error is happening .
Have attached a word document which shows the outgoing WS policy configured .
Any help / pointers would be really helpful . I am totally out of ideas .
Thanks
Srinath