Hello, I would like to know how I can contact a web service developed and deployed in .NET, like the yahoo ping service, from a java client. Also, is there a web service design pattern somewhere?? Cheers Lupo
Originally posted by gautham kasinath: Hello, I would like to know how I can contact a web service developed and deployed in .NET, like the yahoo ping service, from a java client.
Any deployed webservice will have a link to WSDL file, this wsdl describes what the service is, in what way it can be accessed, input and output requirements and Where. Now you can feed this wsdl file to Apache Axis/ Apache SOAP or IBM ETTK which will inturn produces you the necessary client class files to initiate,call and read response. You can find more info from apache axis/apache soap websites.
well.. I first wrote a simple web service which I deployed with provider="java:RPC". Then I wrote a small client to call the web service and use a method. It worked. Then I modified the client, after seeing the WSDL for the yahoo ping service, and providing the nessasary changes. When I run this, I get an error that the service operation is not available ( or something ). I wonder where I am going wrong. I believe the Yahoo ping service is in .NET. More so, when I compared the WSDL from my service and that of the Yahoo I saw some differences.