Solved

XML Web Services

Posted on 2015-01-26
2
104 Views
Last Modified: 2016-02-16
When someone says XML Web Service, that could mean ASMX  or WCF correct?

Because both send  data back and forth in the XML format within a SOAP envelope, correct?
0
Comment
Question by:metro156
2 Comments
 
LVL 5

Accepted Solution

by:
Dejan Vasiljevic earned 500 total points
ID: 40571835
Hi metro156,

Basically, You are using ASMX or WCF for XML web services, like somone is using SOAP for .NET remoting.

So ASMX or WCF? They are basically the same, plus WCF is ASMX + something more.
ASMX is at one side simple, elegant and easy to use, one word user friendly, but you can only call it from HTTP and it is only available in IIS. WCF is on other side hosted in windows services, console application and etc. and You can call it from TCP/IP, HTTP, MSMQ and etc.

I hope I made it clear to You.

Thanks,
D.
0
 
LVL 5

Expert Comment

by:GuruJava
ID: 40572399
Hi Metro156,

here you go ...

WCF is basically "ASMX on stereoids" - it can be all that ASMX could - plus a lot more!.

ASMX is:

easy and simple to write and configure
only available in IIS
only callable from HTTP
WCF can be:

hosted in IIS, a Windows Service, a Winforms application, a console app - you have total freedom
used with HTTP (REST and SOAP), TCP/IP, MSMQ and many more protocols


In short: WCF is here to replace ASMX fully.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For some reason Google Apps has decided to reserve 'www' for your new domain which results in an error when trying to map the web address 'www' to a certain site in your Google Sites. The error is 'this address is already being used' and after some …
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question