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 not call the method in my web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Can not call the method in my web service " Watch "Can not call the method in my web service " New topic
Author

Can not call the method in my 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

Client's build.xml


client's build.properties



This Generated Client Stub


CurrencyConverter.java Server's pojo service code


services.xml



server's build.xml

D. Deepak Sharma
Ranch Hand

Joined: May 12, 2012
Posts: 31
Hey please can anybody help me out because i can not find a way out....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
I doubt that anyone is willing to go through 1500 lines of code, no matter what the problem is. Can you condense it down to a concise problem description?


Ping & DNS - my free Android networking tools app
D. Deepak Sharma
Ranch Hand

Joined: May 12, 2012
Posts: 31
this wdsl code is just the result of build.xml when the service was created no need to go thorugh with it..... it will be generated again if processed ... i will omit that anyways...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can not call the method in my web service