none
Can we access a web api from java code RRS feed

All replies

  • of course. usually a web api is reachable via http. I don't know much about java but I'm sure java can do http requests.
    Tuesday, July 9, 2019 5:13 AM
  • Java should have a HTTP client library that uses request/response like .NET has them.

    The link shows a Java client using Java Http libraries used to access an ASP.NET WebAPI

    https://www.codeproject.com/Articles/827669/NET-Web-API-Service-with-a-Java-Client

    • Edited by DA924x Tuesday, July 9, 2019 10:15 AM
    Tuesday, July 9, 2019 5:18 AM
  • Hi AbhishekSinghal,

    Thank you for posting here.

    Based on my search, the following link is helpful for you to invoke a Java web service in c#.

    https://www.codeproject.com/Articles/32313/How-to-invoke-Java-web-service-in-ASP-net-using-C

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, July 9, 2019 8:31 AM
    Moderator