Click here to Skip to main content
13,001,454 members (59,543 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 1:28am
Updated 2-Feb-17 1:02am

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)
Member 12979267 2-Feb-17 7:04am
Can you please elaborate this steps in detail ??
Actually, I am beginner in java and i had already created java Restful web Services. but i don't know how to consume it with so, i need step by step guide to do so.
please please help me..thank you in advance !!

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
Web02 | 2.8.170624.1 | Last Updated 2 Feb 2017
Copyright © CodeProject, 1999-2017
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