First, you have to replace *s2 = s1 by *s2 = SysAllocString(s1) – otherwise it won’t work. Then, the simple trick of bouncing back the request won’t work – soap format requires different format for ret vals. I cannot guess what kind of soap server you use, and what it does with your return data from TestMe. It is likely that the soap server takes your out value, and wraps into soap compliant package. In this case, assuming the out type is string, you can try to return something plain in the following way:
*s2 = SysAllocString(“myRetVal”);
the other strong advise is to use apache TCP tunnel to see what is in the channel –this will make any problem easy to track.
Sergei Meleshchuk WMI 425-705-8547
-----Original Message-----
Hi All, While calling SOAP service from my Java Client, the following exception has been occurred. [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to deserialize a ':Result' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.; targetException=java.lang.IllegalArgumentException: No Deserializer found to deserialize a ':Result' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.] The situation is, I'm using COM (VC++) SOAP Server and calling from Java Client using RPC-based. In Server side the method signature is given below Just returning whatever i'm getting
from Client
Java Client Side, I'm using CALL object to invoke the RPC. While getting the Response (after call.invoke) the above exception occurred. Can any one help me for this problem. Regards, Raja |
Title: urgent
- URGENT rajashekar
- URGENT rajashekar
- Re: URGENT Christoph C. Cemper - privat
- urgent rajashekar
- RE: urgent Sergei Meleshchuk
- RE: urgent Sergei Meleshchuk
- Re: urgent santosh patankar