File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Using a tomcat-based web service in .NET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using a tomcat-based web service in .NET" Watch "Using a tomcat-based web service in .NET" New topic
Author

Using a tomcat-based web service in .NET

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
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!


No matter what they say in Ohio, we're still first in flight!
Balaji Loganathan
author and deputy
Bartender

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


Spritle Software Blogs
David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using a tomcat-based web service in .NET