axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pulasthi Supun Wickramasinghe <>
Subject Re: Axis2 Web Service Client sending request in json format
Date Tue, 27 Dec 2011 12:01:42 GMT

I wrote a blog post on Creating a JSON client for AXIS2[1] a while back i
hope this will help you up to some extent.


On Tue, Dec 27, 2011 at 7:46 AM, Onder SEZGIN <> wrote:

> 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

Best regards
Pulasthi Supun
Dpt of Computer Science & Engineering
University of Moratuwa
Blog :
Git hub profile:

View raw message