aspose file tools*
The moose likes Web Services and the fly likes New to web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "New to web services" Watch "New to web services" New topic
Author

New to web services

Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Hello all,

I started learning Web Services. I wrote my first piece of code from the example that was given in the book. But when i run it, it does not behanve the way its supposed to! I see the wsdl file generated and see the error:



I googled for this, but could not find too many concrete stuff. The one's i found did not help.

Here is the WSDL file:





I am not sure what other information to provide, if you need anything just ask. I am using Tomcat 7.0
Kesava Krishna
Ranch Hand

Joined: Sep 03, 2012
Posts: 42
Hi Somnath,

Are you getting the error while accessing the webservice from a client. If such please post your client code.

Thanks,
Kesava
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
No, I haven't reached that far yet. I see this error when i try to open the wsdl file in a browser.
Kesava Krishna
Ranch Hand

Joined: Sep 03, 2012
Posts: 42
Can you let me know how are you trying to access the wsdl, I mean the url you are using to launch the wsdl.

Thanks,
Kesava.
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Well i deployed the code on Tomcat. Then started the application on a browser. Went to the Services section, then got the wsdl URL from there. And copy pasted it on another tab.

This is what i saw in the browser as the WSDL URL:

http://localhost:9090/WSTestOther/services/WSNewTestImplService
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Where is the edit button??

Anyways, I see this error in the console:

 
 
subject: New to web services