You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Martin Gainty <mg...@hotmail.com> on 2003/05/19 00:15:30 UTC

Re: NoSuchMethodError: getServiceManagerFromContext and soap source compiling failure

Scott-
Does your class extend ServerHTTPUtils?
My June 11 2002 soap.jar contains ServerHTTPUtils does your soap.jar have
this class?
-Martin
----- Original Message -----
From: "Liu, Scott" <SL...@netledger.com>
To: <so...@ws.apache.org>
Sent: Monday, May 19, 2003 6:07 PM
Subject: NoSuchMethodError: getServiceManagerFromContext and soap source
compiling failure


I have two related questions

1. I have added soap.jar from version 2.3 release to the lib and sucessfully
deployed it in the servlet container. When I tried to deploy a service
it failed to find ServerHTTPUtils.getServiceManagerFromContext. Does anyone
have any idea?

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=Unsupported response content type "text/html", must be: "text/xml".
Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY><H1>500 Internal Server Error</H1>
<PRE>
java.lang.NoSuchMethodError:
org.apache.soap.server.http.ServerHTTPUtils.getServiceManagerFromContext(Lja
vax/servlet/ServletContext;Ljava/lang/String;)Lorg/apache/soap/server/Servic
eManager;
<br>    at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:21
2)
<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
<br>    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
<br>    at
com.netledger.core.filters.NLStickySnippetFilter.doFilter(NLStickySnippetFil
ter.java:34)
<br>    at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for
J2EE].server.http.
EvermindFilterChain.doFilter(EvermindFilterChain.java:16)

2. This question was asked by another user. But I had a similar experience.
Since I could not find what was wrong in the soap.jar I decided to compile
the soap source code. The compiling filed on not being able to find
com.ibm.xmi.*,
stuff.

Any suggestions?

thanks,

Scott