Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to send image via webservices

How to send image via webservices

Scheduled Pinned Locked Moved C#
tutorialxmlquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shaik Haneef
    wrote on last edited by
    #1

    Hi to all, I want to send image through other details. For Example My xml is like this and I want to send like as string (Return type as string). <uid>xxxxx </uid> <logoimg>Here My Byte code<logoimg> ...... ...... How can i do it, user after getting the xml how he can save it as image again.. Please give me all details..

    C 1 Reply Last reply
    0
    • S Shaik Haneef

      Hi to all, I want to send image through other details. For Example My xml is like this and I want to send like as string (Return type as string). <uid>xxxxx </uid> <logoimg>Here My Byte code<logoimg> ...... ...... How can i do it, user after getting the xml how he can save it as image again.. Please give me all details..

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Shaik Haneef wrote:

      Please give me all details..

      Google. Or just do it, all you need to do is add a method that returns a bitmap.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      S 1 Reply Last reply
      0
      • C Christian Graus

        Shaik Haneef wrote:

        Please give me all details..

        Google. Or just do it, all you need to do is add a method that returns a bitmap.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        S Offline
        S Offline
        Shaik Haneef
        wrote on last edited by
        #3

        Please Give me accurate link.. I can't found so that I am posted in forums.

        C T 2 Replies Last reply
        0
        • S Shaik Haneef

          Please Give me accurate link.. I can't found so that I am posted in forums.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Your profile says that you have 2 years of .NET experience. Is this true ? I found examples in seconds. The ones I found, sent the image back as a byte array then put them in a memory stream, and built the bitmap using Bitmap.FromStream. I'm not sure you can't just return a bitmap, but if all else fails, that seems like the trivial way to do it, to me.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          S 1 Reply Last reply
          0
          • S Shaik Haneef

            Please Give me accurate link.. I can't found so that I am posted in forums.

            T Offline
            T Offline
            The Man from U N C L E
            wrote on last edited by
            #5

            What do you a link for, the google search[^]? The second result is an article here on code project addressing your precise question.

            If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk

            S 1 Reply Last reply
            0
            • C Christian Graus

              Your profile says that you have 2 years of .NET experience. Is this true ? I found examples in seconds. The ones I found, sent the image back as a byte array then put them in a memory stream, and built the bitmap using Bitmap.FromStream. I'm not sure you can't just return a bitmap, but if all else fails, that seems like the trivial way to do it, to me.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              S Offline
              S Offline
              Shaik Haneef
              wrote on last edited by
              #6

              Every thing we if we found in google why this forums available & why you need to ask again to search in google, Hmmmmmmmmm I found my solution by my Own http://www.dailycoding.com/Posts/convert_image_to_base64_string_and_base64_string_to_image.aspx[^]

              1 Reply Last reply
              0
              • T The Man from U N C L E

                What do you a link for, the google search[^]? The second result is an article here on code project addressing your precise question.

                If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk

                S Offline
                S Offline
                Shaik Haneef
                wrote on last edited by
                #7

                Every thing we if we found in google why this forums available & why you need to ask again to search in google, Hmmmmmmmmm I found my solution by my Own http://www.dailycoding.com/Posts/convert\_image\_to\_base64\_string\_and\_base64\_string\_to\_image.aspx\[^\]

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups