13 Topics
|
|
This "FakeWebClient" will allow a C# application to send and receive cookies as part of the request. This behaviour is not available by default. Please note that on line 35 there is a possible NullReferenceException, I managed this at a level higher but you may wish to handle it in … |
|
Hi I attached here a code that i have a problem with. the function CheckStatusCode() suppose to connect to uri and check the http response status. it should display on the screen the status received. usually the status is "OK" (200). but for instance if the page doesn't exist the … |
|
hello, i have checked online on a website which gives error **BadRequest(status code=400)** and gives response like : *'"message": "messages": [ "We are sorry, the item you selected, cannot be done" ] , "resultInfo": "result": "fail", "url": "http://www.abc.com/xyz/pqr/home", "resultCode": 400'* but when i am doing the same thing at my … |
|
I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest with webrequest.keepalive = true and started to consume the data by reading into … |
|
Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body … |
|
After bunch of searching on google I end up with posting new thread for help, I am trying to login to youtube using webRequest/Response but no success, it is returning source code which tells that "Your browser cookies disabled ..." etc. Attaching my code and can someone tell me the … |
|
Okay so alittle while ago I decided I wanted to write a program that would read in data from a website (the HTML data) and then use it from there (long story short I was to read in a list of urls, then access each of those and gather data … |
|
I am trying to do a httpwebrequest with a proxy and everytime I try to do it I get this error: [QUOTE]The underlying connection was closed: An unexpected error occurred on a receive. [/QUOTE] |
|
I want my program to do two back to back webrequests. The first one fills out the form on the page. The second webrequests a page which submit the data from the previous webrequest. I tried doing this but I keep getting this error: [QUOTE]The request was aborted: The connection … |
|
I am trying to run the following code in a thread but I keep getting this error: [QUOTE][QUOTE]Cross-thread operation not valid[/QUOTE][/QUOTE] for both listboxes. Heres the code I am using: [CODE] try { for (int i = 0; i < listBox4.Items.Count; i++) { listBox4.SetSelected(i, true); listBox5.SetSelected(i, true); listBox4.SelectedItem.ToString(); string[] details … |
|
|
Hi, I have been working on this for quite a few hours now and can't seem to find a solution! My knowledge of VB.Net is quite limited and I'm trying to jump in at the deep end, I'm trying to log in to a website (a game in which I … |
Is there a way to tell which browser the user has selected as default and then be able to "build" the useragent string based on the browser that is default? For example if that have Google Chrome set to default, how could I build [icode]Mozilla/5.0 (Windows; U; Windows NT 5.1; … |
|
Hi, I am working on building a C# Winforms application which will allow me to login to a forum or site and perform certain tasks. I am stuck at the very 1st step. I cannot login to the forum. Here is what I have tried so far, the [B]Login[/B] button … |
The End.