wood burning stoves*
The moose likes Web Services and the fly likes using apache soap webservice in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "using apache soap webservice in jboss" Watch "using apache soap webservice in jboss" New topic

using apache soap webservice in jboss

prasanna kalvit

Joined: Dec 04, 2008
Posts: 5
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

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
</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

Joined: Mar 22, 2005
Posts: 41034
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.

Ping & DNS - my free Android networking tools app
Consider Paul's rocket mass heater.
subject: using apache soap webservice in jboss
Similar Threads
Regarding struts with ajax
How to Implement POST Method in RESTFul web services using Jersey
Servlets not loading
unable to configure custom error pages
Data Alignment