web api web service - can i connect with soap or xml over http


Is one able to connect to a Web API webservice using soap or XML over HTTP
if so, are there any clear examples on how to achieve this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maidine FouadEngineerCommented:
Well nothing Stops you from doing that, you can generate responses and send them in an appropriate header using your own media formatters :


But from the top of my head , They are easier alternatives ,Service Stack Framework does that , and it supports SOAP , and it is more friendly ... Either that or WCF.
websssCEOAuthor Commented:
oh so Web API isn't the new microsoft way of doing a webservice?
I should have used WCF?
Maidine FouadEngineerCommented:
Wcf is just the first aid kit when you are blocked , Web services do get Complicated, and they actually are limitated (HTTP only communication ...)

Actually Web Services - are standard's defined by W3C , Hard to Descibe the standards in short terms (Even, you can check their website if you want to read them ... they have every aspect of its service well defined , and each of them has a standard

If you want to start with Wcf

the MSDN library is your go to guide if your stuck

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.