473,511 Members | 12,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# Web Services - usage by non .net clients?

Dear List,

If I develop a Web Service in C# and upload it to my .NET server it is then
very easy to use the Web Service in a .NET programmed client (i.e. C# win
forms) by simply using 'Add Web Reference' and pointing to the url of the web
Service.

However, what if I develop a client in delphi or progress or Java? Is the
WSDL all the client needs to use the Web Service?

Further, if so, what files are subsequently generated from the WSDL file?
Would it be a client specific format of the Proxy class?

Up till now I have developed both cleints and services in C# .NET so have
not had to bother about a lot of the more low level details of of proxy
classes and such things. As a result would appreciate a general overview of
what actually takes place when a non .NET client wishes to use a .NET
developed Web Service.

Thanks a lot for any insights or pointers to information.

Best Regards,
David Ross
Jul 28 '06 #1
6 1354
Hi David,

Yes, the only thing you need is the WSDL. For example, Java provides a tool
to generate the proxy and the xsd types from a WSDL.
However, your web service must conform to the WS-I BSP profile if others
platforms are going to consume it. (This profile warrants interoperability)

[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

public class Service : System.Web.Services.WebService

{

If you use that attribute, ASP.NET performs some checkings to determine
whether your web service conforms to that profile.

Regards,
Pablo.

"David++" <Da***@discussions.microsoft.comwrote in message
news:CD**********************************@microsof t.com...
Dear List,

If I develop a Web Service in C# and upload it to my .NET server it is
then
very easy to use the Web Service in a .NET programmed client (i.e. C# win
forms) by simply using 'Add Web Reference' and pointing to the url of the
web
Service.

However, what if I develop a client in delphi or progress or Java? Is the
WSDL all the client needs to use the Web Service?

Further, if so, what files are subsequently generated from the WSDL file?
Would it be a client specific format of the Proxy class?

Up till now I have developed both cleints and services in C# .NET so have
not had to bother about a lot of the more low level details of of proxy
classes and such things. As a result would appreciate a general overview
of
what actually takes place when a non .NET client wishes to use a .NET
developed Web Service.

Thanks a lot for any insights or pointers to information.

Best Regards,
David Ross

Jul 28 '06 #2
Web services are technology independant. Whether you publish your web
service in .net or axis or what ever , any web service client should be able
to acces it by lloking at the WSDL. in other words one a web service is
published no one knows if it is .net or delphy. It is simpley SOAP(mostly
ober http). But still there could be certain scenarios where
interoperability might fail due to certain data types, but this is not a
concern at all for a simple service. wsdl contains full information of how
ro access the service and what are the object being exchanged.

http://www.w3.org/DesignIssues/WebServices.html
http://www.w3.org/TR/wsdl
http://www.w3.org/TR/soap/
http://www.developer.com/services/article.php/1485821
http://www.developerfusion.co.uk/show/4707/

see also msdn article on webservices
http://msdn.microsoft.com/webservice...s/default.aspx
-sanjaya-
"David++" <Da***@discussions.microsoft.comwrote in message
news:CD**********************************@microsof t.com...
Dear List,

If I develop a Web Service in C# and upload it to my .NET server it is
then
very easy to use the Web Service in a .NET programmed client (i.e. C# win
forms) by simply using 'Add Web Reference' and pointing to the url of the
web
Service.

However, what if I develop a client in delphi or progress or Java? Is the
WSDL all the client needs to use the Web Service?

Further, if so, what files are subsequently generated from the WSDL file?
Would it be a client specific format of the Proxy class?

Up till now I have developed both cleints and services in C# .NET so have
not had to bother about a lot of the more low level details of of proxy
classes and such things. As a result would appreciate a general overview
of
what actually takes place when a non .NET client wishes to use a .NET
developed Web Service.

Thanks a lot for any insights or pointers to information.

Best Regards,
David Ross

Jul 28 '06 #3
Thankyou both. That is very helpful, and exactly what I was hoping for!

Best Regards,
David
Jul 28 '06 #4
One last question!

Is the Reference.cs file the automatically generated 'proxy class' from the
WSDL file?

Thats me done I promise!

Best regards,
David
Jul 28 '06 #5
exactly.. and it doesn't have to be auto genarated always....if you need you
can creat your own proxy. WSE 2.0 provides many other ways of listning to
web requests, other than for the proxy (WebServicesClientProtocol)

-sanjaya-

"David++" <Da***@discussions.microsoft.comwrote in message
news:AC**********************************@microsof t.com...
One last question!

Is the Reference.cs file the automatically generated 'proxy class' from
the
WSDL file?

Thats me done I promise!

Best regards,
David

Jul 28 '06 #6
"Sanjaya" wrote:
exactly.. and it doesn't have to be auto genarated always....if you need you
can creat your own proxy. WSE 2.0 provides many other ways of listning to
web requests, other than for the proxy (WebServicesClientProtocol)

-sanjaya-
Thanks again, thats good to hear.

David
Aug 1 '06 #7

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

Similar topics

1
1920
by: asj | last post by:
Just when I say web services may be hyped, here comes a news report that says Swedish Referendum Results will be delivered in real time over the internet using Java web services. In one sense,...
3
2135
by: Marshal | last post by:
This is a definite and reproduceable bug in Web Services, Visual Studio 2003. Here is a simple example. Create a web service... // this represents an original version of an object class...
6
1808
by: Dan V. | last post by:
Is there a way to query a remote xml file periodically by not using web services? For Windows and Unix platforms. Is there a cheap software product that I can install on each client and my Windows...
13
1297
by: david | last post by:
I met the security problem. I have developed the form based security for ASP.NET appliation. However, it seems that my window based client for my Web services application can not access to the...
2
1234
by: Ed Staffin | last post by:
Hi all, I sent this the other day but got no responses, so, I thought I would try again. I am thinking about the next version of my application (it's an accounting app) and it would seem that web...
3
1462
by: Pranav | last post by:
Hi All, Q - Does it make sense to use web service as a facade to my Application Server for integration with outside world while retaining an alternate route for the clients written by me? ...
3
6471
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...
1
1240
by: Robert Strickland | last post by:
We are developing a several web applications that use 'services' that perform key business functions for our applications. These same 'services' are avaible to paying clients through web services. ...
5
9624
by: ypul | last post by:
How to use properties in webservice ? if I want to create a webservice as my middle tier and want to create public properties so that the presentation layer can assign values to the property...
0
7148
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
7367
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,...
1
7089
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...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5673
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4743
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...
0
3230
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...
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
451
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...

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.