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

Tip: Looking for answers? Try searching our database.

Image from WebService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicolas - 20 Jun 2006 20:21 GMT
Hello!

I have a question: I have a database in MySql that has two fields (code and
image). Now, I want to create a WebService that takes the image of the most
current row (the code is the date in which the image took). And then, create
a page in ASP.NET that calls this WebService, show the image and repeat this
behavior every 5 seconds (it is the time that is take a new image be
creating in the base of information). Can someone help or at least orientate
me in this?

Thank you very much and sorry about my poor english :)
Gaurav Vaish (www.EduJini.IN) - 21 Jun 2006 14:05 GMT
You may want to look into the topic of SOAP with Attachments (using WSE
2.0/3.0)...

The image may be sent as attachment to the SOAP message.
If you don't wish to use WSE, you can Base64-encode the contents and
transfer as a plain string.

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org
http://www.edujini.in | http://webservices.edujini.in
-------------------

> Hello!
>
[quoted text clipped - 7 lines]
>
> Thank you very much and sorry about my poor english :)
Nicolas - 14 Jul 2006 23:36 GMT
And where is that topic?

> You may want to look into the topic of SOAP with Attachments (using WSE
> 2.0/3.0)...
[quoted text clipped - 14 lines]
>>
>> Thank you very much and sorry about my poor english :)
Gaurav Vaish (www.EduJini.IN) - 04 Sep 2006 03:25 GMT
HOWTO: Transfer Files using Web Services

http://articles.edujini.in/webservices/2006/05/howto-transfer-files-using-web.html

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujini.in | http://articles.edujini.in/webservices
-------------------

> And where is that topic?
>
[quoted text clipped - 16 lines]
>>>
>>> Thank you very much and sorry about my poor english :)
Kay-Christian Wessel - 21 Jun 2006 16:30 GMT
You can just send the file as a bytearray. This could be the return
parameter of your WebService. The WebService will convert it to Base64 and
back, so you don't need to implement this in your code. When this is done
the file will be 33 percent larger when send using this method.

Kay

> Hello!
>
[quoted text clipped - 7 lines]
>
> Thank you very much and sorry about my poor english :)

Rate this thread:







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.