*
The moose likes Web Services and the fly likes Webservices + Jrun Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservices + Jrun" Watch "Webservices + Jrun" New topic
Author

Webservices + Jrun

Hari Achyuta
Greenhorn

Joined: Dec 21, 2006
Posts: 1
I am using JRUN to deploy my webservices.
I wrote a java interface, HPExampleJRUN.java
Did java2wsdl and wsdl2java. Both are successful.
I got 5 java files generated thru wsdl2java,

HPExampleJRUNService.java
HPExampleJRUNServiceLocator.java
HPExampleJRUNWSSoapBindingImpl.java
HPExampleJRUNWSSoapBindingStub.java
HPExampleJRUNWSSoapBindingImplSkeleton.java


compiled them and placed all of them in the JRUN web application directory. Added a service element in server-config.wsdd.
Opened a browser and typed in http://localhost:8101/travelnet/services/HPExampleJRUN?wsdl
it gave me wsdl.

Now I wrote a Client that uses this webservice.
I got the following error:
An Axis Fault occurred: java.lang.InstantiationException: jrun.com.example.HPExampleJRUN

Looks like i am something is going wrong with the invoke method. Here is the entire code:



Can someone help me with this, couldn't understand why this error is generated.
Thanks,
KHP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservices + Jrun
 
Similar Threads
STUB, Dynamic Proxy, DII
My first webservice call
Use Web Service
calling a webservice
Error in client for webservice on websphere 4.0