|
-
Nov 8th, 2011, 03:55 AM
#1
Thread Starter
Addicted Member
Make my desktop application communicate over the web...
I have developed a desktop application that connects to a MS SQL server over a network. One of my clients wants a third party company to be able to use my desktop application but connect to the MS SQL database in my client’s office. Obviously my client could open the ports to the SQL server to make this accessible from the web, but this is a huge security issue and obviously not one I want to even recommend. Is there a way that I can make my desktop application securely communicate over the web to the SQL database?
I know probably making my application web based would be the most common answer however this would be a huge amount of development and also my client needs this relatively quickly.
Any help and advice would be appreciated.
Thanks
Simon
-
Nov 8th, 2011, 04:42 AM
#2
Re: Make my desktop application communicate over the web...
Use webservices.
Webservices using SOAP authentication receiving necessary parameters and returning exactly the required information would help you in this problem.
.
-
Nov 8th, 2011, 04:47 AM
#3
Thread Starter
Addicted Member
Re: Make my desktop application communicate over the web...
honeybee,
Just a quick question with regards to SOAP, I have read a bit about it (and need to read more) but I have images saved in my SQL database, is all datatype e.g. images/blob able to be transfered via SOAP?
Thanks
Simon
-
Nov 8th, 2011, 11:44 PM
#4
Re: Make my desktop application communicate over the web...
Images/blobs would have to be transported using byte arrays, which should be problem by itself, except for the size. If the images are huge, and you are on http, it may consume a lot of bandwidth. Other than that I don't see the image/blob types giving any problem.
.
-
Nov 9th, 2011, 02:55 AM
#5
Thread Starter
Addicted Member
Re: Make my desktop application communicate over the web...
Another quick question so I can understand the concept.
1) Install my desktop application and a my webservice (called clientService)
2) Then on the server that has the SQL database install another custom webservice (called serverService)
3) When a command is executed in my desktop application it must communicate to the clientService which intern needs to communicate with the serviceService over the internet to execute the SQL command. Then the serverService sends the data back to my clientService and then to my desktop application.
I guess this is the way that it would work?
Or does my Desktop application just connect to the serverSerive directly using a http:\\myWebsite\serverService.asmx etc..
As you can tell I have never looked at Web Services before and any advise / info would be appreshiated
Thanks
Simon
-
Nov 14th, 2011, 04:01 AM
#6
Re: Make my desktop application communicate over the web...
 Originally Posted by lidds
Or does my Desktop application just connect to the serverSerive directly using a http:\\myWebsite\serverService.asmx etc..
That is how things would work. You typically don't have to install the webservice on the client machine, which defeats the purpose of using a webservice.
.
-
Nov 14th, 2011, 09:52 AM
#7
Hyperactive Member
Re: Make my desktop application communicate over the web...
Hi Simon,
I will need to be doing the same thing very very soon. If you document the process can I have a copy. That would be very useful.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|