The Artima Developer Community
Sponsored Link

Web Services Forum
gsoap multidimensional array as return parameter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Michael Sablatschan

Posts: 2
Nickname: michuz
Registered: Apr, 2007

gsoap multidimensional array as return parameter Posted: Apr 24, 2007 2:22 AM
Reply to this message Reply
Advertisement
Hi everyone!

I'm building a wrapper for an existing C++ application using gsoap 2.7. (soapcpp2, wsdl2h)
A method of the application has the following signature

int func(char*** return);

in a test application the method call is done with

char** xyz;
func(&xyz);

and works fine.

In the gsoap header file i created a struct to wrap the array in one structure, like this:

typedef char* xsd__string;
struct X
{
xsd__string *__ptr;
int __size[3];
};

and also without the __size[3] for multidimensional arrays, because i got some syntax errors in my client application in the code generated by the gsoap compiler.

Does anybody know how to do this correctly?

Topic: Digital Software Delivery Previous Topic   Next Topic Topic: Problem accessing AXIS 1.4 Service

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use