简体   繁体   中英

What is the easiest way to clone a webservice?

I'm working on a project where we will be connecting to a Oracle webservice using .NET (c#). The only thing is that we will build our client from our office location, but our customer will not give us remote access to their web service (company policy, etc). So our solution was to visit our customer on-site and 'clone' their webservice so that we can use the surrogate webservice to develop our client against.

What would be the best way to clone this webservice?

Our clone will need to output sample data, but use their exact method calls and types. Our preferred language to do the clone in is c#.

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

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

As startpoint, Fiddler with Autoresponse may help. As advanced solution your partner is SOAPUI .

替代文字
(source: soapui.org )

获取WSDL和任何关联的XSD,并使用WSDL.exe生成类并将它们添加到Web服务项目中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM