Getting an image from web service directly from client

Discussion in 'ASP .Net Web Services' started by Jeff Robichaud, Nov 22, 2005.

  1. 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...
     
    Jeff Robichaud, Nov 22, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bert Leu
    Replies:
    1
    Views:
    466
    Cowboy \(Gregory A. Beamer\)
    Nov 23, 2007
  2. Navin Mishra

    Executing a web service dll directly

    Navin Mishra, Apr 5, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    115
    Lionel LASKE
    Apr 7, 2005
  3. Replies:
    0
    Views:
    209
  4. mikey
    Replies:
    1
    Views:
    112
    Emil Kvarnhammar
    Nov 3, 2005
  5. Leo Violette
    Replies:
    0
    Views:
    1,055
    Leo Violette
    Apr 17, 2009
Loading...

Share This Page