Start with the most basic testing projects to get going. Your profile is set to .Net 2.0, I don't know what edition you are using, but I will describe a simple example for the free Express editions.
The Visual WebDeveloper Express will let you create a new Web Service project, you can store it locally and it will run in "localhost" environment (as opposed to IIS for internet), it will automatically insert the "Hello World" function method that returns that text as a string. You can easily add a sub method that takes a string type input (or any kind input) and saves this to a file or DB. When running this only at local system permissions is not a problem, but for a public web service on the internet it needs write access to filepath/DB, try it out locally first! If you know how to create a sub method that takes an input parameter you will have this web service with both string input and output up in
less than one minute development time! OK, I will be nice and include the code samples, also the auto-generated HelloWorld method:
[SIZE=2]<WebMethod()> _
[/SIZE][SIZE=2][COLOR=#0000ff]Public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Function[/COLOR][/SIZE][SIZE=2] HelloWorld() [/SIZE][SIZE=2][COLOR=#0000ff]As [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]String
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Return [/COLOR][/SIZE][SIZE=2][COLOR=#800000]"Hello World"
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]End [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Function[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]
[/COLOR][/SIZE][SIZE=2]<WebMethod()> _
[/SIZE][SIZE=2][COLOR=#0000ff]Public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Sub[/COLOR][/SIZE][SIZE=2] submitData([/SIZE][SIZE=2][COLOR=#0000ff]ByVal[/COLOR][/SIZE][SIZE=2] input [/SIZE][SIZE=2][COLOR=#0000ff]As [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]String[/COLOR][/SIZE][SIZE=2])
[/SIZE][SIZE=2][COLOR=#0000ff]My[/COLOR][/SIZE][SIZE=2].Computer.FileSystem.WriteAllText([/SIZE][SIZE=2][COLOR=#800000]"c:\Test.txt"[/COLOR][/SIZE][SIZE=2], input, [/SIZE][SIZE=2][COLOR=#0000ff]True[/COLOR][/SIZE][SIZE=2])
[/SIZE][SIZE=2][COLOR=#0000ff]End [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Sub
[/COLOR][/SIZE]
Run the web service (without debugging is ok), description page is now displayed in your browser, first text got a link to the Service Description, copy that link - it is typically something like
http:// localhost:2056/WebService1/Service.asmx?WSDL
Now for creating a consumer application. Start Visual Basic 2005 Express edition and create a new Windows Application project. Click main menu, "Project", "Add Web Reference...", the dialog displays where you paste in the address you got above in Url field and click GO. Your local webservice should be listed and you click Add Reference in that same dialog. There is now a new item listed under web references in Solution Explorer, default namespace is "localhost". Here is the simple code to test both methods, the one that gets a text from the web service and the one that inputs a text to the webservice, which in turn will save that text to the local file. First add a TextBox1 to the form, and this code:
[SIZE=2][COLOR=#0000ff]Private [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Sub[/COLOR][/SIZE][SIZE=2] Form1_Load([/SIZE][SIZE=2][COLOR=#0000ff]ByVal[/COLOR][/SIZE][SIZE=2] sender [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] System.Object, [/SIZE][SIZE=2][COLOR=#0000ff]ByVal[/COLOR][/SIZE][SIZE=2] e [/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2] System.EventArgs) _
[/SIZE][SIZE=2][COLOR=#0000ff]Handles [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]MyBase[/COLOR][/SIZE][SIZE=2].Load
[/SIZE][SIZE=2][COLOR=#0000ff]Dim[/COLOR][/SIZE][SIZE=2] webserv [/SIZE][SIZE=2][COLOR=#0000ff]As [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] localhost.Service
TextBox1.Text = webserv.HelloWorld()
webserv.submitData([/SIZE][SIZE=2][COLOR=#800000]"submitting input to web service"[/COLOR][/SIZE][SIZE=2])
[/SIZE][SIZE=2][COLOR=#0000ff]End [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]Sub
[/COLOR][/SIZE]
Run the application to see the "Hello World" text display in textbox, afterwards check the local file
"c:\Test.txt" to see that the webservice has created it and stored the string inputted.
(edit: added slightly better menu directions.)