[英]java.security.PrivilegedActionException while hitting webservices over https
I am getting the following exception, when i am trying to hit the webservice over https using java client:当我尝试使用 java 客户端通过 https 访问网络服务时,出现以下异常:
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post SEVERE: SAAJ0009: Message send failed com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:157) at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post 严重:SAAJ0009:消息发送失败 com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:java.security.PrivilegedActionException:com.sun.xml .internal.messaging.saaj.SOAPExceptionImpl:消息发送在 com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:157) 失败
Also if i use the same code for http , it works fine.此外,如果我对 http 使用相同的代码,它工作正常。 Webservices are deployed on weblogic server.
Webservices 部署在 weblogic 服务器上。 Could anyone help me in resolving the issue.
谁能帮我解决这个问题。
Regards Gurleen.问候古林。
The exception says that message cannot be sent.异常表示无法发送消息。 Is it a firewall problem like for the same question here : http://www.coderanch.com/t/223309/Web-Services/java/Sending-Soap-requests-thru-Https
这是一个防火墙问题,就像这里的同一个问题: http : //www.coderanch.com/t/223309/Web-Services/java/Sending-Soap-requests-thru-Https
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.