How to call the Java based Oracle BI WebService using C#

Surendiran Balasubramanian 1 Reputation point
2021-01-18T17:19:20.34+00:00

How to call the Java based Oracle BI WebService using C#

The URL provided to us is something like this : **https://abcdef.oraclecloud.com:443/xmlpserver/service/wsservice?wsdl

here abcdef is just a dumy name i gave instead of actual server name

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Peng Ding-MSFT 96 Reputation points
    2021-01-19T02:07:11.267+00:00

    Hi, @Surendiran Balasubramanian , If the java web service has a WSDL document, then we can generate a proxy class through its WSDL document to call the java web service in C#:

    57848-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2021-01-19-094358.png

    57973-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2021-01-19-094738.png

    Through the above steps, a proxy class will be generated in the project, and we can call java web service through this proxy class. There is a similar problem in this link, if you have any questions, you can refer to it.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Peng Ding

    0 comments No comments

  2. Surendiran Balasubramanian 1 Reputation point
    2021-01-21T20:11:32.573+00:00

    Thanks for your response.

    We did the same ServiceReference but I got the error {"Soap Version1.2 is not compatable with Content type text/xml"}
    when calling the service method

    Note : we are calling Oracle Cloud service which is developed in Java i believe


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.