This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 41592
    
  55
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can not call the method in my web service