Hi.

I'm using soapcpp2 to create the wsdl file.
I need to return a class as the output parameter.

My solution was to create this kind of struct:

struct GetFileData
{
public:
        xsd__FileData filedata;
        xsd__string result;
};

And make use this function: 

int ns1__GetFileData(xsd__string path, struct GetFileData& result);

Then, when I call the soap function from the client I receive the
result string, but I don't receive any values in the the members of
filedata.

What is the way to receive a class object as an output parameter?
How can I solve this problem?


Reply via email to