Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using apache soap webservice in jboss

 
prasanna kalvit
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am using apache soap webservice in Jboss client and server side. and when i called invoke methode from client side thorws me a following error.
server is running properly. and added following jar file into my classpath
=========================
activation.jar
mail.jar
soap.jar
xerces.jar
xercesImpl.jar
servlet.jar

is any other jar file required ?



javax.servlet.ServletException: Unsupported response content type "text/html; charset=utf-8", must be: "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: Error building response envelope: java.lang.NullPointerException
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:353)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
</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>
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

The service access caused an error on the server which you need to track down. What you got is the error page in HTML. Once the problem is fixed, the resulting response should be XML, not HTML. the important part of the error page is this:
The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

That's where you need to look for clues on what caused the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic