What is the easiest way to clone a web service?

I am working on a project where we will connect to the Oracle web service using .NET (C #). The only thing we will build our client from our office, but our client will not provide us with remote access to their web service (company policy, etc.). Thus, our solution was to visit our client on the spot and “clone” their web service so that we could use a surrogate web service to develop our client.

What would be the best way to clone this web service?

Our clone will have to output data samples, but use their exact calls and types of methods. Our preferred language for cloning is C #.

+3
source share
2 answers

take WSDL and any related XSD and use WSDL.exe to generate classes and add them to the webservice project.

+1
source

"Our clone will have to output data samples, but use their exact calls and method types."

So, maybe enough to record the original webservice data and play it back?

As a starting point, Fiddler with an answering machine can help. As an advanced solution, your SOAPUI partner .

alt text http://www.soapui.org/images/screenshot5.gif

+1
source

Source: https://habr.com/ru/post/1706847/


All Articles