Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 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
Updated 2-Feb-17 1:02am

1 solution

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)
 
Share this answer
 
Comments
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 asp.net 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900