Cheng,

You might be able to run javah on the .java file.

That would make a header file for you. That way you
would know what parameters you should pass/expect

Kurt

-----Original Message-----
From: Cheng Hao [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 7:38 AM
To: [EMAIL PROTECTED]
Subject: will C++ client work with Apache SOAP server?


hello, I was using apache soap in both client side and server side, so both 
in Java.

Now I want to rewrite my client program in C++ but keep Apache SOAP server. 
In one of the SOAP calls in my program, the SOAP server used to return the 
client a customized class, just like this,

Class myClass{
        int size;
        Vector myArray; // vector of myClassB
}

Class myClassB{
        String a;
        String b;
}

It works perfectly when I run Java soap client, now my question is if there 
is a way it can work with my new C++ client as well? I know SOAP is based 
on XML, so there is a chance it could work, and particularly I would like 
to know how a (customized) Java object gets converted to a C++ one?

I guess some people have got this problem as well. Thanks a lot!

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


Reply via email to