wood burning stoves 2.0*
The moose likes Web Services and the fly likes Need help please... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need help please..." Watch "Need help please..." New topic
Author

Need help please...

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hey all.
I need some help please.
I am using Axis 1.1 and Tomcat 4.1.27 LE and SDK 1.4.2.
I have created a simple class representing a book (name and author fields) and a BookStore
class which creates some books.
I put the class files of Book and BookStore under axis/WEB-INF/classes dir
the deployment descriptor for this service is :

then I deployed the service (checking happyaxis.jsp and every thing is OK).
then I wrote the following command :
java org.apache.axis.wsdl.WSDL2Java -v bookservice.wsdl
and I got the following :
bookns/Book.java
localhost/axis/services/bookservice/Book.java
localhost/axis/services/bookservice/BookStore.java
localhost/axis/services/bookservice/BookserviceSoapBindingStub.java
localhost/axis/services/bookservice/BookStoreServiceLocator.java
I compiled these files and put them under webapps/myws/WEB-INF/classes dir
(later I put them under axis/WEB-INF/classes also).
and I put xercexImpl.jar under %CATALINA_HOME%\commons/lib
and copied all axis's jar files to commons/lib dir
I have the following servlet :

this line :
result = ((BookserviceSoapBindingStub)bs).getBookById(2);
is producing JasperException with a null getMessege( ) !
I tried the following command :
then I wrote the following command :
java org.apache.axis.wsdl.WSDL2Java -v -s bookservice.wsdl
its produced some extra files and a new deploy.wsdd file.
some help ranchers please.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help please...