Re: Using the webbrowser object to get the document text

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,
thank you for your answer. i googled for the .net webservices and tryed to use this solution in a test application, but when i tryed to add a webservice via "project => "add webservice" visual studio didn't accepted ma "http://gateway.sms77.de/?"; as web service url.
my task is normaly not very difficult. i do a http GET request and need the answer wich is for example 100 oder 301 or... what ever. i just need this 3 nubers. thay are displayed in the webbrowser after calling the url that i created. for example i open http://gateway.sms77.de/u=benutzer&p=passwort&to=00491609876543&text=meine%20erste%20nachricht&type=quality&from=sms77.de and i get back 100 in the webbrowser. i yust need this 100 in a string or integer to go on working with that feedback state. as mentioned webrequest worked fine with a normal windows application running on vista, but using the same code on my PPC... i get a error.
is there any other posibility to get this GET request result? Thanks a lot!


<chris-s@xxxxxxxxxxxx> schrieb im Newsbeitrag news:1190709455.440732.315170@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 24, 9:24 pm, "Kai Wiechers" <n...@xxxxxxxxxxxxxxx> wrote:
Hello,
i try to use the content of the document loaded in the webbrowser object.
normaly webbrowser.documenttext would work fine, but in the CF it is write
onely :(
The Backround:
I build a string with a get request and call this url with the browser. the
result of my request is shown in the browser. and i want to use this answer
of the server.
i also tryed webrequest.create and on vista it worked fine, but on my
windows mobile device he only opend the GPRS connection. than i wait about 1
minute an than i gat a error. i cant tell the specific errortext beacuase it
is not shown on my device and in the emulator it doesn't work because im to
stupid do config it for internet access... so maybe somebody can help me
out? my prefered solution would be to go on using the webbrowser and getting
the information out of there. but i'm open to any other solution! thanks a
lot! i hope u can understand my english... ;)

It may not be practical for your situation, but why not use
'WebServices' instead? This sounds like the sort of thing they were
designed for.

Cheers

Chris


.



Relevant Pages

  • HttpModules - Webservices
    ... webservices,. ... Thought the solution was an HttpModule hooked into begin request, ... public void OnBeginRequest ... catch (Exception ex) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Distributed Design Question
    ... > webservices just for clients from internet. ... >> service receives a request you can discard the entire request if the ... >> firewall simply connect directly to the business layer. ...
    (microsoft.public.dotnet.distributed_apps)
  • RE: Distributed Design Question
    ... SoapHeaderExtension to contain security information, ... service receives a request you can discard the entire request if the header ... Clients working from behind the ... > The design that I have select is a smart client application with webservices ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: How to prevent a webservice from responding anything at all?
    ... access to the webservices. ... It is our application who authenticates a user by ... >> So the basic idea is: I want my server to discard a request, ... >> And regarding the server. ...
    (microsoft.public.dotnet.framework.aspnet.security)