File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Can pass parameters and call method from web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Can pass parameters and call method from web service" Watch "Can pass parameters and call method from web service" New topic
Author

Can pass parameters and call method from web service

D. Deepak Sharma
Ranch Hand

Joined: May 12, 2012
Posts: 31
I am trring to write a web service for currency conversion where client pass the arguments say type of currency for conversion and the parameters pass to web service and then calculate the conversion and return the result.


I am Trying to call a method in my ADB client from stub class but can not pass the arguments to it and can't get the desired outcome. the code is given. I used TCPMON to intercept the message passing but couldn't figure out. But one thing is sure the method is not being called on 0.0 comes as the return value.

MyConverterClientADB.java

package converter.client;



Client's build.xml



client's build.properties



CurrencyConverter.java Server's pojo service code



services.xml




server's build.xml

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can pass parameters and call method from web service
 
Similar Threads
ant run.client parameter passing problem
Axis2 with Spring Integration Error : The endpoint reference (EPR) is not found
Can not call the method in my web service
Writing Client using Axis 2 for asynchronous call.
Web Services problem