GeeCON Prague 2014*
The moose likes Web Services and the fly likes .Net WS from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark ".Net WS from Java" Watch ".Net WS from Java" New topic
Author

.Net WS from Java

gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
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


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
well?? Some body.. c mon ranchers, where are y'all when I need you the most??
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
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.


Spritle Software Blogs
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
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.
 
GeeCON Prague 2014
 
subject: .Net WS from Java