• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using a tomcat-based web service in .NET

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I currently have a web service running in Tomcat 5.0 (and using Axis). I therefore have a URL which points to the service's wsdl.

I found the following MSDN web page which explains how to build a cs class based on a WSDL: http://msdn2.microsoft.com/en-us/library/ms155134.aspx
The example seems straightforward but it doesn't work when I try it out with my service. I get the following error



Oddly enough, when I read the very same wsdl with the Add Web reference browser in .NET, it lists the available methods (but refuses to add the reference anyhow hence the need for the command line).

Has anyone ever tried addinhg a java WS reference to a .NET app?
Thanks for your input!
 
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
Hi David,
Could you please copy and paste ur entire wsdl file using the Instant UBB code CODE tags. I will try to load it to my .NET exe and see what happens.
Also plz post your deployment descriptor lines for the service counter.

FYI, I have used Axis and .NET as server and client and vice versa.
 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I tried with a simple java web service in Tomcat+Axis (the Fibonacci service) and .NET recognizes easily the WSDL and lets me add the reference.

My wild guess is that my other service uses very new WS specs... What do you think? Here's the wsdl:



Word wrapped - Balaji
[ January 23, 2006: Message edited by: Balaji Loganathan ]
 
Did you just should on me? You should read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic