Title: urgent

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-----
From: rajashekar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 10:36 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: urgent

 



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
STDMETHODIMP CCOMTest::TestMe(BSTR s1, BSTER *s2)
{
        *s2=s1;
        return S_OK;
}                      

 

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
Innova Solutions
Ph: Off : 3543139,40,50 X 217
     Res : 3551023

Reply via email to