473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

About Web Services...

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?
Nov 20 '05 #1
5 1042
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" <sm***@netgate.com.uy>
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: <ez**************@TK2MSFTNGP11.phx.gbl>
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!TK2MSFTN GP11.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 pagesinto local TXT files, it then load those files, write down a new TXT file, and... i need the service to return that TEXT but getinterpreted by the browser as an html page

basically, i need my WebService to return an HTML webpage, is that possible? how?


Nov 20 '05 #2
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?

"Matthew Stoecker" <ma****@microsoft.com> wrote in message news:YY**************@cpmsftngxa06.phx.gbl...
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" <sm***@netgate.com.uy>
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: <ez**************@TK2MSFTNGP11.phx.gbl>
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!TK2MSFTN GP11.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
interpreted by the browser as an html page

basically, i need my WebService to return an HTML webpage, is that

possible? how?


Nov 20 '05 #3
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
Nov 20 '05 #4
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....

"Fergus Cooney" <fi******@tesco.net> wrote in message news:Oe**************@TK2MSFTNGP12.phx.gbl...
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

Nov 20 '05 #5
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
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
4
by: jm | last post by:
I understand how an XML formatted SOAP message is used to request items from a web service and how the XML formatted SOAP response is used. I am still missing the big picture, however. When is...
0
by: Jefsun | last post by:
Hello, i am new to visual studio.net and .net in general. I want to develop a server side application that need to be accessed through web services. My question is do i have to develop asp.net...
3
by: Chris Dunaway | last post by:
How can a class be shared between a web service and a client that consumes the web service? Suppose I have a Class Libraray with the following simple class: Public Class SimpleClass Private...
2
by: Ed Staffin | last post by:
Hi all, I sent this the other day but got no responses, so, I thought I would try again. I am thinking about the next version of my application (it's an accounting app) and it would seem that web...
2
by: Yack | last post by:
Hellow, i'm doing a web service who needs to insert/update/delete severals tables like users , groups etc. The question is should i do one web service (.asmx) for each table or should i get all...
11
by: jason | last post by:
we have developed a .NET class library that defines a family of reusable business objects. the class library is developed in C#, and works quite well. one problem, however, is that as more and...
4
by: Slim | last post by:
Do you need to add Web Services to your web site if they are actually on your web site. To explain it better, I built some web serves, and on my menu it says add web references, you then have a...
1
by: Jeff | last post by:
Hey IDE: VS .NET 2005 #1 I want to start developing web parts in visual studio 2005 and are wondering where is the latest version of the web part templates. I did find this download (the...
1
by: lucoin | last post by:
I am new to C# and asp,net. I got an assignment about student enrollment system. I this system, I can not store the student name in the local data base. the local about student just stores the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.