You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by fanyun <yu...@vtradex.com> on 2001/07/10 05:23:44 UTC

have anyone config soap on resin

Hi:

I have successfully config soap with tomcat3.2.2. But failed when I use soap on resin.

Have anybody test resin?




Regards

fanyun

RE: have anyone config soap on resin

Posted by Dennis Petersen <fe...@software.dk>.
>
>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


RE: have anyone config soap on resin

Posted by Dennis Petersen <fe...@software.dk>.
>
>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