Hello,

I have been lately googling to find out if I would be able to write Axis2
Web Service client to invoke a Web Service over HTTP using JSON.
I have seen that json support is added and i tried an example to make a Web
Service call through web browser (JSON request / JSON Response)and it
worked.
However, i would like to do the same thing programmatically.

Earlier i'd worked with Axis2 to invoke a Web Service over HTTP using SOAP
and how it was achieved was to create a stub client code and making the
calls by the help of those stub objects.
I was expecting to be able to do the same thing in a similar manner /
approach using JSON. But as far as i can understand from the examples by
just looking through unit test case codes and examples in Axis2, this is
not that easy.

Could you please guide me to have a Web Service client to make a json
request to Web Service?
What are the possible options?

If you can also explain me step by step to have sample server/client code
to be able to run on a single dev box, that would be really appreciated. I
am asking for this because i am not really able to run examples coming
Axis2 package and run the unit test cases?

Best regards
Onder

Reply via email to