Hello list,I have a problem with a service having a string input and return parameter. The problem is that the return string is only initialized when the given string is a global variable. If I declare the string inside the service method I always get NULL on my client side. Does anybody know how to declare and return the string inside the service right?
Below you can find the service implementation.
Regards Michael#include "axis2_skel_TestService.h"
#include "myadd.h"
#include <string.h>
char returnString[] = "version 0.0.1";
adb_versionResponse_t* axis2_skel_TestService_version (const axutil_env_t *env , adb_version_t* version )
{
printf("string %s \n", adb_version_get_input(version, env));
adb_versionResponse_t* return_node =
adb_versionResponse_create(env );
adb_versionResponse_set_return(return_node, env, returnString);
return return_node;
}
begin:vcard fn:Michael Sutter n:Sutter;Michael org:Forschungszentrum Karlsruhe;Institute for Data Processing and Electronics adr:Hermann-von-Helmholtz-Platz 1;;Geb. 442;Eggenstein-Leopoldshafen;;76344;Germany email;internet:[EMAIL PROTECTED] tel;work:+49 7247 825676 tel;fax:+49 7247 823560 version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
