Hi all,
I’m new to MyEclipse. I’m trying out the web services features at the moment. Although the example in the tutorial deploys OK, the WSDL is not generated? Shouldn’t it? I can see in WebRoot/WEB-INF/web.xml that the xfire servlet mapping is there. The url with ….?WSDL gives the error:
WSDLException: faultCode=OTHER_ERROR: ….(url)…?WSDL
web.xml is
<?xml version=”1.0″ encoding=”UTF-8″?>
<web-app xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” version=”2.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”>
<servlet>
<servlet-name>XFireServlet</servlet-name>
<servlet-class>org.codehaus.xfire.transport.http.XFireConfigurableServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
</web-app>
Any help is very much appreciated.