Questions tagged [asmx]

The web service technology from .NET 1.0, now considered a "legacy technology".

The web service technology from .NET 1.0, currently considered a "legacy technology". For new development of web services or web service clients the use of Windows Communication Framework (WCF), ASP.Net Web API or other modern frameworks is recommended.

The ASMX Web Service technology was introduced with .NET 1.0 as "ASP.NET Web Services", and has also been called "XML Web Services". The term "ASMX" refers to the file type of the web service endpoints, such as WebService1.asmx. Note what Microsoft says about their ASMX Forum:

This forum has been retired. It is locked, but is still available for review in the Archived Forums folder. Any future posts on this topic should be put in the Windows Communication Foundation, Serialization, and Networking forum.

ASMX Web Services only support SOAP or JSON over HTTP or HTTPS, and have limited extensibility.

Important ASMX Questions

Other Obsolete Technologies

Web Service Extensions, or WSE were a set of stopgap releases that added to the ASMX technology to permit developers to work with the emerging WS-* standards as they were being developed by the industry. That means you will often find WSE mentioned in conjunction with security. This does not mean that WSE is the solution to security in web services, it means that WSE was that solution until WCF was released. WCF supersedes WSE, which is now obsolete. In fact, WSE is not supported on Windows 2008 or later releases, and is not supported by Visual Studio 2008.

Even more obsolete is the SOAP Toolkit. This was a way to create clients for web services, and worked for old VB or ASP applications. Do not use it.

2830 questions
0
votes
2 answers

Can you find my .asmx?

A web server running a ASP.NET web service. To use the web service you must go to http://example.com/UtilServerComp/getCashNow7899.asmx Adding ?WSDL is possible to get service description. I assume that without knowledge of the URL and exact name of…
0
votes
1 answer

webservice enum

I have a web service in which I created an enum.. i have a webmethod which gets the value from the enum. [WebMethod(Description = "testing enum")] public string getdesctest(class1.Myenum text) { class1 dt = new class1(); string valee…
helpme
  • 570
  • 1
  • 7
  • 26
0
votes
1 answer

log4net dont create log file on windows server 2003

I use log4net in ASP.NET web service for logging. I added init logic for log4net to global.asax. I tested this web servise on win xp, loging works. Then I deployed this web service via msi installer on Windows Service 2003. I test loging but it…
Mike
  • 441
  • 2
  • 5
  • 17
0
votes
5 answers

How can keep and access json file in current web page?

I want to store page data in a json file and when I click a button i want to send it to a web service. How can I do It. Direct me. Thanx..
Darshana
  • 2,462
  • 6
  • 28
  • 54
0
votes
3 answers

ASMX Web Service to Store User Data using SQL Server-SQL Error

Im trying to create an ASMX Web Service in Visual Web Developer.I have successfully Implemented the following Created a Database with columns Email,Name Created a Service I have also specified connection string web.config…
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
2 answers

Simple ASMX WebService and DLL not loaded

I've a problem running an ASMX Web Service. I'm Calling a DLL from a method (AceptaTools.dll) and this DLL load ca4xml.dll. AceptaTools.dll has been registered with REGSVR32. But ca4xml.dll Can't. When i Invoke the service: _objURL =…
0
votes
1 answer

ASP.net - web services - only accessible over localhost

I am working on a site that exposes a set of webservices within a folder in the site: services --- servicea.asmx --- serviceb.asmx These services are set up to allow some interoperability with other sites that we control, and these all reside on…
Paddy
  • 33,309
  • 15
  • 79
  • 114
0
votes
3 answers

Returning an ArrayList from an ASMX Service

I have a couple of questions regarding Web Services, and I would really appreciate if someone could point me in the right direction. In my class library, I have a two classes: Hotel & RoomType. Hotel class contains an ArrayList of RoomType…
Gonzalo
  • 982
  • 6
  • 23
  • 39
0
votes
1 answer

Unable to follow tutorial to create dynamic search results

I am following this tutorial to create dynamic search results from an SQL server as a user types. It is telling me to create a .asmx file, which is not a format I have ever worked with before. Here is the code I have thus far : WebService.asmx.cs : …
Simon Kiely
  • 5,880
  • 28
  • 94
  • 180
0
votes
1 answer

Get listitem using jquery or javascript from Office 365(Sharepoint Online)?

there are good solutions to get data from office 365, and move it to another platform using client object model.. i.e Wictor Wilen solution. its work in code behind. i have tried to get list data from office 365, to another platform like azure…
Jignesh Rajput
  • 3,538
  • 30
  • 50
0
votes
2 answers

How to handle asp.net web service for bunch of requests in seconds?

I have developed a asp.net web service and deployed on IIS 7.5 and windows 2008 R2 64 bit. All requests comes from Biztalk to this web services. This web service working good if Biztalk sends couple of requests at time. But if BizTalk sends…
James123
  • 11,184
  • 66
  • 189
  • 343
0
votes
3 answers

How do I debug mangled soap requests?

Lately, we've been seeing exceptions like this in our .NET (.asmx) webservices: System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (868, -3932).…
Bob King
  • 25,372
  • 6
  • 54
  • 66
0
votes
1 answer

Control name of built-in generic parameter in WCF DataContract

I am converting asmx web service to wcf while attempting to maintain backwards compatibility in the WSDL. One of the DataContract classes is generic. When the generic parameter is a built-in type, such as bool, the first letter is lowercased in WCF,…
Scott Ure
  • 1
  • 1
0
votes
1 answer

Restrict asmx access to local

Is there a way to restrict asmx to be accessed local only? I have an webservice just for jquery, I don't want to expose it.
Alexandre
  • 7,004
  • 5
  • 54
  • 72
0
votes
1 answer

Throttling connections to ASMX Web Service from the client side

I'm calling an asmx service repeatedly using the Async methods and am getting this error The HTTP request to 'https://example.com/WebService.asmx' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a…
ridecar2
  • 1,968
  • 16
  • 34