Getting an image from web service directly from client
I currently have a web page with an image. The SRC attribute of the IMG tag
calls a web page (aspx) that returns a MIME image/jpeg (something like IMG
SRC="GetImage.aspx"). I'm skipping the details of why it is like that. Now
some new specs want the server-side code to get the image held in web
service instead of an web application.
A first approach to using the web service is to call the web service from
the application. Not much complicated with .NET, though it's been slowed
down very slighty due to serialization to XML (as I think I understood).
Now if I want to bypass the call to GetImage.aspx and call directly the web
service directly from within the client...using the Web Service Behavior
#1. Is it possible to handle the XML on the client side and get the IMG to
#2. What are the pros and cons of using this approach ?
#3. Are web services meant to be called from web/windows applications,
directly from web browsers, or both ?
Ok enough...thanks to anyone willing to enlighten me a little...
|All times are GMT. The time now is 03:38 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.