473,399 Members | 4,177 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,399 software developers and data experts.

Webservices - can I post back the response to the client as a html page

Hello,

My business client communicates with the server through a url link.
The link will be something like
http://www.justforsample/webservicef...ameter2=value2
My webservice will get the result back from the server.
Now, my client expects the response in a html format. Something similar
to

<HTML><HEAD><TITLE>application name </TITLE></HEAD><BODY>
<TABLE>
<TR>
<TD>DATA</TD>
<TD>response message</TD>
</TR>
</TABLE>
</BODY></HTML>

Can anyone tell me how to send the html source back as a response.
Thanks in advance,
Narmatha

Apr 22 '06 #1
1 1204
Narmatha,
First I would comment that this is a really "nonstandard" way to use
webservice infrastructure.
Should you decide you still want to proceed on this "tack" you can return
the HTML markup withing a CDATA section and then read the "resultMarkup"
element out and do what you need to do with it.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"na**********@gmail.com" wrote:
Hello,

My business client communicates with the server through a url link.
The link will be something like
http://www.justforsample/webservicef...¶meter2=value2
My webservice will get the result back from the server.
Now, my client expects the response in a html format. Something similar
to

<HTML><HEAD><TITLE>application name </TITLE></HEAD><BODY>
<TABLE>
<TR>
<TD>DATA</TD>
<TD>response message</TD>
</TR>
</TABLE>
</BODY></HTML>

Can anyone tell me how to send the html source back as a response.
Thanks in advance,
Narmatha

Apr 23 '06 #2

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

Similar topics

6
by: Paul Perot | last post by:
Hi All: I was wondering if it was possible to evoke a post back event during code execution. I have a form that contains file specific information. I would like to iterate through an array of...
5
by: Gary Vidal | last post by:
I have a client side Javascript which checks an OrderQuantityField against a hidden Textbox of the Minimum Order Quantity. I dont want to do validation on a postback. I would like to be able to...
1
by: Dr. Frankenchurn | last post by:
I have a question regarding SOAP. A basic "Hello World" web service was written then requested from an IIS server via TELNET. When a malformed request was sent, a SOAP exception was returned,...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
6
by: guoqi zheng | last post by:
In a regular html form, when user press "enter" key, the form will be submitted. However, in ASP.NET web form, a form will only be submitted (post back) when a special button is clicked. Many...
1
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include...
0
by: narmathabala | last post by:
Hello, My business client communicates a request to the server through a url link. The link will be something like www.justforsample/webservicefunction?parameter1=value&parameter2=value2 My...
4
by: figelwump | last post by:
All, I am writing an HTTP 1.1 compliant proxy in c#.NET, for use as a proxy server for any web browser (IE, firefox, etc). I've got it working fine for GET requests. However, when a POST...
2
by: Georgy Malyshev | last post by:
Hello, All! I have a simplistic ASP application, only default.asp file without any scripts just HTML to say "Hello world!". It is running under IIS 5.1 on XP SP2 machine. I also have some...
56
by: UKuser | last post by:
Hi, I'm not sure if this can be done as I've searched the web and this forum. I am using an online merchant provider and I must post certain variables to their webforms through a form on my...
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?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.