I am trying to consume a .NET Web service from a J2EE client. I am using a dynamic proxy client.
- Posted by: dj ebola
- Posted on: March 24 2004 15:51 EST
My java client is able to call the C# method fine, but the parameters are ending up being null on the .net side even though I am sending the parameters with valid values. I have verified that the parameters I am sending have values using a http-trace tool.
Am I forgetting to format the datatype of the parameter? Although I cannot understand where to do this, my method call is simply: myProxy.echo("Steve")
The problem has also been discussed here: http://forum.java.sun.com/thread.jsp?forum=331&thread=384667&message=1652139
Please help me.
See my response to this problem here.
Yes, deep deep into that article, the solution is found, but I though I'd share my discovery here, for ease...
In the .NET Web Service, replace:
SoapDocumentService with SoapRpcService
SoapDocumentMethod with SoapRpcMethod
and it works like a charm. Easy huh? .. naaa
But i would like to raise the question about standards and interoperability, is Java really compliant with the Web Service communication standard with SOAP ?? Or is it .NET that is the bad guy, although it seems they are following soap standards for web services?