WebService with VB6 and ASP.NET

N

NN

Hello, I have a question.

I have a program made in VB6 that caputure the images that are transmitted
by a webcam and records it in a database in MySQL. I want to do a WebService
in .NET that allows that this program should save the photos in this
database, but acceding across the WebService, and on the other hand, to do a
page in ASP.NET who accedes to the same WebService and could make
consultations on this database, for examplo, show last image, show all the
images of this day, etc.

Can someone help or say to me where can I start reading to do this?

From already thank you very much!

PS: sorry about my poor english.
 
G

Guest

The VB6 part will most likely use the XMLHTTP libraries to access the web
service and the SOAP toolkit to send the message to the web service that
saves. You will Base64 encode the actual binary data before sending in the
SOAP message.

On the .NET side, create the service that accepts a byte array as input,
along with any other metadata you need, and save to the database.

The biggest challenge is formatting your SOAP correctly. It is just XML, but
it has to be precise. Fortunately, the SOAP toolkit helps quite a bit and you
can create a test stub in .NET that fires the web service and examine in
debug to see the formatting of the SOAP message. Then, compare to yours and
tweak in VB6 until it is correct.

I don't have any links right now, but I am sure googling "SOAP ToolKit" with
VB6 and "web service" will yield some hits that will work.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top