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

  • Thread starter Thread starter narmathabala
  • Start date Start date
N

narmathabala

Hello,

My business client communicates with the server through a url link.
The link will be something like
www.justforsample/webservicefunction?parameter1=value&parameter2=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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top