aspose file tools*
The moose likes Web Services and the fly likes There is no service in specified wsdl file - Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "There is no service in specified wsdl file - Error" Watch "There is no service in specified wsdl file - Error" New topic
Author

There is no service in specified wsdl file - Error

Alex Parvan
Ranch Hand

Joined: Dec 10, 2009
Posts: 115
Hi, i'm getting this error when i want to create the web service in netbeans: there is no service in specified wsdl file

As far as i know, the wsdl is complete Here it is:


What am i doing wrong ? Please help.


"Quoting yourself is stupid" - Me
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Even when an operation does not take any parameters, you must have an <input> element inside its <operation> element, like this:

If you do not specify an <input> element, your operation will be a notification operation (see http://www.w3.org/TR/wsdl#_notification). This message exchange pattern is not allowed by the WS-I Basic Profile.
The input message for the above operation looks like this:

Hope this helps!
Alex Parvan
Ranch Hand

Joined: Dec 10, 2009
Posts: 115
I tried that and it works. Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: There is no service in specified wsdl file - Error