Ok, so it turns out that my configuration file was in the wrong directory and was not being recognized. After I moved it to the right spot I still receive the same error but I can now view the messages. These are the messages:
Aug 4, 2009 1:04:30 PM org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose INFO: Outbound Message --------------------------- ID: 1 Address: http://services.dev.mimeo.com/EnterpriseServices/2008/09/PaymentService.svc Encoding: UTF-8 Content-Type: application/soap+xml; action="http://schemas.mimeo.com/EnterpriseServices/2008/09/PaymentService/PaymentServiceContract/GetUserCreditLimit" Headers: {Accept=[*/*]} Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="true"> <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-1"> <wsse:Username>USERNAME</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD</wsse:Password> </wsse:UsernameToken> </wsse:Security> <Action xmlns="http://www.w3.org/2005/08/addressing">http://schemas.mimeo.com/EnterpriseServices/2008/09/PaymentService/PaymentServiceContract/GetUserCreditLimit</Action> <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:53e0676b-2891-4fd3-9169-4c01938b205d</MessageID> <To xmlns="http://www.w3.org/2005/08/addressing">http://services.dev.mimeo.com/EnterpriseServices/2008/09/PaymentService.svc</To> <ReplyTo xmlns="http://www.w3.org/2005/08/addressing"><Address>http://www.w3.org/2005/08/addressing/anonymous</Address></ReplyTo> </soap:Header> <soap:Body> <ns2:GetUserCreditLimit xmlns:ns2="http://schemas.mimeo.com/EnterpriseServices/2008/09/PaymentService" /> </soap:Body> </soap:Envelope> -------------------------------------- Aug 4, 2009 1:04:30 PM org.apache.cxf.interceptor.LoggingInInterceptor logging INFO: Inbound Message ---------------------------- ID: 1 Encoding: UTF-8 Content-Type: application/soap+xml; charset=utf-8 Headers: {content-type=[application/soap+xml; charset=utf-8], X-AspNet-Version=[2.0.50727], connection=[close], Date=[Tue, 04 Aug 2009 17:04:30 GMT], X-Powered-By=[ASP.NET], Server=[Microsoft-IIS/6.0], Cache-Control=[private]} Payload: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action> <a:RelatesTo>urn:uuid:53e0676b-2891-4fd3-9169-4c01938b205d</a:RelatesTo> </s:Header> <s:Body> <s:Fault> <s:Code> <s:Value>s:Sender</s:Value> <s:Subcode> <s:Value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</s:Value> </s:Subcode> </s:Code> <s:Reason> <s:Text xml:lang="en-US">An error occurred when verifying security for the message.</s:Text> </s:Reason> </s:Fault> </s:Body> </s:Envelope> -------------------------------------- I know that my username/password is correct so is there something that I would have to add to my config file in order to get verification on the inbound message? -- View this message in context: http://www.nabble.com/Error-verifying-security-tp24646371p24813897.html Sent from the cxf-user mailing list archive at Nabble.com.
