Hi all,
I have to prepare a webservice (framework 1.1, C#) and winapp client (fw
1.1, C#). The service will prepare a file and soul send it to the
client.
Any help in that direction, how to implement file transfer between
webservice and client?
Thanks
Sunny 4 7485
Sunny,
I have to ask, what is "soul send" or did you mean "should" =)
You could always just base64 encode the bytes from the file and then
send that down the line, but there are more elegant methods to transferring
files. Check out the article from the December 2002 issue of MSDN titled
"Sending Files, Attachments, and SOAP Messages Via Direct Internet Message
Encapsulation", located at (watch for line wrap): http://msdn.microsoft.com/msdnmag/issues/02/12/DIME/
It should give you a good method for transferring files between a web
service and a client (and in a standardized way as well!).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Sunny" <su******@icebergwireless.com> wrote in message
news:MP************************@msnews.microsoft.c om... Hi all, I have to prepare a webservice (framework 1.1, C#) and winapp client (fw 1.1, C#). The service will prepare a file and soul send it to the client. Any help in that direction, how to implement file transfer between webservice and client?
Thanks Sunny
In article <OJ**************@tk2msftngp13.phx.gbl>, ni**************@exisconsulting.com says... Sunny,
I have to ask, what is "soul send" or did you mean "should" =)
You could always just base64 encode the bytes from the file and then send that down the line, but there are more elegant methods to transferring files. Check out the article from the December 2002 issue of MSDN titled "Sending Files, Attachments, and SOAP Messages Via Direct Internet Message Encapsulation", located at (watch for line wrap):
http://msdn.microsoft.com/msdnmag/issues/02/12/DIME/
It should give you a good method for transferring files between a web service and a client (and in a standardized way as well!).
Hope this helps.
Hi Nicholas,
In the given situation it's really "soul" send :)
So, maybe the DIME will be the way. But are there any sample code and
standard classes both for preparing the DIME message (I saw that there
is a parser in SOAP Toolkit 3.0". And how exactly should look the
declaration of the web method, which sends the information. Any tools
for VS.Net ?!?!
Sorry for asking such a questions, but deadline was yesterday as always
happens :)
Thanks
Sunny
Sunny,
There are no tools to integrate this into VS, but there should be code
examples attached with the article.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"Sunny" <su******@icebergwireless.com> wrote in message
news:MP************************@msnews.microsoft.c om... In article <OJ**************@tk2msftngp13.phx.gbl>, ni**************@exisconsulting.com says... Sunny,
I have to ask, what is "soul send" or did you mean "should" =)
You could always just base64 encode the bytes from the file and then send that down the line, but there are more elegant methods to
transferring files. Check out the article from the December 2002 issue of MSDN
titled "Sending Files, Attachments, and SOAP Messages Via Direct Internet
Message Encapsulation", located at (watch for line wrap):
http://msdn.microsoft.com/msdnmag/issues/02/12/DIME/
It should give you a good method for transferring files between a
web service and a client (and in a standardized way as well!).
Hope this helps.
Hi Nicholas, In the given situation it's really "soul" send :)
So, maybe the DIME will be the way. But are there any sample code and standard classes both for preparing the DIME message (I saw that there is a parser in SOAP Toolkit 3.0". And how exactly should look the declaration of the web method, which sends the information. Any tools for VS.Net ?!?! Sorry for asking such a questions, but deadline was yesterday as always happens :)
Thanks Sunny
In article <uv**************@TK2MSFTNGP09.phx.gbl>, ni**************@exisconsulting.com says... Sunny,
There are no tools to integrate this into VS, but there should be code examples attached with the article.
Hi Nicholas,
I have installed WSE 1.0, there are a lot of thing in that topic, and
the documentation is pretty good and full with useful samples, so I'll
use it.
Thanks for the support
Sunny This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sunny |
last post by:
Hi all,
I have to prepare a webservice (framework 1.1, C#) and winapp client (fw
1.1, C#). The service will prepare a file and soul send it to the
client.
Any help in that direction, how to...
|
by: Sanjay |
last post by:
I have a question whose answer will help me save a lot of time in
investigation and implementation. Becuase we have a mix of platforms
(Windows/Unix etc) in our environment I would like to...
|
by: Daniel |
last post by:
hi ng,
i have a webservice method that provides a object array that i would
like to bind with a datalist on client side.
the problem is that a datalist needs property fields to bind to, but...
|
by: Lacka |
last post by:
Hi,
How can I transfer files via FTP under asp.net? Don't found any info...
thanks,
Lacka
|
by: Weston Weems |
last post by:
I've got the simple problem where I'd like to transfer
somewhat large files to my webserver via
http/webservice/something like that.
My question is what kinda limits have people been able to...
|
by: ad |
last post by:
I want to use WebServer to receive a DataSet from Client with internet.
The DataSet is some bigger, there are 50 fields and about 50000 rows in it.
Is it OK to do so? Will DotFrameWork or IIS...
|
by: BobAchgill |
last post by:
Can you point me to a simple example of how to transfer a
file (send or receive) using a webservice.
Thanks!
Bob
PS. Pardon my double posting. I also posted to the
webservices forum.
|
by: JJ |
last post by:
I have a requirement where I need to transfer a web.config from one
webservice to another webservice. The environment for this will be
intranet only. I will use a xaml win app client to initiate...
|
by: minhchieu |
last post by:
Hi everyone,
I'm working with webservice on Net 2.0. I have a mysql database whose size is about 200MB. I want to make a copy of this database and send it to client through webservice in XML format....
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |