This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 41129
    
  45
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
 
Similar Threads
WebService Client - Unexpected SubElement Exception
MTOM not working in Axis2
Web Services using AXIS 2
Axis2 Http Header
Confused on the code implementation generated by the Axis2 Code Generator.