Attachments in webservices without using WSE

Discussion in 'ASP .Net Web Services' started by nano2k, Feb 13, 2007.

  1. nano2k

    nano2k Guest

    Hi

    Is it possible to attach binary data to an SOAP response?
    I need to transfer a byte array, but I cannot use WSE because my app
    is designed to work also on '98 systems, and WSE is not supported.
    If it's possible, can anyone provide a link?
    I'm using .NET Framework v1.1.

    Thanks.
     
    nano2k, Feb 13, 2007
    #1
    1. Advertising

  2. You could create a string response and encode the array of bytes as base64
    with Convert.ToBase64String.

    "nano2k" <> wrote in message
    news:...
    > Hi
    >
    > Is it possible to attach binary data to an SOAP response?
    > I need to transfer a byte array, but I cannot use WSE because my app
    > is designed to work also on '98 systems, and WSE is not supported.
    > If it's possible, can anyone provide a link?
    > I'm using .NET Framework v1.1.
    >
    > Thanks.
    >
     
    Mariano Omar Rodriguez, Feb 13, 2007
    #2
    1. Advertising

  3. nano2k

    nano2k Guest

    > You could create a string response and encode the array of bytes as base64
    > with Convert.ToBase64String.

    I don't want to waste processor power (encoding), memory (base64
    strings hold +33% more memory) and traffic (+33% more network traffic
    - over internet this pretty much).
     
    nano2k, Feb 14, 2007
    #3
    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. codewarrior
    Replies:
    0
    Views:
    547
    codewarrior
    May 4, 2009
  2. Peter Green
    Replies:
    0
    Views:
    655
    Peter Green
    Nov 5, 2009
  3. Graeme Anderson

    WSE Attachments & VB6

    Graeme Anderson, Dec 20, 2003, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    230
    Dino Chiesa [Microsoft]
    Nov 17, 2004
  4. Vaylor Trucks

    DIME attachments break double-byte characters using WSE 1.0 SP1

    Vaylor Trucks, Oct 27, 2004, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    183
    Dan Rogers
    Nov 18, 2004
  5. kiran & Dev

    wse router calling 2 diff webservices

    kiran & Dev, Feb 25, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    186
    kiran & Dev
    Feb 25, 2005
Loading...

Share This Page