Click here to Skip to main content
11,935,031 members (53,041 online)
Rate this:
Please Sign up or sign in to vote.
Hello everyone, I am currently designing a web application with 3.5, but the webservice is designed in java and produces JSON.
I want to get and post data to the database through the webservice.

All the articles i found so far use soap but can anyone please tell me how to invoke/consume Java restful web service in 3.5 using C#

And i also would like to know if is possible to bind any control in my webform to a method in the webserver

Please help i need to meet a deadline and im really struglling to get this right

Thanks in advance for your time
Posted 1-Jul-10 2:28am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Restful web service is easy you can do it by any programming language also Javascript. try

0) use HTTP classes to send request to webservice with specified parameters
1) get results from response
2) use a lib or API for JSON in .Net, for you can parse results
3) use parsed data

try to read Accessing Services Using Browsers you can do something like it with C#. & JSON.Net (maybe you can found JSON Request for .Net)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 1 Jul 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100