>
>Hi:
>
>I have successfully config soap with tomcat3.2.2. But failed when I use soap on resin.
>
>Have anybody test resin?
>
>Regards
>
>fanyun

Hi there..
I could not make it work with Xerces 1.3, but 1.2.3 and 1.4 works great?
What version of Resin are you using?
I'm successfully using Resin1.2.1 and 1.3.b1 ...hmm... time to upgrade? :O)
I put all the soap stuff into /usr/local/resin/doc/soap/ as a web application

Here are the bits from my configs... (sorry if lines are too long)

******************************************
THIS IS IN /usr/local/resin/conf/resin.conf
******************************************
<web-app id="soap">
        <classpath id='WEB-INF/classes'
                        source='WEB-INF/classes'
                        compile='true'/>
</web-app>


******************************************
THIS IS IN /usr/local/resin/doc/soap/WEB-INF/web.xml
******************************************
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<web-app>
  <display-name>Apache-SOAP</display-name>
  <description>no description</description>
  <servlet>
    <servlet-name>rpcrouter</servlet-name>
    <display-name>Apache-SOAP RPC Router</display-name>
    <description>no description</description>
    <servlet-class>
        org.apache.soap.server.http.RPCRouterServlet
    </servlet-class>
    <init-param>
      <param-name>faultListener</param-name>
      <param-value>org.apache.soap.server.DOMFaultListener</param-value>
    </init-param>
  </servlet>

  <servlet>
    <servlet-name>messagerouter</servlet-name>
    <display-name>Apache-SOAP Message Router</display-name>
    <servlet-class>
        org.apache.soap.server.http.MessageRouterServlet
    </servlet-class>
    <init-param>
      <param-name>faultListener</param-name>
      <param-value>org.apache.soap.server.DOMFaultListener</param-value>
    </init-param>
  </servlet>

  <servlet-mapping>
    <servlet-name>rpcrouter</servlet-name>
    <url-pattern>servlet/rpcrouter</url-pattern>
  </servlet-mapping>

  <servlet-mapping>
    <servlet-name>messagerouter</servlet-name>
    <url-pattern>servlet/messagerouter</url-pattern>
  </servlet-mapping>
</web-app>

Sincerely and good luck (LOVE Cauchos little resin),
Dennis Petersen

Reply via email to