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

Web service vs. Office Automation

I have ASP.NET Web Service, that works under IIS. I use Microsoft.Interop DLL to convert file from XML Table format to Excel 2003. In my code I have reference to Microsoft.Interop DLL version 12. When I try to use this web service from VS,…
Metaller
  • 504
  • 3
  • 10
0
votes
1 answer

asp.net web service : sending json within json

I'm using jquery to send a json string to an ASMX web service. The code behind for the web service method definition looks like this: [WebMethod(EnableSession = true)] public string DoMyProcess(string TheDataID, string TheUserID, string TheData)…
frenchie
  • 51,731
  • 109
  • 304
  • 510
0
votes
3 answers

Getting a "The best overloaded method match for ... has some invalid arguments" error message

I am having problems with the following code: public class ClientGroupDetails { public DateTime Col2; public String Col3; public Int32 Col4; public ClientGroupDetails(DateTime m_Col2, String m_Col3, Int32 m_Col4) { Col2…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
0
votes
1 answer

how to change the web service link dynamically?

As we are working locally so our service link is: http://localhost:8012/webservice.asmx When we deploy the webservice on our service, we have to remove the local web service and then add the web service link again for example:…
olidev
  • 20,058
  • 51
  • 133
  • 197
0
votes
1 answer

multithreading in ASP.Net webservice - what happens after the main thread completes?

I have inherited a set of legacy webservices (VB.Net, IIS hosted ASMX) in which some of the WebMethods are using basic multithreading. It seems like they have done this to allow the WebMethod to return to the client quicker with a response, while…
EkoostikMartin
  • 6,831
  • 2
  • 33
  • 62
0
votes
1 answer

Accessing results of asmx service from jQuery in ASP.Net 4?

I am having trouble accessing the results returned from my web service. When I monitor it in firebug, I can see that the results being returned are correct, but I'm not sure how to access them. I am getting an error "reference to undefined property…
Lightning
  • 1
  • 1
0
votes
2 answers

.NET Web Service - Host name resolving improperly

Duplicate: This is the exact same question, from the exact same person, as Issue with Incorrect URLs in the WSDL of a .NET Web Service, and has the exact same answer. Let's please close this and merge it with the other. We have installed an ASP.NET…
Keith
  • 5,311
  • 3
  • 34
  • 50
0
votes
1 answer

Asp.net webmethod as webservice?

i have a asp.net webapplication (VS2010, C#) and it aspx page has webmethod that are used for AJAX call (all is fine here). But i need to use this webmethod (GetEmployeeDetails) outside the asp.net application - say, i need to use this as webservice…
0
votes
1 answer

Why are SOAP and GET disabled in asmx webservices by default?

I'm about to turn on the missing protocols for my asmx webservices. They're already behind two layers of authentication and has a role checking attribute, so otherwise it is secure. This MS KB article explains GET and SOAP are disabled for asmx by…
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
0
votes
1 answer

Reuse types generated with a ASMX web service

A Silverlight application (App1) currently uses a ASMX Web Service. The web service has a reference to an assembly containing classes. The silverlight application uses these "classes/objects" to communicate with the ASMX Web Service. Another ASMX…
Ferhat
  • 1
0
votes
1 answer

How to set an Interface as a return type of a web method in a web service

I am using an interface as a return type of a web method in a webservice. [WebMethod] //[XmlInclude(typeof(BillerConnectAPIStatus))] public IBillerConnectAPIStatus PerformInquiry() { BillerConnectAPIStatus…
Rupendra
  • 608
  • 2
  • 11
  • 42
0
votes
1 answer

Compress List Data C# Web Service Send to Standalone Client with Delphi

I have a .Net WebService and a standalone application written in DelphiXE2. When I submit a list with lots of items (400) the FindAllEntity() method is very slow. I researched compressing the data components of a list, but I only found Gzip C#,…
Leo
  • 1
0
votes
3 answers

.Net Windows Form Client. Capturing Request/Response SOAP from ASMX webservice

before i decided to post this question i went thru several articles and questions in here... none of those seem to be a solution for me.... or i am doing something wrong. I went thru this article, suggested in this…
Pepito Fernandez
  • 2,352
  • 6
  • 32
  • 47
0
votes
1 answer

How to custom the binding of WebService(Not WCF) in WebForm

I created a web service in Asp.net.(Not WCF)But how can I custom the binding of it? It will automatically generate two type of binding(soap & soap12). I only want one of them.How Can I custom the binding type?
Dozer
  • 5,025
  • 11
  • 36
  • 52
0
votes
3 answers

asp.net web service "page not found" after invoking method

We have created a .NET 4 web service, which runs fine on a Windows 7 development pc. But now we have moved it to a Windows 2008 standard server which runs IIS. When we browse to the .asmx file we get the correct pages that show us the available web…
Tys
  • 3,592
  • 9
  • 49
  • 71
1 2 3
99
100