For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > March 2005 > WebService to receive file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author WebService to receive file
Tarllem

2005-03-09, 9:00 am

Hi!

You know where I to find a example of a WebService for receive files?

Thanks!


Kevin Spencer

2005-03-09, 4:03 pm

A WebService can't receive files. It is a set of WebMethods that receive
parameters and return objects. A file is not a parameter. What exactly are
your requirements?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You S Is What You Get.

"Tarllem" <no@no.no> wrote in message
news:%23x9nyiJJFHA.1360@TK2MSFTNGP10.phx.gbl...
> Hi!
>
> You know where I to find a example of a WebService for receive files?
>
> Thanks!
>



Tarllem

2005-03-09, 4:03 pm

my requirements are, a method for save a file in the server. WSS can do
it...... I supose that is possible.

"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:ueY%23fFLJFHA.1308@TK2MSFTNGP15.phx.gbl...
>A WebService can't receive files. It is a set of WebMethods that receive
>parameters and return objects. A file is not a parameter. What exactly are
>your requirements?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Tarllem" <no@no.no> wrote in message
> news:%23x9nyiJJFHA.1360@TK2MSFTNGP10.phx.gbl...
>
>



Kevin Spencer

2005-03-09, 4:03 pm

Well, I can identify part of your problem: You haven't spelled out your
requirements. The phrase "save a file in the server" could mean any number
of things. For example, it could mean that you are sitting at the server,
and save a file you've opened. As you haven't spelled out your requirements
yet, that is all I can tell you at this point.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You S Is What You Get.

"Tarllem" <no@no.no> wrote in message
news:%23i89iMLJFHA.3928@TK2MSFTNGP09.phx.gbl...
> my requirements are, a method for save a file in the server. WSS can do
> it...... I supose that is possible.
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
> news:ueY%23fFLJFHA.1308@TK2MSFTNGP15.phx.gbl...
>
>



Tarllem

2005-03-09, 4:03 pm

You are right.... my english is not very good :)

I need to send a file from a client computer to remote server, via
WebServices.
I'm developing with Visual Studio .Net 2003. I'm reading at a document that
the solution is probably SOAP. You know another solution?
Thanks for your time!


"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:eLnkBnLJFHA.3832@TK2MSFTNGP12.phx.gbl...
> Well, I can identify part of your problem: You haven't spelled out your
> requirements. The phrase "save a file in the server" could mean any number
> of things. For example, it could mean that you are sitting at the server,
> and save a file you've opened. As you haven't spelled out your
> requirements yet, that is all I can tell you at this point.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Tarllem" <no@no.no> wrote in message
> news:%23i89iMLJFHA.3928@TK2MSFTNGP09.phx.gbl...
>
>



Kevin Spencer

2005-03-09, 4:03 pm

> I need to send a file from a client computer to remote server, via
> WebServices.


"I need to send a file from a client computer to a remote server" is a
requirement.

"via Web Services" is a solution, NOT a requirement.

Now, I may be missing something, but if there is a true requirement that you
use SOAP to do this, please tell me the reason.

And again, you have not spelled out your requirements sufficiently. For
example, are you saying that you simply want to transfer a file from one
computer to another? If so, there are dozens of ways of doing so, such as
FTP. I suspect, however, that you are simply not spelling out the whole
picture.

The first step to building an application is defining the exact
requirements. A computer doesn't understand "sort of" or "fill in the
details."

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You S Is What You Get.

"Tarllem" <no@no.no> wrote in message
news:%23qMyfUMJFHA.2928@TK2MSFTNGP10.phx.gbl...
> You are right.... my english is not very good :)
>
> I need to send a file from a client computer to remote server, via
> WebServices.
> I'm developing with Visual Studio .Net 2003. I'm reading at a document
> that the solution is probably SOAP. You know another solution?
> Thanks for your time!
>
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
> news:eLnkBnLJFHA.3832@TK2MSFTNGP12.phx.gbl...
>
>



Tarllem

2005-03-10, 8:59 am

Hi Kevi,
Thanks for your interest.

I'm developing an .aspx that run a script of VBScript in a client desktop.
This script connect with Outlook model object for to save a message from the
inbox, and send it to a remote server that's running WSS (Windows Sharepoint
Services). WWS have a method to receive files in Base64 format..... but VBS
can not work properly with this method because Base64 is not a Data Type, is
a format data of data type Byte. I'm declaring an array of Byte in VBS but
an error message shows "Data Types do not coincide".

I'm trying to develop my own WebService without Base64 parameter in the
method.


"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:u3hCGoMJFHA.580@TK2MSFTNGP15.phx.gbl...
>
> "I need to send a file from a client computer to a remote server" is a
> requirement.
>
> "via Web Services" is a solution, NOT a requirement.
>
> Now, I may be missing something, but if there is a true requirement that
> you use SOAP to do this, please tell me the reason.
>
> And again, you have not spelled out your requirements sufficiently. For
> example, are you saying that you simply want to transfer a file from one
> computer to another? If so, there are dozens of ways of doing so, such as
> FTP. I suspect, however, that you are simply not spelling out the whole
> picture.
>
> The first step to building an application is defining the exact
> requirements. A computer doesn't understand "sort of" or "fill in the
> details."
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Tarllem" <no@no.no> wrote in message
> news:%23qMyfUMJFHA.2928@TK2MSFTNGP10.phx.gbl...
>
>



