This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservices + Jrun

Hari Achyuta
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JRUN to deploy my webservices.
I wrote a java interface,
Did java2wsdl and wsdl2java. Both are successful.
I got 5 java files generated thru wsdl2java,

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:

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic