Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

WSE 3.0 MTOM tcp

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kjartan - 02 Oct 2005 15:58 GMT
Hi,

If I remember correctly I believe I read that with WSE 3.0 you could move
away from using http/iis and use tcp instead. Is this possible when using
MTOM? If so, that would increase speed alot.

And another thing, how would I send the file without reading the whole file
into a byte array first? I dont' want the clients memory to be the limit of
the size of the file to be sent :P
Michael Lew - 11 Oct 2005 12:47 GMT
See
http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/htm
l/newwse3.asp


> Hi,
>
[quoted text clipped - 5 lines]
> into a byte array first? I dont' want the clients memory to be the limit of
> the size of the file to be sent :P
William Stacey [MVP] - 11 Oct 2005 18:58 GMT
It still has a few issues from what I can see:
1) Receiver side can still not stream.  It must read the whole message
first.  So this basically means very large files are still not an option
with WSE MTOM AFAICT.  Sender side can stream however with some funky
XmlWriter deal (real binary stream would be tons easier).
2) "Note   Although MTOM reduces wire size when composed with security, it
does not reduce the processing time either on the client or the server in
order to secure the message. This is because WS-Security requires the data
to be converted to base64 to apply normalization and canonicalization
algorithms and hence generate the cipher values in order to achieve
interoperability. "  So not sure if the processing overhead (at both sides)
will out-weight any wire size savings one would get.

It seems to me like these two things need to be addressed to really realize
MTOMs benifits.  The pipe should not touch the byte stream unless I want it
encrypted and signed.  And why they would base64 encoding it anyway for
signing is beyond me as it would be easier to keep it in bytes the whole
way.  Almost need to expose an attachment stream on both sides so we can
really easily read and write streams in chunks.  For now, it would seem that
some other out-of-band channel is still needed such as httpdownload, ftp,
sockets, etc.

Signature

William Stacey [MVP]

> Hi,
>
[quoted text clipped - 5 lines]
> file into a byte array first? I dont' want the clients memory to be the
> limit of the size of the file to be sent :P

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.