Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hello everyone, I am currently designing a web application with asp.net 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 ASP.net 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
good
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)
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 1 Jul 2010
Copyright © CodeProject, 1999-2014
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