wood burning stoves 2.0*
The moose likes Web Services and the fly likes Running Axis2 web service client is generating an error at the client and the server side 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 "Running Axis2 web service client is generating an error at the client and the server side" Watch "Running Axis2 web service client is generating an error at the client and the server side" New topic
Author

Running Axis2 web service client is generating an error at the client and the server side

Haytham Douaihy
Greenhorn

Joined: May 10, 2012
Posts: 14

the client side error is :





while the server side error is






overview: i am using springsourcetool (similar to eclipse) as the development IDE. Glassfish as the application server. the web service is ChequeProcessingService, i generated the .aar file and deployed it under axis2 web project of glassfish. the client side code is generated using axis2 code generator tool, it is simply calling the web service method 'chequeCertification' that has a javabean request parameter and returns another javabean response object.

axis2 version that am using is 1.6.2 with JDK 1.7

kindly advice from where may come this problem.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Which object is null? Apparently the code assumes that whatever object is null would not be null, and doesn't check for that.
Haytham Douaihy
Greenhorn

Joined: May 10, 2012
Posts: 14

That's Ok Now You're right, the problem was that i forgot to allocate the requestBean to its auto-generated class as am new to Axis2...

thank you very much.. that's perfect now
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running Axis2 web service client is generating an error at the client and the server side
 
Similar Threads
JDBC Realm Authentication failed
complextype with Axis2
iceface does not work after migrate from glassfish 3.0.1 to 3.1.1
Access Error = EJB + Glassfish + Netbeans
Problem in updating the fields to database