Hi Bubblers,
I have a really noob question. I’m building a plugin to retrieve data from a Web Service. But, I do not know what is wrong. When I Call GET or POST, an error called “read ECOONRESET” pop up. What am I doing wrong?
The Web Service Call Models:
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /SitCamaraWS/Deputados.asmx/ObterDetalhesDeputado?ideCadastro=string&numLegislatura=string HTTP/1.1
Host: www.camara.leg.br
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
xml
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /SitCamaraWS/Deputados.asmx/ObterDetalhesDeputado HTTP/1.1
Host: www.camara.leg.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length
ideCadastro=string&numLegislatura=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
xml
What I did so far:
Obs: the IdeCadastro Value is mandatory. I put a known value only to test.
Any Help?
Regards,
Eduardo.