Also the IntegratedSocket creator is wrong it should be:
new IntegratedSocket("http://xxx", 80) //not new IntegratedSocket("http://xxx, 80")
Probably should proof posts more whilst i am at work
Nak.
  | ||||||||||||||
webservice?
Started by kenNET, Jan 03 2011 09:22 PM
22 replies to this topic
#21Posted 17 July 2012 - 01:17 PM
HTTPClient is a typo on my part, it should be HTTP_Client.
Also the IntegratedSocket creator is wrong it should be: new IntegratedSocket("http://xxx", 80) //not new IntegratedSocket("http://xxx, 80") Probably should proof posts more whilst i am at work Nak. #22Posted 17 July 2012 - 01:18 PM
Got it Working!... thanks again a step furtter... now i can log data and communicate to my own asp.net webservice, HTTP_Client WebSession = new HTTP_Client("myrestwebserviceurl"); // Requests the latest source HTTP_Client.HTTP_Response Response = WebSession.Get("/Service1.svc/pooldata/2"); if (Response.ResponseCode != 200) { Debug.Print("Invalid Response"); } R = Response.ToString(); Debug.Print(Response.ResponseCode.ToString()); Debug.Print®; #23Posted 17 July 2012 - 01:23 PM
Thanks anyway.. otherwise i wouldn learn anything., its always the debugging process where you pick up most ofthe knowledge ;-) the quote error was easy to find... but i got lost in the integratedsocket.. but found out i can live without it completely, just passing the URL.. (dont ask me why ;-)) 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||