Solved

XML Web Services

Posted on 2015-01-26
2
102 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now