asmx Questions

18

Every object I return from a WebMethod of a ScriptService is wrapped into a JSON object with the data in a property named d. That's ok. But I don't want the additional __type property to be served ...
Argot asked 9/3, 2009 at 17:59

5

I have a web application in ASP.NET 4.0. I've added an asmx service, primarily as a source for the autocomplete extender's lookup values. When I debug on my machine locally, everything works fine....
Chore asked 24/3, 2011 at 7:28

3

I have gotten stuck while trying to get my asmx web service to use dependency injection and using an IoC to do it. I want my webservice to be able to use my internal business layer services. The we...
Management asked 21/10, 2011 at 6:35

7

Solved

I'm not sure I'm completely happy that throwing exceptions in web services is a good idea. I wouldnt mind as much if it wasn't for the stack trace. This is not something I wan't. I have researche...
Backhanded asked 19/6, 2009 at 17:35

4

Solved

Yes I know, this question has been asked loads of times already. But this isn't quite the same. Actually I think the error message is accurate! Normally when you view a published ASPX file, you j...
Jarboe asked 11/6, 2014 at 13:44

5

My service method: [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string getDataFromTrainingMaster() { List<TrainingMasterDataStruct> results = new DAL().GetDataFro...
Bertle asked 19/2, 2013 at 5:37

10

Solved

I'm trying to trouble shoot a web service client in my current project. I'm not sure of the platform of the Service Server (Most likely LAMP). I believe there is a fault on their side of the fence ...
Grandstand asked 19/11, 2008 at 0:38

3

Solved

I have a recent experience I'd like to share that may be helpful to anyone having to maintain a legacy ASMX web service that must be updated to call Task-based methods. I've recently been updating...
Stoffel asked 6/6, 2014 at 9:35

4

Solved

I have a ASMX web service running IIS 10 and have added log4net to the project with the following configuration: <appender name="AsmxDebugLogFile" type="log4net.Appender.RollingFi...
Efflorescent asked 26/4, 2021 at 16:39

8

Solved

I have been looking for 100's of links for last 3 hours eg adding scriptfactory to webconfig, 3 mistakes, setting content type etc. I am not able to figure out what actually the mistake is. Envi...
Nitza asked 30/5, 2012 at 21:23

4

Solved

I have the following method: using System.Web.Services; using System.Web.Script.Services; using System.Web.Script.Serialization; using Newtonsoft.Json; using System.Collections; [WebService(Names...
Eer asked 24/10, 2013 at 10:39

5

Solved

Is there a way to upload a file from local filesystem to a folder in a server using ASMX web services(no WCF, don't ask why:)? UPD P.S.file size can be 2-10 GB
Implosion asked 25/1, 2011 at 22:15

8

Solved

I have this error message when I'm trying to access a .asmx file on my Web browser. The message is the following: Description: An error occurred during the parsing of a resource required to serv...
Plafond asked 21/11, 2010 at 17:17

6

I know this questions has been asked before but I could not find my answer anywhere. the thing is I have below code on my asmx file: namespace IrancellSmsServer { [SoapDocumentService(RoutingSty...
Palliative asked 6/2, 2016 at 7:20

3

I have a web app serving a WCF REST API for JSON and an ASMX web service. The application has been around for a few years. It's based on ASP.NET 2.0, but upgraded to .NET 4.0 a couple of years ago,...
Scolopendrid asked 4/9, 2013 at 19:39

6

Client provided me the wsdl to generate the web service.But when I used the wsdl.exe command it generated the .cs class out of it. I consumed that class in my web service and when I provided the ws...
Exobiology asked 8/9, 2009 at 16:27

2

I just wrote a sample code for ASP.NET Web Application, using web service. The environment is Visual Studio 2015. My operation system is Windows 8. When doing debug, the webpage would not show the...
Directional asked 17/7, 2015 at 19:39

2

We have uncovered an XML External Entity vulnerability in our asp.net asmx web service. We are testing an asp.net .asmx web service using burp suite, to check for XML External Entity Processing vu...
Counterclaim asked 19/7, 2018 at 17:17

8

Solved

jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows it's never getting hit. I ...
Derbent asked 24/2, 2009 at 19:6

9

I saw a similar question but it did not resolve my issue. I have a JSON web service in an ASMX file; The code for the web method [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)...
Militarist asked 13/7, 2009 at 19:27

1

I'm trying to develop a simple webform application to create/edit invoice from a .aspx page and want to sync QB Desktop & MS SQL database using web connector & .ASMX web service (2 way sync...
Antitrades asked 2/10, 2018 at 12:59

2

Solved

It seems that ASMX implicitly does not allow the OPTIONS verb. I'm posting this question because I'm using jQuery AJAX calls with POST which first queries the server for available OPTIONS before th...
Winifred asked 21/11, 2011 at 0:54

4

I have an only JavaScript page and .asmx page. I want to download file using only JavaScript how can I download the file. I want to download a particular resume. I am getting resume here, var ...
Ledesma asked 12/11, 2015 at 4:22

5

Solved

I'm calling a .net webservice from my .net winforms app, both in framework 4.0. During the execution of the program, the first time the webservice has a method called, the call takes ~10-12 seconds...
Graeae asked 18/4, 2013 at 14:42

8

How do I call a non-static method in server side(aspx.cs) from client side using javascript (aspx)....? As far as I know I can call static method in server side from client side... server side: ...
Assr asked 1/9, 2009 at 2:24

© 2022 - 2025 — McMap. All rights reserved.