I'm trying to implement a web service using CXF on Caucho Resin, and I found 
this page on the Caucho wiki about configuring Resin for this purpose: 
http://wiki.caucho.com/CXF

It shows the following web.xml example:

<web-app xmlns="http://caucho.com/ns/resin";>
 <servlet-mapping url-pattern='/StrLenDemo/*' servlet-class='demo.StrLenDemo'/>

 <servlet-mapping url-pattern='/StrLen/*' servlet-class='demo.StrLenImpl'>
    <protocol uri="cxf:"/>
  </servlet-mapping>

  <remote-client interface="demo.StrLen" name="StrLenClient">
    <uri>cxf:url=http://localhost:8080/cxf/StrLen/StrLenImpl</uri>
  </remote-client>
</web-app>

I tried using this example, substituting my own class names, etc. where 
appropriate, but when try to load the server, I get this error:
[15:44:11.012] WEB-INF/resin-web.xml:9: 
com.caucho.config.types.BeanConfig.setUri(): 'cxf' is an unknown scheme for 
driver 'com.caucho.remote.server.ProtocolServletFactory'.  The available 
schemes are '[burlap, hessian]'

I don't what I have to do to run a CXF based web service on Resin.  Has anyone 
on this list successfully done this?

Thanks,
Hans Loeblich

Reply via email to