Hi all,

i am pretty new to XFire, but i am trying to create a web service that
will run on Jetty 6.1.6. But i am a bit stumped. I followed the start
from wsdl approach and have created a wsdl with relative schema
references (they reside in the same directory as the wsdl file)

this is my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

<web-app>
        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>/WEB-INF/classes/server.beans.xml</param-value>
        </context-param>

        <listener>
                <listener-class>
                        org.springframework.web.context.ContextLoaderListener
                </listener-class>
        </listener>

        <servlet>
                <servlet-name>XFireServlet</servlet-name>
                <servlet-class>
                        org.codehaus.xfire.spring.XFireSpringServlet
                </servlet-class>
        </servlet>
        
        <servlet-mapping>
                <servlet-name>XFireServlet</servlet-name>
                <url-pattern>/ws/*</url-pattern>
        </servlet-mapping>
</web-app>

When i start jetty, everything works fine, but when i approach the
wsdl file (for instance to create a client application using XFire
org.codehaus.xfire.gen.WsGenTask) he cannot reache the relative schema
reference. He wants to reach:
http://localhost:8080/myapp/ws/schema.xsd but since this maps to the
XFireServlet, he cant reach them.

How do i solve this? how can i configure the XFireServlet to only
handle requests regarding web services?


kind regards

Guy

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to