Need suggestion on sending HTML content over webservice

Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: May 2006
Posts: 60
Reputation: kaushik259106 is an unknown quantity at this point 
Solved Threads: 0
kaushik259106 kaushik259106 is offline Offline
Junior Poster in Training

Need suggestion on sending HTML content over webservice

 
0
  #1
Jun 26th, 2009
Hi All,
I have this requirement to do and am still scratching my head. Actually am not that comfortable with webservice but am still fighting and need some help.

Here i go.
I need to send xHTML content through webservice. Something like if someone calls my API he gets a html content and he can use it in there website.

Approach i thought:
Send the xhtml content in the XML itself and have a method in my API to strip it down. Though am not sure about the after effect about this approach i request you guys for some idea.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 856
Reputation: pritaeas will become famous soon enough pritaeas will become famous soon enough 
Solved Threads: 139
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Practically a Posting Shark

Re: Need suggestion on sending HTML content over webservice

 
0
  #2
Jun 29th, 2009
You could return your xhtml in a cdata block.
http://www.w3schools.com/xmL/xml_cdata.asp
"If it is NOT source, it is NOT software."
-- NASA
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC