J
Jeff Robichaud
Hello,
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
(htc)...
#1. Is it possible to handle the XML on the client side and get the IMG to
display ?
#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...
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
(htc)...
#1. Is it possible to handle the XML on the client side and get the IMG to
display ?
#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...