Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

There is no service in specified wsdl file - Error

 
Alex Parvan
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried that and it works. Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic