1
How do I capture the parameters requested by the URL in a webservice?
For example: I have the following webservice: http://localhost/teste/WebService1.asmx/Produto
How to pass method parameters Produto
? So they’d look something like this:
http://localhost/teste/WebService1.asmx/Produto?a=sincroniza&dado=produto&id_vendedor=2666&id_grupo=1700&id_usuario=2925&id_empresa=2004
And how would I read it?
is giving this message at the time of compiling. Non recognized webservices configuration section.
– Cleverton
fix: I cannot publish the webservice, "Unacknowledged webservices configuration section"
– Cleverton
I removed [Scriptmethod(Usehttpget=true)], leaving only in XML file and it worked
– Cleverton
I was actually looking at that question, so I’ll edit the answer as soon as I have something more concrete. If any of the answers helped you solve the problem, you can vote positively for it in the little arrows and choose it as correct by marking the sign below the arrows to vote.
– Jéf Bueno