Kevin Spencer

2005-03-10, 4:03 pm

Ah, you're not talking about Web Services at all. You're talking about
Windows SharePoint Services. This would not be the newsgroup to ask about
this. Try:

microsoft.public.sharepoint.windowsservices

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You S Is What You Get.

"Tarllem" <no@no.no> wrote in message
news:OC3$BGVJFHA.2356@TK2MSFTNGP12.phx.gbl...
> Hi Kevi,
> Thanks for your interest.
>
> I'm developing an .aspx that run a script of VBScript in a client desktop.
> This script connect with Outlook model object for to save a message from
> the inbox, and send it to a remote server that's running WSS (Windows
> Sharepoint Services). WWS have a method to receive files in Base64
> format..... but VBS can not work properly with this method because Base64
> is not a Data Type, is a format data of data type Byte. I'm declaring an
> array of Byte in VBS but an error message shows "Data Types do not
> coincide".
>
> I'm trying to develop my own WebService without Base64 parameter in the
> method.
>
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
> news:u3hCGoMJFHA.580@TK2MSFTNGP15.phx.gbl...
>
>



Henk Verhoeven

2005-03-10, 9:00 pm

Kevin

Did you have a bad day or something. From the post you can understand what
he wants, without spelling it out to you.

If you don't want to help the person why not just tell him.
Geez, you purposely want to pick a fight with the guy....


Tarllem, try this link for more information
http://www.webserviceresource.com/a...s/wsupload.aspx

At least this will get you closer to a solution without being harrased!!


henk

"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:eo1u$OYJFHA.2928@TK2MSFTNGP10.phx.gbl...
> Ah, you're not talking about Web Services at all. You're talking about
> Windows SharePoint Services. This would not be the newsgroup to ask about
> this. Try:
>
> microsoft.public.sharepoint.windowsservices
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Tarllem" <no@no.no> wrote in message
> news:OC3$BGVJFHA.2356@TK2MSFTNGP12.phx.gbl...
>
>



Kevin Spencer

2005-03-10, 9:00 pm

> Did you have a bad day or something. From the post you can understand what
> he wants, without spelling it out to you.
>
> If you don't want to help the person why not just tell him.
> Geez, you purposely want to pick a fight with the guy....


Talk about thin-skinned! I DO want to help the guy. I don't know the answer.
Yes, unfortunately, I don't know everything about everything that Microsoft
makes. So I pointed him to a newsgroup where he could find help. Now, how is
that supposed to be picking a fight?

Sounds more like YOU are the one picking a fight. And not helping either.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You S Is What You Get.

"Henk Verhoeven" <henk.verhoeven@_nospam_bluecod.net.nonospam> wrote in
message news:%23fg5KlaJFHA.4092@tk2msftngp13.phx.gbl...
> Kevin
>
> Did you have a bad day or something. From the post you can understand what
> he wants, without spelling it out to you.
>
> If you don't want to help the person why not just tell him.
> Geez, you purposely want to pick a fight with the guy....
>
>
> Tarllem, try this link for more information
> http://www.webserviceresource.com/a...s/wsupload.aspx
>
> At least this will get you closer to a solution without being harrased!!
>
>
> henk
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:eo1u$OYJFHA.2928@TK2MSFTNGP10.phx.gbl...
>
>



Tarllem

2005-03-15, 9:00 am

Please, do not discuss, I am sure that has been a misunderstanding.
I am grateful for the help to them of both.


"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:OywTHuaJFHA.2576@TK2MSFTNGP15.phx.gbl...
>
> Talk about thin-skinned! I DO want to help the guy. I don't know the
> answer. Yes, unfortunately, I don't know everything about everything that
> Microsoft makes. So I pointed him to a newsgroup where he could find help.
> Now, how is that supposed to be picking a fight?
>
> Sounds more like YOU are the one picking a fight. And not helping either.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Henk Verhoeven" <henk.verhoeven@_nospam_bluecod.net.nonospam> wrote in
> message news:%23fg5KlaJFHA.4092@tk2msftngp13.phx.gbl...
>
>



Pete Wood

2005-03-27, 3:59 pm

SOAP with attachments ought to do you...

http://www-106.ibm.com/developerwor...en&l=930,t=grws

--
Peter Wood
Visit us at http://www.webserviceshelp.org
______________________________________


"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:ueY%23fFLJFHA.1308@TK2MSFTNGP15.phx.gbl...
>A WebService can't receive files. It is a set of WebMethods that receive
>parameters and return objects. A file is not a parameter. What exactly are
>your requirements?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> What You S Is What You Get.
>
> "Tarllem" <no@no.no> wrote in message
> news:%23x9nyiJJFHA.1360@TK2MSFTNGP10.phx.gbl...
>
>



SR

2005-03-30, 9:00 pm

have u looked at the Web Service Enhansements?
http://msdn.microsoft.com/library/d...9c5b2f2191d.asp



"Tarllem" <no@no.no> wrote in message
news:%23x9nyiJJFHA.1360@TK2MSFTNGP10.phx.gbl...
> Hi!
>
> You know where I to find a example of a WebService for receive files?
>
> Thanks!
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com