I'm not sure, but I think I saw 

"Exception occurred while trying to invoke
service method"

before, when my service method raised an Exception.

Maybe, you could try to catch all Exception whit "catch (Exception ex) {" in 
the body of your service method, to see if the problem comes from Axis or from 
your method.

I hope this will Help

Regards

Samuel Rossille
-----Message d'origine-----
De : rajnishe [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 11 octobre 2007 15:27
À : [email protected]
Objet : Axis2 client


Hello All

I am using axis2 for webservice development.
When i run client first time it gives me error below .
But second time and later many times it runs successfully.
I am using jboss 4.0.2 server .
Now i restart server and try to run it again gives me this error.
So this error occured only one time when server is up .
Thanks in advance for your kind sugestion to solve this problem.

org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method createEvent
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
st.ict.qs.ws.client1.EventServiceStub.createEvent(EventServiceStub.java:205)
at test_case.test.main(test.java:47)

Best Regards
Rajnish Chauhan 
-- 
View this message in context: 
http://www.nabble.com/Axis2-client-tf4607258.html#a13155849
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to