facebook

WebService – Deployment did not create WSDL

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

    spulluru2
    Member

    Followed the material in developing web services – code first web service development.

    When trying to test the web service, it says select WSDL file, but none is generated or listed. It shows empty.

    #271194 Reply

    Loyal Water
    Member

    I think you are trying to run Java 5 (version 49) code with Java 1.4 (version 48) or the other way around. While creating your WebServices project, whats was the J2EE specification level that you choose ? Make sure your Tomcat is using the same version of JDK.

    #271217 Reply

    spulluru2
    Member

    @support-nipun wrote:

    I think you are trying to run Java 5 (version 49) code with Java 1.4 (version 48) or the other way around. While creating your WebServices project, whats was the J2EE specification level that you choose ? Make sure your Tomcat is using the same version of JDK.

    1) testing with Java 5 , Tomcat is using the same version.
    2) wondering when and where exactly wsdl will be created. as per the material, after creating bean , I went to web services explorer. In navigator, there are no entries listed under WSDL menu. it is empty.
    Did I miss something or some step? Please let me know.

    3) On investigation, I noticed windows explorer shows C:\myEclipseWS\HelloWorld\WebRoot\WEB-INF\classes\META-INF\xfire . But in MyEclipse Web-Inf does not show any folder like ‘folder’ .

    Let me know if I miss something.

    #271218 Reply

    spulluru2
    Member

    correction to above post:

    MyEclipse does not show classes folder under web-inf

    #271242 Reply

    Loyal Water
    Member

    2) wondering when and where exactly wsdl will be created.

    The WSDL gets created in section 5 of the tutorial (MyEclipse Code-First Web Services Quickstart ).

    Can you paste the messages you get in your Tomcat console when you try to add the wsdl on the wsdl page in the web service explorer.

    #271293 Reply

    spulluru2
    Member

    AFter section 5, it did not create any WSDL file.

    I deployed this on Tomcat server, I started the server, and tried to enter the access the URL in step 8. But there is no WSDL to select. I looked up in the console it did not say any error.

    I started Tomcat outside of MyEclipse, it opened another window, no error messages either.

    #271311 Reply

    Loyal Water
    Member

    If you are trying to search for a file with .wsdl extension then you will not find any such file. If you have successfully deployed your webservice in Step 6, you should be able to see your wsdl in IE using this URL
    http://localhost:8080/HelloWorld/services/HelloWorldService?wsdl

    Make sure Tomcat is running.

    #271623 Reply

    spulluru2
    Member

    It worked fine. Actual Problem is Tomcat is using 1.5 , web service created with 1.4 by default.

    Thanks Nipun

    #271678 Reply

    Loyal Water
    Member

    Glad to know it work 🙂 Your Welcome.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: WebService – Deployment did not create WSDL

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