- This topic has 8 replies, 2 voices, and was last updated 17 years, 5 months ago by Loyal Water.
-
AuthorPosts
-
spulluru2MemberFollowed 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.
Loyal WaterMemberI 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.
spulluru2Member@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.
spulluru2Membercorrection to above post:
MyEclipse does not show classes folder under web-inf
Loyal WaterMember2) 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.
spulluru2MemberAFter 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.
Loyal WaterMemberIf 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?wsdlMake sure Tomcat is running.
spulluru2MemberIt worked fine. Actual Problem is Tomcat is using 1.5 , web service created with 1.4 by default.
Thanks Nipun
Loyal WaterMemberGlad to know it work 🙂 Your Welcome.
-
AuthorPosts