web service 客户端问题.请高手帮忙.[SOAPException: faultCode=SOAP-ENV:Protocol;

xiaozhang51 2007-01-29 05:07:29
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html; charset=utf-8", must starts with "text/xml". Response was:
<html><head><title>Apache Tomcat/5.5.17 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError
oracle.j2ee.ws.Verifier.class$(Verifier.java:33)
oracle.j2ee.ws.Verifier.initEjbMethodNames(Verifier.java:289)
oracle.j2ee.ws.Verifier.&lt;clinit&gt;(Verifier.java:265)
oracle.j2ee.ws.RpcWebService.verify(RpcWebService.java:682)
oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:523)
oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:467)
oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:614)
oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:225)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.17</h3></body></html>
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
at org.apache.soap.rpc.Call.invoke(Call.java:268)
at com.rezlink.report.ws.common.ReportWebStub.runReport(ReportWebStub.java:84)
at com.rezlink.report.ws.common.ReportWebStub.main(ReportWebStub.java:125)
...全文
1070 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
jstl1point0 2008-08-01
  • 打赏
  • 举报
回复
good,good!!
JJZHK 2007-06-07
  • 打赏
  • 举报
回复
faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html;
你把你客户端访问web service的地址的代码贴上来,从这句话可以看出,你访问的web service地址又问题,怎么会是text/html呢?
xiaozhang51 2007-06-07
  • 打赏
  • 举报
回复
未解决
wxg1008 2007-02-05
  • 打赏
  • 举报
回复
搂主解决了没?小弟今天碰到一模一样的问题了,Unsupported response content type "text/html; charset=utf-8", must starts with "text/xml"

67,549

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