• Post Reply Bookmark Topic Watch Topic
  • New Topic

org.apache.axis2.AxisFault Exception occurred while trying to invoke service method

 
ahmet oguz
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am very new On Web services. I write a simple class that have a function Say hello(takes a parameter and returns "Hi" + parameter). I deploy it on tomcat, and it is runnig.
After this I generate client side with Axis2 ADB from wsdl and write a simple Client class . When i running the client I take an error:
org.apache.axis2.AxisFault:
Exception occurred while trying to invoke service method sayHello
How i can solve this problem?
my second problem is suprising me verymuch?

2)
I have got a successful simple Server and client application and
I stop the apache tomcat, Then I change the server class function, then while the tomcat stop, how to client effects from this change? I dont understand it? if i explain with details:
First:
my server funtion
public String sayHello(String name){
return "Hi," + name;
}
when i run the client in the console
it gives me
hi tom
Everthing is ok, after this, i stop the apache tomcat
then i change the server class function

public String sayHello(String name){
return "Hi everybody and," + name;
}
I compile the class and when i run the client it gives me
Hi everybody and Tom

I dont understand it tomcat doesnt run how to client takes this change?
Can anybody help me at this point?
Please help me how can i solve this problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!