Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using a tomcat-based web service in .NET

 
David Brossard
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • 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!
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic