facebook

[Closed]Where is the WSDL?

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #260929 Reply

    Johan Kenens
    Member

    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&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; version=”2.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd”&gt;
    <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.

    #260932 Reply

    Johan Kenens
    Member

    OK, as I understood from this forum (after searching more) the WSDL is generated on the fly by the xfire servlet….but is is not in my case…using the webservices explorer.

    Any Idea?

    #260934 Reply

    Johan Kenens
    Member

    Solved…after restarting Tomcat.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed]Where is the WSDL?

You must be logged in to post in the forum log in