By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,967 Members | 815 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,967 IT Pros & Developers. It's quick & easy.

SOAP attachment?

P: n/a
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.
before the latest MS security patch, the one that disabled adodb.stream object, this also worked nicely for upload-files (<input type=file>). I just read the file from the users harddisk using the adodb.stream activeXObject, read it into a an xml-node (nodeType=bin.base64) and sent it of to the server.

Now I am wondering whether a similar thing could be achieved using SOAP attachments, since the adodb.stream object does not work anymore, thus preventimg the file-access und the client computer.

The whole thing is not very security sensitive because it is only used by our company employees, but it still has to work on the internet - so just uninstalling the latest security patch is not an option.
sven

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Search MSDN and the web for "SOAP with Attachments" and Web Services
Enhancements (WSE).

You may want to check out this article:
http://msdn.microsoft.com/webservice...opaquedata.asp.

Dale
"SqlJunkies User" <User@-NOSPAM-SqlJunkies.com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
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. before the latest MS security patch, the one that disabled adodb.stream object, this also worked nicely for upload-files (<input type=file>). I just
read the file from the users harddisk using the adodb.stream activeXObject,
read it into a an xml-node (nodeType=bin.base64) and sent it of to the
server.
Now I am wondering whether a similar thing could be achieved using SOAP attachments, since the adodb.stream object does not work anymore, thus
preventimg the file-access und the client computer.
The whole thing is not very security sensitive because it is only used by our company employees, but it still has to work on the internet - so just
uninstalling the latest security patch is not an option. sven

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine

supports Post Alerts, Ratings, and Searching.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.