I am trying to consume a .NET Web service from a J2EE client. I am using a dynamic proxy client.
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.
-
Passing parameters to .net webservice (2 messages)
- Posted by: dj ebola
- Posted on: March 24 2004 15:51 EST
Threaded Messages (2)
- SOAPAction header headaches by Gerald Beuchelt on March 24 2004 16:28 EST
- Solution found .. by dj ebola on March 25 2004 04:53 EST
-
SOAPAction header headaches[ Go to top ]
- Posted by: Gerald Beuchelt
- Posted on: March 24 2004 16:28 EST
- in response to dj ebola
-
Solution found ..[ Go to top ]
- Posted by: dj ebola
- Posted on: March 25 2004 04:53 EST
- in response to Gerald Beuchelt
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
and replace
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?