File transfers - DOTNET

This is a discussion on File transfers - DOTNET ; All, or any who can help... I have an application, written in eVC4, that connects to the Internet and receives a file via a web service. The request contains the name of the file. The WS reads the local file ...

+ Reply to Thread
Results 1 to 4 of 4

File transfers

  1. Default File transfers

    All, or any who can help...

    I have an application, written in eVC4, that connects to the Internet and
    receives a file via a web service. The request contains the name of the file.
    The WS reads the local file and sends back the byte array (stream). However,
    what I receive is an XML document, with the file (encoded) between
    <base64binary> tags. What I want is to get a raw file (no XML headers or
    formatting). The WS is written in VB.NET. It's very simple: open the file, read
    the file into a byte array, and return the byte array. I just want the byte
    array...not the rest of the XML stuff surrounding the byte array.

    Can this be done? How?

    Thanks,
    Kevin S.

  2. Default Re: File transfers

    "Kevin" <kevins@assetcontrols.com> wrote in message
    news:e5PgkLg2HHA.4400@TK2MSFTNGP06.phx.gbl...
    > All, or any who can help...
    >
    > I have an application, written in eVC4, that connects to the Internet and
    > receives a file via a web service. The request contains the name of the
    > file. The WS reads the local file and sends back the byte array (stream).
    > However, what I receive is an XML document, with the file (encoded)
    > between <base64binary> tags. What I want is to get a raw file (no XML
    > headers or formatting). The WS is written in VB.NET. It's very simple:
    > open the file, read the file into a byte array, and return the byte array.
    > I just want the byte array...not the rest of the XML stuff surrounding the
    > byte array.
    >
    > Can this be done? How?


    First, please don't cross-post. Many people read all of the newsgroups you
    posted to, and will see your message several times.

    Second, no, Web Services are about XML, so they'll return XML.
    --
    John Saunders [MVP]


  3. Default Re: File transfers

    Hi here,

    It is bad to crosspost :@

    Just off my head : you know the tag already why not just decode it, or you
    can use the soap tool kits <- a compact framework ??, or you have a .Net COM
    dll connects to the web service. You have so many solutions for the problem.

    --
    cheers,
    RL
    "John Saunders [MVP]" <john.saunders at trizetto.com> wrote in message
    news:%23nn$N2o2HHA.3940@TK2MSFTNGP05.phx.gbl...
    > "Kevin" <kevins@assetcontrols.com> wrote in message
    > news:e5PgkLg2HHA.4400@TK2MSFTNGP06.phx.gbl...
    >> All, or any who can help...
    >>
    >> I have an application, written in eVC4, that connects to the Internet and
    >> receives a file via a web service. The request contains the name of the
    >> file. The WS reads the local file and sends back the byte array (stream).
    >> However, what I receive is an XML document, with the file (encoded)
    >> between <base64binary> tags. What I want is to get a raw file (no XML
    >> headers or formatting). The WS is written in VB.NET. It's very simple:
    >> open the file, read the file into a byte array, and return the byte
    >> array. I just want the byte array...not the rest of the XML stuff
    >> surrounding the byte array.
    >>
    >> Can this be done? How?

    >
    > First, please don't cross-post. Many people read all of the newsgroups you
    > posted to, and will see your message several times.
    >
    > Second, no, Web Services are about XML, so they'll return XML.
    > --
    > John Saunders [MVP]
    >




  4. Default Re: File transfers

    Kevin <kevins@assetcontrols.com> wrote in
    news:e5PgkLg2HHA.4400@TK2MSFTNGP06.phx.gbl:

    > It's very simple: open the file, read
    > the file into a byte array, and return the byte array. I just want the
    > byte array...not the rest of the XML stuff surrounding the byte array.


    If you want a straight byte array - create a socket server.

    With web services, take a look at MTOM - it allows you to transfer large
    files efficently over WS. It's part of WSE 3.0.

+ Reply to Thread

Similar Threads

  1. How to categorise transfers?
    By Application Development in forum Microsoft Money
    Replies: 7
    Last Post: 09-16-2007, 09:36 AM
  2. Reliable file transfers
    By Application Development in forum Java
    Replies: 0
    Last Post: 01-01-2007, 06:35 PM
  3. Net::FTP, GET transfers only a part of a file
    By Application Development in forum Perl
    Replies: 2
    Last Post: 09-29-2005, 07:33 AM
  4. Replies: 4
    Last Post: 04-04-2004, 12:51 PM
  5. Replies: 0
    Last Post: 03-31-2004, 07:09 PM