Most voted "asmx" questions
19 questions
Sort by count of
-
8
votes1
answer856
viewsWhat is the correct way to declare an asmx Webmethod in C# to receive POST requests with parameters?
I’m trying to set up a file upload process for a web service done on c# .asmx, but I am not able to manipulate the sending of parameters through the method POST. This is the webMethod I created:…
-
3
votes1
answer271
viewsWeb service security attributes
You can use the AuthorizeAttribute in asmx, Soap or Rest? webservice and custom attributes, such as the below (example only)? [System.AttributeUsage(System.AttributeTargets.Class |…
-
2
votes1
answer291
viewsCompetition Webservices ASMX with Ajax
I realized that when called by XHR, the ASMX webservices can handle few simultaneous requests. Consider the following scenario: Page ASPX: <asp:ScriptManager ID="scrManager" runat="server">…
-
2
votes1
answer38
viewsStructure of a Webservice X Model Class
I need to make a web service (asmx) where the Request Entry is in this structure: Input XML (Request) <RetrieveDeviceParentRequest> <model query=""> <keys query="">…
-
1
votes1
answer962
viewsPassing Javascript Parameters to [Webmethod] C#
I would like to know how to pass parameters of a Javascript call to an ASMX Webservice Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1,…
-
1
votes0
answers218
viewsConsume Webservice asmx with Android
I am trying to get SOAP provided from an asmx local webservice on my android emulator. On my PC the result is as follows: In the emulator however, I tried to open in your browser in two ways: Using…
-
1
votes1
answer66
viewsasmx authentication
I have an asmx webservice that contains functions of Insert, delete, update, select, I am consuming it via ajax, because my application cannot work on the server side. My question is how can I…
-
1
votes1
answer43
viewsAjax problem while consuming asmx
When trying to consume asxm webservice it returns unfenined when trying to call the myData.id field, however the date result. d returns the webservice values correctly. $.ajax({ type: "POST", url:…
-
1
votes0
answers44
viewsConsume an asmx service from a Rest
How do I pass an object I have in a REST for a ASMX? I have this controller in REST that has the object(client) that I want to send to a ASMX [Route("api/[controller]")] public class…
-
1
votes0
answers23
viewsReturn a price list in a VB web service
I have this method within a service(asmx) <WebMethod()> Public Function RetornarPrecoCSP(ByVal CodigoCliente As Long, ByVal CodigoProduto As String, ByVal QtdItem As Long, ByVal TipoVenda As…
-
0
votes2
answers780
viewsError while consuming ASMX Web Service
That is the mistake: An exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in user code Additional information: The remote…
-
0
votes1
answer418
viewsAsp.NET webservice with blank page on IIS 8
I have a webservice (asmx) hosted on Kinghost. After an update in IIS (from version 6 to 8) the webservice stopped working. When trying to access the webservice by the browser shows a blank page, it…
-
0
votes1
answer52
viewsWCF/Asmx giving timeout but server hardware is whispered
Good night. I have an application that is integrated with over a hundred other applications through webservices, where I use a lot of threads for communication between them. This my application is…
-
0
votes1
answer216
viewsSpecial characters Webservice C# SQL X Base Firebird
I have an integration made by Web-service (asmx) , C# e SQL Server. This Web-Service is consumed by a third-party software that uses Delphi and Firebird. The problem is that when integrating a…
-
0
votes1
answer49
viewsProblems Webservice ASMX
When I send a JSON return and the text is accentuated, JSON breaks. Here is the request code in the Controller $http.post("../backend/controller/SugestaoController.asmx/comboListarSugestoes", {…
-
0
votes1
answer360
viewsWEBSERVICE ASP.NET Method not found
I have a problem in a webservice that I created and I tried several adjustment options and could not solve. I have the list of Methods available according to the image below When I select the VAPS…
-
0
votes0
answers29
viewsconsume asmx with ajax(outside the webservice layer)
in my Solution I have several layers and one of them is the webservice, all pages that consume the webservice and are in the webservice layer work, but put in another layer of error in javascript.…
-
0
votes0
answers10
viewsHow do I change the return of a method (Webmethod) in ASMX?
I developed an ASMX with a method, and when executing the code on the return of this method, it mounts an XML from a certain class defined by an XSD Schema, which however comes a TAG with suffix…
-
-1
votes1
answer1163
viewsSending XML to webservice
I need to know how to send XML to a client’s webservice. Since I’m very new to this, I did a little research on some sources and found a very simple code for java. I wanted to know if everything is…