• Post Reply Bookmark Topic Watch Topic
  • New Topic

Policy Verification Exception  RSS feed

 
Fred Victa
Ranch Hand
Posts: 206
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Web service and I'm sending XML messages to a certain client. I'll call him client X. I have been sending successful XML messages to client X for several months. Last week, I sent an XML message to client X and I received a Policy Verification Exception. This is the first time that this has happened. Does anyone know what this means and what could cause it? The only change I made on my end was a change to my security certificate. I updated my security certificate. Could this be the cause of the problem? Below is the stack trace of the exception.

org.apache.axis2.AxisFault: Microsoft.Web.Services2.Policy.PolicyVerificationException: WSE402: The message does not conform to the policy it was mapped to.
at Microsoft.Web.Services2.Policy.SimplePolicyVerifier.VerifyMessageWithExpression(PolicyExpression expression, SoapEnvelope message, EndpointReference endpoint, String action, Uri requestEndpoint)
at Microsoft.Web.Services2.Policy.SimplePolicyVerifier.Verify(SoapEnvelope message)
at Microsoft.Web.Services2.Policy.PolicyVerificationInputFilter.ProcessMessage(SoapEnvelope envelope)s
at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope
at Microsoft.Web.Services2.Messaging.SoapReceiver.FilterMessage(SoapEnvelope envelope)
at Microsoft.Web.Services2.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope message)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:571)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:502)
at com.copart.ws.pclaims.consumer.XMLPayloadProcessorAddRequest.sendReceive(XMLPayloadProcessorAddRequest.java:192)
at com.copart.ws.pclaims.consumer.XMLPayloadProcessorAddRequest.process(XMLPayloadProcessorAddRequest.java:167)
at com.copart.ws.pclaims.consumer.RequestProcessorAddRequest.processPayload(RequestProcessorAddRequest.java:201)
at com.copart.ws.pclaims.consumer.RequestProcessorAddRequest.process(RequestProcessorAddRequest.java:71)
at com.copart.ws.pclaims.consumer.assignment.AddRequestServlet.processRequest(AddRequestServlet.java:49)
at com.copart.ws.pclaims.consumer.assignment.BaseServlet.doPost(BaseServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:183)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)
2014-01-24 19:36:15,182 INFO RESIN - MailcapCommandMap: createDataContentHandler for text/plain
2014-01-24 19:36:15,182 INFO RESIN - search DB #1
2014-01-24 19:36:15,182 INFO RESIN - got content-handler
2014-01-24 19:36:15,183 INFO RESIN - class com.sun.mail.handlers.text_plain
log4j:ERROR Error occured while sending e-mail notification.
javax.mail.MessagingException: Unknown SMTP host: MAIL04;
nested exception is:
java.net.UnknownHostException: MAIL04
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.apache.log4j.net.SMTPAppender.sendBuffer(Unknown Source)
at org.apache.log4j.net.SMTPAppender.append(Unknown Source)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:194)
at org.apache.log4j.Category.forcedLog(Category.java:379)
at org.apache.log4j.Category.error(Category.java:310)
at com.copart.core.util.LogWriter.error(LogWriter.java:280)
at com.copart.ws.pclaims.consumer.RequestProcessorAddRequest.process(RequestProcessorAddRequest.java:99)
at com.copart.ws.pclaims.consumer.assignment.AddRequestServlet.processRequest(AddRequestServlet.java:49)
at com.copart.ws.pclaims.consumer.assignment.BaseServlet.doPost(BaseServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:154)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:183)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.UnknownHostException: MAIL04
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!