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

Tech-Archive recommends: Speed Up your PC by fixing your registry



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++" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CD3FDAF4-C042-47DE-8F2C-FB7D6F9C9B5E@xxxxxxxxxxxxxxxx
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


.



Relevant Pages

  • Re: WSDL.exe vs. "Add Web Reference"
    ... For example this complexType: ... I them created a WSDL using the XSD. ... Then I placed this file in an "Empty Web Project", added a Web Service, made ... If I do all these steps correctly the client should ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Reading a Java webservice with VB.NET
    ... My client created a very simple "Hello World" web service. ... Using the wsdl.exe program on the actual wsdl still did not work. ... > you mentioned an Apache server, but if you are referring to Apache HTTPD, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Please help me Run web services from information stored in a datab
    ... Or do you really want to get the WSDL from the server, ... generate proxy code on-the-fly for that WSDL-data? ... To give you an idea what string will be stored in the databse, ... > Once I have the string that describes where I can find the Web Service, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: WSDL web reference problem
    ... Finally got to the bottom of the difference, the WSDL is right (apart from ... you can create the client proxies for them and compare the two ... | proxies to see whether they're identical. ... | single webservice proxy for the two ones and just change the client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: web service
    ... Can you send a screenshot of the "Add Web Reference" dialog box after you ... I have just tried that web service you specified, and got the WSDL displayed ... ok and was able to generate a proxy class in C# just fine. ...
    (microsoft.public.cert.exam.mcad)