Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can pass parameters and call method from web service  RSS feed

Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

package converter.client;

Client's build.xml

client's Server's pojo service code


server's build.xml

We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!