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 / May 2006

Tip: Looking for answers? Try searching our database.

WSE and Image

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hung Ngo - 29 May 2006 05:32 GMT
Hi,
I'm writing a WSE web service. Now, I want to send the Image Object from the
web service to client, but the exception:
"Cannot convert from WebServiceWse.Image to System.Drawing.Image".
Can you tell me how to solve this problem?
How about MTOM?
Thanks,
Martin Kulov [MVP] - 29 May 2006 23:11 GMT
> Hi,
> I'm writing a WSE web service. Now, I want to send the Image Object from
[quoted text clipped - 3 lines]
> Can you tell me how to solve this problem?
> How about MTOM?

Hi Hung,

Basically these are two different classes. You need to convert the byte
array that you have received from the web service to a drawing object for
example with Image.FromStream(...) method.
Take a look at my article how to use MTOM [1].

[1] http://www.ftponline.com/vsm/2006%5F05/magazine/columns/gettingstarted/

Regards,

Signature

Martin Kulov
http://www.codeattest.com/blogs/martin

MVP, MCT, MCSD.NET Early Achiever


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.