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 :) 4 1745
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.
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org http://www.edujini.in | http://webservices.edujini.in
-------------------
"Nicolas" <ni***********@gmail.com> wrote in message
news:e9**************@TK2MSFTNGP05.phx.gbl... 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 :)
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
"Nicolas" <ni***********@gmail.com> skrev i melding
news:e9**************@TK2MSFTNGP05.phx.gbl... 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 :)
And where is that topic?
"Gaurav Vaish (www.EduJini.IN)" <ga*****************@nospam.gmail.com>
escribió en el mensaje news:uz**************@TK2MSFTNGP04.phx.gbl...
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.
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.org http://www.edujini.in | http://webservices.edujini.in
-------------------
"Nicolas" <ni***********@gmail.comwrote in message
news:e9**************@TK2MSFTNGP05.phx.gbl...
>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 :)
HOWTO: Transfer Files using Web Services http://articles.edujini.in/webservic...using-web.html
--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com http://www.edujini.in | http://articles.edujini.in/webservices
-------------------
"Nicolas" <ni***********@gmail.comwrote in message
news:Ol**************@TK2MSFTNGP04.phx.gbl...
And where is that topic?
"Gaurav Vaish (www.EduJini.IN)" <ga*****************@nospam.gmail.com>
escribió en el mensaje news:uz**************@TK2MSFTNGP04.phx.gbl...
>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.
-- Happy Hacking, Gaurav Vaish | http://www.mastergaurav.org http://www.edujini.in | http://webservices.edujini.in -------------------
"Nicolas" <ni***********@gmail.comwrote in message news:e9**************@TK2MSFTNGP05.phx.gbl...
>>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 :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Scott |
last post by:
I am storing an image in an SQL database and have one field as an image
datatype. I am also using a webservice to transport data.
I want to be able to resize the image and pass back a thumbnail...
|
by: Holly |
last post by:
Hi,
I have a page (A) that allows users to enter addresses
and displays direction information and map images.
The page A calls Microsoft's mappoint web service, gets
the route info and map image....
|
by: Kristof Thys |
last post by:
Hello,
I'm writing a ASP.net webservice wich will visualize an image, generated
by another application.
The generated image is a char*. I can transform this to a String*, but I
want to view it...
|
by: Geert |
last post by:
Hi all,
I have a webservice that creates an image. I want to show the result of that
image on my website. The website and webservice are on different servers.
There is a VPN line between both...
|
by: Nicolas |
last post by:
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...
|
by: geertolaerts |
last post by:
Hello,
I have a problem with uploading off images to my webservice, i convert
them to a byte at client side but something goes wrong when i try to
convert them back to a image at server side....
|
by: MattC |
last post by:
Hi,
I have a webservice that returns a byte for an image. I'd like to
disaplay an image while the webservice is being contacted and then once the
byte is available show that and remove the...
|
by: zion |
last post by:
Hello,
How can I return image link with webservice that I could see it in web page?
The image is on my hard disk and <img src="c:\pictures\test.jpg" /does not
work.
If I use <img src=http://My...
|
by: ksheerasagar17 |
last post by:
Hello All,
Scenario: Sending an image through webservice as byte array to an Java webservice.
The Problem1: The webservice method image property expects (data type) SByte rather than Byte...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |