Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
190 views
in Technique[技术] by (71.8m points)

c# - Communication to external REST services

I want to write some code to communicate with a RESTfull service which is created by another company. SO far I just integrated SOAP services into my own code and this worked pretty well with Service as a reference.

As I understood, this is not possible with REST Services. In my particular case, I would have to PUSH a XML file to the Service and I will recive an XML file back. With a referenced SOAP service, I wouldn't have to deal with the XML but with objects instead. Is there chance to obtain similair functionality with a REST service?

I looked into Web API but I am not sure if that is the right way.

Hopefully you get the point of my question.

Thank you very much for the help.

question from:https://stackoverflow.com/questions/66064546/communication-to-external-rest-services

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...