473,388 Members | 1,198 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Simple VB.Net / webservice requirement (but not simple for me....)

Hi folks,

I have a fairly basic (and urgent) requirement, though being out of the game
for a few years I'm way behind the 8-ball here.

I need to do the following:

- have a scheduled VB.Net executable on one server which passes encrypted
data to a web server (more specifically to a web service written in ASP.Net
(VB) on the web server)

- this web service will then do 'stuff' with this data and return another
set of data to the VB executable.

The data must be encrypted and is just straight table data - nothing complex
at all, though there could be some pretty sizeable chunks passing between
boxes.

I'm having trouble deciphering all the ins and outs of SOAP and so on, so if
anyone can direct me to some sample code that could fast-track all of this I
would greatly appreciate it.

Regards,
Dave E (Sydney)
Making the move to this environment after years of development in VB 6.0 and
ASP and after being out of the game for about 2-3 yrs has reduced me to a
bumbling fool. Hopefully I'm not alone in this sad state! :-)
Jan 10 '06 #1
7 1145
There's a SOAP toolkit available from Microsoft to enable you VB6 chaps
to call web services. Using the High Level API you should be able to
get away from worrying about the ins and outs of SOAP to much (thought
its actually pretty straight forward).

There's also a low-level API to allow you to get your hands really
dirty (in SOAP, ha ha) if you want/need to. There's documentation and
samples included in the download.

http://www.microsoft.com/downloads/d...displaylang=en

HTH

Josh
http://www.thejoyofcode.com/

Jan 10 '06 #2
Oops - just reread your post and I think I've misread it to start with.
You're not using old-skool VB6 at all are you? Sorry.

With .NET web services are very easy and you never really get to
worried about SOAP if you don't want to. First you create a web service
- you should get a HelloWorld web service when you use the Visual
Studio New Web Service template.

Then, in your client you simple add a Web Reference. There's heaps of
samples out there to get you started. Try here:
http://samples.gotdotnet.com/quickst...icesintro.aspx

Josh
http://www.thejoyofcode.com/

Jan 10 '06 #3
"Josh Twist" <jo********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Oops - just reread your post and I think I've misread it to start with.
You're not using old-skool VB6 at all are you? Sorry.

With .NET web services are very easy and you never really get to
worried about SOAP if you don't want to. First you create a web service
- you should get a HelloWorld web service when you use the Visual
Studio New Web Service template.

Then, in your client you simple add a Web Reference. There's heaps of
samples out there to get you started. Try here:
http://samples.gotdotnet.com/quickst...icesintro.aspx

Josh
http://www.thejoyofcode.com/

Many thanks Josh. Actually, I should have said that I have written a few
very basic web services but it was more the passing of encrypted datasets
and this SOAP business that was concerning me. Looks like the $200 I just
spent on books and the links you sent above will keep me busy for a while...

Thanks very much mate, and cheers,
Dave E (Sydney)
Jan 11 '06 #4
If you need to encrypt web services messages have a look at Microsoft's
Web Services Enhancements (WSE) at
http://msdn.microsoft.com/webservice.../building/wse/

This has built in support for the WS-I standard ways of doing things,
like encryption, for web services.

My last tip is to reconsider your use of DataSets - read Scott
Hanselman's thoughts on the subject here:
http://www.hanselman.com/blog/Return...nTheWorld.aspx

Good luck!

Josh
http://www.thejoyofcode.com/

Jan 11 '06 #5
If you need to encrypt web services messages have a look at Microsoft's
Web Services Enhancements (WSE) at
http://msdn.microsoft.com/webservice.../building/wse/

This has built in support for the WS-I standard ways of doing things,
like encryption, for web services.

My last tip is to reconsider your use of DataSets - read Scott
Hanselman's thoughts on the subject here:
http://www.hanselman.com/blog/Return...nTheWorld.aspx

Good luck!

Josh
http://www.thejoyofcode.com/

Jan 11 '06 #6
If you need to encrypt web services messages have a look at Microsoft's
Web Services Enhancements (WSE) at
http://msdn.microsoft.com/webservice.../building/wse/

This has built in support for the WS-I standard ways of doing things,
like encryption, for web services.

My last tip is to reconsider your use of DataSets - read Scott
Hanselman's thoughts on the subject here:
http://www.hanselman.com/blog/Return...nTheWorld.aspx

Good luck!

Josh
http://www.thejoyofcode.com/

Jan 11 '06 #7
If you need to encrypt web services messages have a look at Microsoft's
Web Services Enhancements (WSE) at
http://msdn.microsoft.com/webservice.../building/wse/

This has built in support for the WS-I standard ways of doing things,
like encryption, for web services.

My last tip is to reconsider your use of DataSets - read Scott
Hanselman's thoughts on the subject here:
http://www.hanselman.com/blog/Return...nTheWorld.aspx

Good luck!

Josh
http://www.thejoyofcode.com/

Jan 11 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jarred | last post by:
Howdy All, I've been having a bit of a problem that I can't seem to get a grip on at the moment and I'm hoping someone may be able to give me a quick hand :) What I have is a Webservice that...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
0
by: Sathya | last post by:
Hi, I have a vb.net webservice which takes XMLDocument as a parameter and returns bool. Signature of the method is some thing like this AddXmlEmpDetails(xmlEmp as XMLDocument) as Boolean. I...
0
by: Chris Fink | last post by:
I have a requirement to make a webservice have x509 authentication. I have not done this before and have a few questions: 1. where do I obtain the x509 cert? Can I make my own? 2. assuming i have...
7
by: Techno_Dex | last post by:
Is there a way to configure a WebService Namespace in a config file that can be set (i.e. to )? I have a webservice that I might need to configure/move on multiple different servers but from...
0
by: Daniel Knöpfel | last post by:
Hi We have developed a webservice that was accessed by a fat windows client. A security requirement was that the client authenticates itself by using by providing a client certificate. The...
0
by: JJ | last post by:
I have a requirement where I need to transfer a web.config from one webservice to another webservice. The environment for this will be intranet only. I will use a xaml win app client to initiate...
0
by: =?Utf-8?B?Sko=?= | last post by:
I have a requirement where I need to transfer a web.config from one webservice to another webservice. The environment for this will be intranet only. I will use a xaml win app client to initiate...
2
by: pintu | last post by:
Hi Friends, I am creating one application in asp.net 2.0,c# and requirement is to open a winform while starting window and call the webservice to update some information entered in the form.Now my...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.