Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebService Blues (resolved)
Message
 
To
02/01/2018 09:03:14
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
General information
Forum:
C#
Category:
Web Services
Miscellaneous
Thread ID:
01656882
Message ID:
01656886
Views:
47
>Listen to the actual request sent over the wire via network sniffing tool or proxy on your machine. Been quite some time since I did that (HTTP was not banned to force HTTPS), so for current tools Google or look through West-Wind.

Sounds like good advice. Thanks. I found out how to do this 101 WebRequest. :)


>>This works:
>>
>>Dim request As WebRequest = WebRequest.Create(_ur_l)
>>Dim response As WebResponse = request.GetResponse()
>>Dim reader As IO.StreamReader = New IO.StreamReader(response.GetResponseStream())
>>Console.WriteLine(reader.ReadToEnd)
>>
>>My (currently absent colleague) wrote a webservice that works fine in Excel vba. You run the webrequest function with an ("GET"like) url and it returns a value. He told me that he returns the value in a php echo statement, and I can see it when I navigate the url from a browser.
>>
>>In vb.net I execute a webrequest.create and then a request.GetResponse. But I do not find the value.
>>
>>Cannot ask what I'm missing, because I guess I'm showing my ignorance on the matter, but can anybody put me on the right track?
>

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Reply
Map
View

Click here to load this message in the networking platform