• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

.Net WS from Java

 
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well?? Some body.. c mon ranchers, where are y'all when I need you the most??
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic