Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
narmathabala@gmail.com - 22 Apr 2006 05:22 GMT
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
Josh Twist - 24 Apr 2006 12:36 GMT
Then you should probably just use an old fashioned web page (aspx) -
what you describe isn't a webservice.

Josh
http://www.thejoyofcode.com/
jkf35 - 25 Apr 2006 23:09 GMT
I would assume there is a reason you are doing it this way.  Does the
HTML need to be cleanly formatted as XML?  Is it ok to have the HTML
just returned as a string?  Does the client have a specific application
in mind?

If not, Josh is right.  A good ol' webpage is the way to go.

- John Fullmer

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.