This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

implemenatation file is not getting generated

 
arpit maurya
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

First of all i am new to webservices. I am able to generate the stubs (java file) through WSConsume ant based on the WSDL file given but problem is implementation file (eg. AssetServiceImpl) is not getting generated.

Any idea/help?

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The service implementation will never be generated - it is not possible to tell how the service is to be implemented from only examining the WSDL.
There is still some work left for us software developers to do, despite all the good tools of today!
Best wishes!
 
arpit maurya
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ivan Krizsan wrote:Hi!
The service implementation will never be generated - it is not possible to tell how the service is to be implemented from only examining the WSDL.
There is still some work left for us software developers to do, despite all the good tools of today!
Best wishes!
yeah I totally agree with you.. but if we try to generate it from eclipse it will give the implementation file also.. My question is if eclipse is able to generate the impl file based on the the WSDL given then why its not possible through wsconsume ant build? (please correct me if i am wrong as I am new to webservices..
 
Sathiesh Kumar Vs
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If I have not misunderstood you, what you mean here by an auto generated Impl must be just a Impl class that has the methods of the interface that just returns a null... That's the maximum eclipse or any tool can do, and you will have write your own implementation for that method that you are exposing as a web service.

If you are worried only about this empty Impl class that is not getting generated, please go thru the WSConsume features. You definitely should be able to write your own impl. I cannot give you better idea on it because I have not used JBOSS ever...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic