I've more elements ... maybe you will find a solution
I've noticed that when i launch one of the samples i also get this error :
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
plus this one :
2001-09-04 17:08:04 - Ctx(/soap) : Exception in R( /soap + /servlet/rpcrouter +null) - java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method getSession()Ljavax/servlet/http/HttpSession; not found
and this one :
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was: ...
in the SOAP troubleshooting documentation they say "The router URL you are using is incorrect or you have not started the server. Basically the problem is there's nothing listening at the host/port combination you are connecting to. Try pointing a Web browser to the router URL- you should see what's indicated in the installation tests."
but when i enter http://localhost:8080/soap/servlet/rpcrouter in my browser it responds fine... where is the problem ? i think I've followed each step of the Installation Instructions for Apache SOAP v2.2
regards
[EMAIL PROTECTED]
09/04/2001 04:22 PM
|
To: [EMAIL PROTECTED] cc: Subject: beginner question about samples included in SOAP install |
hi all, I've for the first time installed apache, jakarta-tomcat-3.3-m4 , xerces 1.4.3 and SOAP 2.2. i think i have followed each install steps....
now to test if everything is okay i tried to launch any of the samples give with SOAP install... (for example : the calculator)
when i launch the testit.cmd i get this :
This test assumes a server URL of http://localhost:8080/soap/servlet/rpcrouter
Deploying the calculator service...
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be: "text/xml". Response was:
<head><title>Error: 500</title></head>
<body>
<h1>Error: 500</h1>
<h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet Error:</b><br>
<pre>java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method
getSession()Ljavax/servlet/http/HttpSession; not found
at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.
java, Compiled Code).........
its the same when i go under Apache-SOAP admin client and click on DEPLOY (to deploy a web service) i get always this error but returned in an other way :
JspFactoryImpl: Exception initializing page context - java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method getSession()Ljavax/servlet/http/HttpSession; not found
here is my classpath :
C:\apache\soap-2_2;
C:\apache\xerces-1_4_3\xerces.jar;
C:\apache\jakarta-tomcat-3.3-m4\webapps\Hello;
C:\apache\soap-2_2\lib\soap.jar;
C:\jdk1.2.2;
C:\jdk1.2.2\bin;
C:\jdk1.2.2\lib\tools.jar;
C:\lib\javamail-1.2\mail.jar;
C:\lib\jaf-1.0.1\activation.jar;
C:\lib\bsf-2_2\lib\bsf.jar;
C:\lib\rhino1_5R2\js.jar;
any idea ??
regards,
Elise