473,659 Members | 2,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Consuming Web Services - Tutorial

Mac
I am looking for a very straightforward , step by step tutorial that
shows how to consume a web service in a C# Windows Forms project.

By "consume" I mean:

1. Use screen entered values as the arguments for a web service.
2. Invoke the appropriate methods(s) in the proxy that will return the
required data.
3. Present the returned data to the user.

I want to avoid writing a bunch of statements that manipulates the
..Text property for a ton of textboxes, so I assume a bound set of
controls will help me there.

As you can likely tell from this message, I am a C# newbie, so the more
basic, the better on this tutorial. I do know how to create the proxy
and insantiate a variable of the correct type, but that's about it as
far as the services go.

Thanks,

Mac

Jul 26 '06 #1
1 1970
I think you can refer to MS QuickStart tutorial to find more details.

QuickStart: http://samples.gotdotnet.com/quickstart/aspplus/

Sincerely,
simida

Mac wrote:
I am looking for a very straightforward , step by step tutorial that
shows how to consume a web service in a C# Windows Forms project.

By "consume" I mean:

1. Use screen entered values as the arguments for a web service.
2. Invoke the appropriate methods(s) in the proxy that will return the
required data.
3. Present the returned data to the user.

I want to avoid writing a bunch of statements that manipulates the
.Text property for a ton of textboxes, so I assume a bound set of
controls will help me there.

As you can likely tell from this message, I am a C# newbie, so the more
basic, the better on this tutorial. I do know how to create the proxy
and insantiate a variable of the correct type, but that's about it as
far as the services go.

Thanks,

Mac
Jul 27 '06 #2

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

Similar topics

1
4482
by: eric_mamet_test | last post by:
Has somebody got an example of consuming web services from an ASP "client" web site? I saw mentions of "Soap Toolkit" but the Microsoft download area specifies that this will not be supported beyond April 2005... Is it a viable alternative to create a small .Net Library project to do the Web Services bit and expose the methods through COM (Interop)? Thanks
3
6498
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07162002.asp) but I don't want clients to have to add two web references and then manually have to edit the proxy classes. After doing some searching I found that putting references to multiple web services in a .disco...
6
2327
by: kbs | last post by:
Hi, I'm looking for some good examples that illustrate how to code a web service that exposes a custom collection so that the properties of the collection are accessible on the client without having to do a httpwebreqeust call.
1
4381
by: BestofAbhi | last post by:
I am consuming Java Web Services in .NET. The Java Web Services have been coded using Apache Axis. The binding style in the WSDL is 'Document' and type is 'Literal'. I have added these Java Web Services both as Web Reference and Reference (ie dll generated using wsdl.exe) in the Project in order to access them. I am able to get the output for web methods that return just a string. However when it comes to complex data like an object /...
0
1361
by: Abhijit Salvi | last post by:
I am consuming Java Web Services in .NET. The Java Web Services have been coded using Apache Axis. The binding style in the WSDL is 'Document' and type is 'Literal'. I have added these Java Web Services both as Web Reference and Reference (ie dll generated using wsdl.exe) in the Project in order to access them. I am able to get the output for web methods that return just a string. However when it comes to complex data like an object /...
1
3423
by: leslie_tighe | last post by:
Hello, I have webservice created with Axis 1.2.1 and that I am trying to consuming in .NET (VB) using the Microsoft provided tools. While I am able to consume methods on the service that return simple type, I cannot consume methods that return complex objects. I have tried experimenting, with this, but am at a bit of loss on where the problem lies. When I call the services from a browser, I do get back the response that contains valid...
2
1167
by: DAL | last post by:
Question: How easy is it to have RSS feeds consumed on my site, and is there any EASY (your dealing with a newbie) tutorials that explain how to write the code. I am looking for a tutorial that holds my hand (or something close to it) and gives me step by step instructions. Thank you in advance for your help, DAL. P.S. If I have to muddle through a tutorial that is not so easy, I will be happy to do so. It'll probably teach me something!...
2
1417
by: Chandresh | last post by:
Hi, I developed one C#.net web services and I want to call this from PHP. (I am new in PHP) I already rad couple of article on internet but those are very confusing and no step by step instruction for this. If anybody know step by step method for this please let me know Thaks in Advance Chandresh
3
6094
by: Jeremy Chapman | last post by:
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object of type System.Object to an object of type PersonWS.WorkGroupData.". I've included the wsdl of the consumed axis web service, the request/responses of the web service by the .net app and the exception and stack trace. Hoping someone can tell me...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.