Sounds like a classpath problem, I think where do you have xerces.jar 
located.  should be in the lib dir of tomcat.

Ned Wolpert wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Folks-
>
>  I'm trying to get tomcat 4.0 (just released, finally) working with soap 2.2. 
>(I've been using tomcat 3.2.3 just fine for some time.) During a registration, I
>got the following response from Catalina:
>
>Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
>msg=Unsupported response content type "text/html", must be: "text/xml".
>Response was:
>  javax.servlet.ServletException: Servlet execution threw an exception
>        at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
>Source)
>        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
>        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
>        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
>.....
>
>I was calling "servlet/rpcrouter deploy" method, using a dd file that I have
>been using find with tomcat 3.2.3.  Does this sound familiar?  None of my code
>has changed between using tomcat 3.2.3 and tomcat 4.0.  Is this a problem with
>a) Catalina, b) Soap2.2, c) My dd file?  (Shown at the bottom here.)  Thanks.  
>
>
>
>dd.xml file: 
><isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
>             id="urn:kn.delivery.mm">
>  <isd:provider type="java"
>                scope="Application"
>                methods="getServerOwners getCourses getMedia">
>    <isd:java class="org.mv.delivery.mm.services.ServerInfo" static="false"/>
>  </isd:provider>
>  <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
></isd:service>
>
>
>
>
>Virtually, 
>Ned Wolpert <[EMAIL PROTECTED]>
>
>D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.6 (GNU/Linux)
>Comment: For info see http://www.gnupg.org
>
>iD8DBQE7qQZLiysnOdCML0URAqhgAJ9luSBIdx3R5hQEkOwOY4rxsMIuyACcDEtS
>qjpubWa2KtqAEyBmO9jheOc=
>=Qhq+
>-----END PGP SIGNATURE-----
>



Reply via email to