Hey all,
I have a C# .NET web service and a Java client using Apache SOAP. My java client is able to call the C# method fine, but the parameters are ending up being null on the .net side eventhough I am sending the parameters with valid values. I have varified that the parameters I am seding have values using a tcptrace tool.
Did anybody run into similar issue? What could be the reason?
Thanks
-
issue -- passing parameters to .net webservice (4 messages)
- Posted by: Rahul Chaudhary
- Posted on: April 10 2003 15:26 EDT
Threaded Messages (4)
- issue -- passing parameters to .net webservice by Web Master on April 11 2003 11:02 EDT
- issue -- passing parameters to .net webservice by Rahul Chaudhary on April 11 2003 17:19 EDT
- issue -- passing parameters to .net webservice by Martin Tiinus on April 14 2003 10:35 EDT
- issue -- passing parameters to .net webservice by Lavanya Pamu on March 26 2004 15:48 EST
- issue -- passing parameters to .net webservice by Rahul Chaudhary on April 11 2003 17:19 EDT
-
issue -- passing parameters to .net webservice[ Go to top ]
- Posted by: Web Master
- Posted on: April 11 2003 11:02 EDT
- in response to Rahul Chaudhary
Did you hand code the client? If so, maybe try a tool like AXIS to generate the client from directly the C# WSDL and see if it differs at all from your client.
AXIS includes a tool called wsdltojava that does this. -
issue -- passing parameters to .net webservice[ Go to top ]
- Posted by: Rahul Chaudhary
- Posted on: April 11 2003 17:19 EDT
- in response to Web Master
The problem I am having is that on my side(java),I am using rpc style encoding and .net developers are using document style encoding.
The axis user guide says "AXIS follows the JAX-RPC specification when generating Java client bindings from WSDL."
Is there a way to generate the stubs, skeletons, and data types from WSDL using WSDL2Java that uses document style encoding.
OR
Is there any other open source tool that can take .net WSDL and generate stubs, skeletons etc that uses document style encoding?
Thanks
Rahul -
issue -- passing parameters to .net webservice[ Go to top ]
- Posted by: Martin Tiinus
- Posted on: April 14 2003 10:35 EDT
- in response to Rahul Chaudhary
Have a look at Message services using axis.
Check the examlpe in samples\message\TestMsg.java
-- Martin -
issue -- passing parameters to .net webservice[ Go to top ]
- Posted by: Lavanya Pamu
- Posted on: March 26 2004 15:48 EST
- in response to Web Master
I have seen this problem, it was occuring because of namespace mismatch on the server and the client. Please check the namespaces and test again.
GoodLuck.