473,394 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

SOAP with Attachments

Newbie warning: I'm still learning about SOAP, but my boss is convinced
that the only way a VB.Net web service can properly interpret (and
eventually send) SOAP with Attachments from (to) another product is with a
3rd party product--he wants to buy this product:
http://www.alotsoft.com/alotsoftweb/soap_attachment.jsp. I'm using VS 2003.
Is he correct? I say that it could be done without the 3rd party, but as I
said I'm still a newbie, so that's why I'm asking...

Thanx!

--
TFWBWY...A
Feb 8 '06 #1
3 4909
CMM
SWA was ill-conceived and not much of a "standard." You can send any data
you want over soap as long as you mime or base64 encode it. The service on
the side just reverses the process. The problem is coming up with a
"Standard," which no one has seemed to come up with. Here's an interesting
link
http://www.topxml.com/WS-web-service...ces-today.aspx

So, I guess your boss is probably right. Though I can't see why coming up
with your implementation to handle SWA would be so hard.
Feb 9 '06 #2
Interesting article, though, as I noted in the original post, I'm still
learning a lot of the terminology. Can you point me to an example on the
web using VS 2003?

"CMM" <cm*@nospam.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
SWA was ill-conceived and not much of a "standard." You can send any data
you want over soap as long as you mime or base64 encode it. The service on
the side just reverses the process. The problem is coming up with a
"Standard," which no one has seemed to come up with. Here's an interesting
link
http://www.topxml.com/WS-web-service...ces-today.aspx

So, I guess your boss is probably right. Though I can't see why coming up
with your implementation to handle SWA would be so hard.

Feb 9 '06 #3
CMM
First off, are you responsible for both sides of the service? Or are you
communicating with some Java web service or whatever?

If you're in control, you can just read in the file as a byte array and
convert it to a Base64 string (Convert.ToBase64String(...)) and either
return the string as the output of your web method or in a string array (if
sending multiple files). SOAP can handle this. It's pretty standard stuff.

You can just tell the other guys, "well, I'm sending this as a Base64 string
array.... deal with it!" If they're the ones sending you the file, and
they're using some other "way" of ataching files, then you may need to
follow your boss' advice.

Frankly the whole "standards debate" confuses me. I don't understand what
the big deal is about. I guess the "no-frills" Base64 method is slow.

--
-C. Moya
www.cmoya.com
"Bryan Dickerson" <tx******@netscape.net> wrote in message
news:ug*************@TK2MSFTNGP11.phx.gbl...
Interesting article, though, as I noted in the original post, I'm still
learning a lot of the terminology. Can you point me to an example on the
web using VS 2003?

"CMM" <cm*@nospam.com> wrote in message
news:em**************@TK2MSFTNGP15.phx.gbl...
SWA was ill-conceived and not much of a "standard." You can send any data
you want over soap as long as you mime or base64 encode it. The service
on the side just reverses the process. The problem is coming up with a
"Standard," which no one has seemed to come up with. Here's an
interesting link
http://www.topxml.com/WS-web-service...ces-today.aspx

So, I guess your boss is probably right. Though I can't see why coming up
with your implementation to handle SWA would be so hard.


Feb 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jangolan | last post by:
Hi, I have written an application in C++ that consumes webservices. The application works great on my pc, which I have visual studio installed. When I deploy the application to other user's pcs,...
3
by: Ipsita | last post by:
Hi! I am trying SOAP with DIME attachments in web services. For example say, I have a file resume.pdf stored somewhere on my server. How does the web service send the file to the client, so that...
1
by: Ipsita | last post by:
Hi! I am trying SOAP with DIME attachments in web services. The web service sends the file as attachment say "test.doc", and the client has to read that and populate it in a textbox control. I...
1
by: SqlJunkies User | last post by:
Hi! is there any way to to upload a file as a soap-attachment??? I have written a jscript function that handles all form-data, packs it up into one xml-file and sends it off to the server....
0
by: saliwen | last post by:
Can WSE2.0 implements SOAP Attachments of W3C for interoperations ?
3
by: flo | last post by:
hi, i have to develop a web service client (must be .net, currently i'm using c# with wse3) for a java service. the java service uses mime attachments for up- and download of files. i googled...
6
by: Mantorok | last post by:
Hi ASP.Net v2.0 Can you send an attachment with a web-method call? If so, how? Thanks Kev
0
by: xanax13 | last post by:
Hi, I'm trying to use python as a client for a Java (Axis) web service that handle attachments (files) No problem with a java client, but i don't know how to do with python. I tried ZSI but i...
0
by: =?Utf-8?B?SGVscCBOZWVkZWQ=?= | last post by:
Hi, I am sending mail attachments thru SOAP. I am using "RequestSoapContext.Attachments.Add"; everything is working fine, but How can I set the FileName for the attachments. When I set my file...
1
markmcgookin
by: markmcgookin | last post by:
Hi Folks, Sorry if this is a bit vague, but I am REALLY struggling to find an answer to this (hopefully simple) question. I have a web service running on a system that we are using to...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.