Ram Ram -4 years ago 108
Java Question

what differnce between wcf and asmx

hi can i know what is different between the wcf and asmx and related in java technology what are they

it is for sample code ;

public interface IService1
void DoWork();

and .asmx structues is

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class WebService1 : System.Web.Services.WebService

public string HelloWorld()
return "Hello World";

Answer Source

microsoft provide the asmx for the integration to the other language for exchange business between to integration and wcf is the api for provide http and othe protocal and asmx works on asmx soap based only and wcf support other

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download