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
1
vote
1 answer

Sencha Touch - Security issue with calling webservice

In my Sencha touch app. i use .net websevice to get data in xml format. I call it using Ext.Ajaxrequest as bellow var frmurl ='http://Server/sencha/WS/web.asmx/GetData'; Ext.Ajax.request({ url: frmurl, method: 'post', params: { …
Sagar Modi
  • 770
  • 2
  • 7
  • 29
1
vote
2 answers

My class lost its methods during serialization

What's my Problem Object returned from the ASMX service is used in Silverlight application. Class has methods but the result from the ASMX WebMethod does not show methods on the object. Tell me more here is my class public class Dog { public…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
1
vote
1 answer

ASMX Web Service - SoapHttpClientProtocol.InvokeAsync

I have a WPF app that uploads XML data to a web service asynchronously. I call the web service from a non-UI thread: Task.Factory.StartNew(() => { WebServiceHelper.ImportMarketDataAsync(....); }); I have generated the proxy using wsdl.exe. The…
t.smith.htc
  • 203
  • 1
  • 3
  • 12
1
vote
1 answer

C# class library, Silverlight class library , asmx web services WTH

ASMX services do not have ability to reuse the Silverlight Class library and Silverlight application needs dedicated Class library and not the C# class library. So i had to duplicate the C# class library code to a Silverlight class library to work…
Deeptechtons
  • 10,945
  • 27
  • 96
  • 178
1
vote
1 answer

Web Service Dates with timezone info

I am quering a (.net) web service from Excel (takes cover from the backlash), which returns a array of dates. I have noticed that any date that is on the day boundry gets shifted forward 1 hour, I have checked the web service on the server and the…
DJIDave
  • 735
  • 5
  • 19
1
vote
2 answers

Passing Objects or Structs to .asmx Web Service

Do you know of a good way to pass objects or structs from a winform app to .asmx web service? It seems like this should be really easy in .NET but I'm not seeing it. Rick Strahl had the same question in 2004 but it looks like what I'm looking for…
Trevor
  • 4,620
  • 2
  • 28
  • 37
1
vote
0 answers

Overriding the disco file

I have an ASMX web service and it is deployed behind a reverse proxy. I need to override the disco file by changing some of the links whichs are incorrectly created by the reverse proxy. Does this file get created on the fly? It there any way we…
Pinu
  • 7,310
  • 16
  • 53
  • 77
1
vote
2 answers

Formatted .net web service (for .asmx solution)

I have searched this but really I couldn't find the exact answer for .asmx solution. How can I create a .Net web service that is formatted as seen below? Also It will be connected with a database.
David
  • 217
  • 1
  • 2
  • 10
1
vote
2 answers

Calling a webservice (asmx) from different language

from a non technical intermediary I got a question for a number of files (.xsd and .wsdl) for an external organization that wil be using our webservice. This is de first time for me that i've written a webservice for an external party that wil be…
Luuk Krijnen
  • 1,180
  • 3
  • 14
  • 37
1
vote
1 answer

WebService Security between DMZ - Protected Network

I have a custom desktop application which invokes an ASMX web service. The Service is hosted under a SharePoint Site in a Virtual Directory in IIS. The authentication used is Windows Integrated. Now, I want to use the same application from a host in…
dporikos
  • 31
  • 7
1
vote
2 answers

jQuery Cross-site Call To ASMX service Return value null

I am trying to call a asmx service from an HTML page through JavaScript and jQuery. Here is my code for the service HelloWorldTest.asmx: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo =…
Ashish
  • 23
  • 2
1
vote
1 answer

Securing Webservices : Asmx or WCF

i have a web service (asmx) with few methods. it is currently used by just couple of clients and they are flexible. Problem i have is that service has no security infrastructure in place and virtually anyone can call it. This behavior is not…
Muhammad Adeel Zahid
  • 17,474
  • 14
  • 90
  • 155
0
votes
1 answer

Invalid Webmethod name

I created a web method but when i go to the site and type for example http://mysite.com/services/Amounts/GetAmount it returns an error Internal Server Error 500. After investigating the issue in event logs etc,, it says GetAmount invalid method…
user710502
  • 11,181
  • 29
  • 106
  • 161
0
votes
1 answer

Consume ASMX service using Sencha 2

I am just begining to learn Sencha. I have an asmx that returns a List so the xml looks like; One Two> Now all I want to do is show that in a List. So my Sench code looks…
griegs
  • 22,624
  • 33
  • 128
  • 205
0
votes
1 answer

ASMX Web Service Blocked by Sessions

How does IIS handles multiple simultaneous requests to a web service using the same session id when that web service relies on sessions? If the first web service call has not finished processing, does IIS queue the second web service call…
james2code
  • 894
  • 10
  • 19