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 / April 2005

Tip: Looking for answers? Try searching our database.

WSE 2.0, SoapClient and MIME support

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luca Lettieri - 15 Apr 2005 15:58 GMT
Quick question:

is there any way (free or using some third-party library) to gain MIME
support for WSE 2.0 SP3?

I specifically need something that allows me to encapsulate a
SoapEnvelope into a MIME framework (and add eventual attachments) by
using classes derived by SoapClient and SoapService.

I know there are libraries out there which support MIME but they
operate at the SoapHTTPClientProtocol level, while I'd like to keep
the lower-level access provided by SoapClient.
Dilip Krishnan - 15 Apr 2005 16:18 GMT
Not sure why you'd need MIME support. But WSE supports DIME (essentially
mime/attachments for web services). So you can send attachments but
stuffing them in the soap context. This [0] article should have pointers
on how do get that done

[0] -
http://www.codeguru.com/Cpp/I-N/internet/webservices/article.php/c8691__3/

> Quick question:
>
[quoted text clipped - 8 lines]
> operate at the SoapHTTPClientProtocol level, while I'd like to keep
> the lower-level access provided by SoapClient.

Signature

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilip.krishnan AT apdiya DOT com

Luca Lettieri - 18 Apr 2005 09:55 GMT
> Not sure why you'd need MIME support. But WSE supports DIME (essentially
> mime/attachments for web services). So you can send attachments but

Unfortunately, I need MIME; specifications which I can't touch require
compliance with the SwA model.

If I can't find the implementation, I could write it myself. The usual
way would be to declare a SoapExtension and override the various
serialize and deserialize methods, then hook the extension either by
assigning the attribute to the client methods or via the .config file.
The problem is that, as far as I know, the hooks work with proxies
derived by the SoapHTTPClientProtocol structure; is there any way of
using this with the WSE infrastructure and the SoapClient class?

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.