About Web Services...

  • Thread starter Thread starter Smoke
  • Start date Start date
S

Smoke

Im doing a webservice, which take some paramenters, as usual, and then go and make some other URL requests and download html pages
into local TXT files, it then load those files, write down a new TXT file, and... i need the service to return that TEXT but get
interpreted by the browser as an html page

basically, i need my WebService to return an HTML webpage, is that possible? how?
 
Well, I'd have the web service return a string formatted as HTML and load
that string into the browser. Hope this helps!

Matthew Stoecker
Visual Basic User Education Team
Microsoft Corp.

This information is provided 'as-is' and without warranty expressed or
implied.

--------------------
From: "Smoke" <[email protected]>
Subject: About Web Services...
Date: Fri, 26 Sep 2003 18:39:12 -0300
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: r200-40-174-84.adinet.com.uy 200.40.174.84
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:141677
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Im doing a webservice, which take some paramenters, as usual, and then go
and make some other URL requests and download html pages
into local TXT files, it then load those files, write down a new TXT file,
and... i need the service to return that TEXT but get
 
Well, i wish i can do that, however, when the string is returned the browser show it as XML, then, you can READ the html content,
but the browser dont interpret that as a valid html, make sense?

is there any other way?
 
Howdy Smoke,

How are you giving the text to the Browser - are you using the InnerHTML
property. Are you writing the text to a file and setting the location? If so,
have you given it the extension .xml or .htm?

Let's see some code.

Regards,
Fergus
 
No, what im doing is...
The webservice has a method, which return a STRING
and that string, just is a HTML, like
<html>
<title> </title>
<body><p>test>/p></body>
</html>
and then i just return that....
 
Hi Smoke,

You said
|| i need the service to return that TEXT but get
|| interpreted by the browser as an html page

I asked
|| How are you giving the text to the Browser - are
|| you using the InnerHTML property. Are you
|| writing the text to a file and setting the location?
|| If so, have you given it the extension .xml or .htm?

You said
|| The webservice has a method, which return a STRING


So I will ask
How are you giving the text to the Browser - are
you using the InnerHTML property. Are you
writing the text to a file and setting the location?
If so, have you given it the extension .xml or .htm?

And I'll suggest
Let's see some code.

And then I'll wait again!!

Regards,
Fergus
 
Back
Top