PC Review


Reply
Thread Tools Rate Thread

Cannot pass arguments from .NET Web Service Client to a Java Web Service

 
 
New Member
Join Date: Mar 2006
Posts: 1
 
      21st Mar 2006
Hi,

I implemented a very simple JAX-WS 2.0 Java Web Service, with the intention to invoke it from .NET client.

The Java Web Service works fine when invoked from a Java test client. I then generated a .NET Web Service Proxy using wsdl.exe and wrote a tiny C# client to invoke the service.

Unfortunately, although the web service gets called, the arguments to the web service methods do not get over: whatever integers I put in, the web service gets called with 0 (zero), any string value becomes null.

I put some debugging code in the generated C# proxy to try to inspect where things go wrong, in the proxy the arguments are passed correctly. The proxy then calls the Invoke method on System.Web.Services.Protocols.SoapHttpClientProtocol.

I have no idea how to track things from there. Can you give me any piece of advice how to debug things or check what's wrong?

Could the problem be related to the .NET Framework version? Mine is 1.0.3705.

Thanks,

Dušan

Last edited by bobik72; 21st Mar 2006 at 04:07 PM..
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java client and .NET 2.0 style Web Service and Class parameter Roland Microsoft C# .NET 1 6th May 2009 12:03 AM
How can i send parameters in java client to .net web service Alexiel Microsoft Dot NET 0 2nd Mar 2006 10:18 PM
Can i pass arguments to a windows service Glenn Microsoft VB .NET 2 8th Aug 2005 03:22 PM
How does a java client consume .net DataSet datatype in a web service msnews.microsoft.com Microsoft ASP .NET 2 19th May 2004 03:11 PM
Java client accessing .NET web service interoperablility Paul Hutchinson Microsoft Dot NET Framework 0 7th Nov 2003 11:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:39 AM.