![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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? |
#3
| |||
| |||
|
|
"Kevin" <kevins (AT) assetcontrols (DOT) com> wrote in message news:e5PgkLg2HHA.4400 (AT) TK2MSFTNGP06 (DOT) 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
| |||
| |||
|
|
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. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |