File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes implemenatation file is not getting generated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "implemenatation file is not getting generated" Watch "implemenatation file is not getting generated" New topic
Author

implemenatation file is not getting generated

arpit maurya
Greenhorn

Joined: Jul 29, 2011
Posts: 16
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
arpit maurya
Greenhorn

Joined: Jul 29, 2011
Posts: 16
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

Joined: Oct 24, 2010
Posts: 31
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...


Thanks and Regards,
Sathiesh.
 
Don't get me started about those stupid light bulbs.
 
subject: implemenatation file is not getting generated
 
Similar Threads
Hot Code Replace in websphere 5.1
Problem with Generated Exception Classes
how to handle com.evermind.server.http.HttpIOException: Connection reset by peer: socket write error
Need help using annotations with Axis2
How to achieve this?