Questions tagged as 'asmx'

1
answer

What is the correct way to declare a WebMethod asmx in C # to receive POST requests with parameters?

I'm trying to put together a file upload process for a web service done in c # .asmx but I'm not able to manipulate the sending of parameters through the POST method. This is the webMethod I created: [WebMethod] [SoapHeader("UserAu...
asked by 22.08.2014 / 21:27
1
answer

Security attributes in web service

Can you use AuthorizeAttribute in webservice asmx, soap or rest? And custom attributes, like the one below (example only)? [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct) ] p...
asked by 21.10.2015 / 20:57
1
answer

Structure of a WebService X Model class

I need to do a web service (asmx) where the Request Entry is in this structure: Request XML <RetrieveDeviceParentRequest> <model query=""> <keys query=""> <ConfigurationItem type="S...
asked by 04.10.2018 / 15:30
1
answer

Competition WebServices ASMX with Ajax

I noticed that when called by XHR, ASMX webservices can handle very few concurrent requests. Consider the following scenario: ASPX Page: <asp:ScriptManager ID="scrManager" runat="server"> <Services> <asp:Servic...
asked by 28.05.2015 / 14:01
0
answers

Consume an asmx service from a rest

How do I pass an object I have in a REST to an ASMX ? I have this controller in REST that has the object (client) that I want to send to an ASMX [Route("api/[controller]")] public class OptOutClientController : Controller { HttpClient c...
asked by 25.06.2018 / 20:05
1
answer

JavaScript Parameters Passing to [Webmethod] C #

I would like to know how to pass parameters from a JavaScript call to an ASMX WebService Method without having to define a name for the parameters. Example: $scope.testar = () =>{ filtros ={ id:1, funcionalidade:02...
asked by 31.07.2017 / 15:17
1
answer

asmx authentication

I have a webservice in asmx which contains insert, delete, update, select functions, I'm consuming it via ajax, because my application can not work server side. My question is how can I provide authentication to connect to this webservice? I got...
asked by 14.04.2017 / 20:54
1
answer

Ajax problem while consuming asmx

When trying to consume webservice asxm returns unfenined when trying to call the myData.id field, but the result of data.d returns the values of the webservice correctly. $.ajax({ type: "POST", url: "Service.asm...
asked by 09.04.2017 / 05:53
0
answers

Consume WebService asmx with Android

I'm trying to get SOAP provided from a local asmx webservice in my android emulator. On my PC the result is the following: Intheemulatorhowever,Itriedtoopenitinyourbrowserintwoways:UsingthefollowingURL:  10.0.3.2:49498/WebServiceApp.asmx/Obte...
asked by 01.05.2015 / 21:22
1
answer

WEBSERVICE ASP.NET Method not found

I have a problem with a webservice that I created and I tried several options and I could not solve it. I have a list of Methods available as shown below WhenIselecttheVAPSmethod,theformforfillinginthefieldsappearscorrectlyandifIfillinand...
asked by 23.10.2017 / 17:28