VMware {code} Community
ARICENT_GSOAP_D
Contributor
Contributor

HELP REQUIRED: Error soap struct not intialized

Hi All,

PLease help me out in rectifying following error:

While parsing RPC request from soap_serve, it is throwing and error :

"Error soap struct not intialized"[/b]

Detail:

I have implemented an RPC which has the following prototype :

GetPValues (struct soap *soap, struct ArrayOfString *ParameterNameList,

struct ArrayOfParameterValueStruct *ParameterList)[/b]

Now when a client is calling this API it is sending the following SOAP Request :[/b]

*********************************************************

*******************************************************

I have tried Debugging. it is throwing this error while parsing the argument ParameterNames[/b] . As it can be seen above client has sent the ParameterName as a Empty String. Which should be acceptable but it throws an error.

Can anybody help that how can i make the following tag acceptable by soap_serve

Any sort of pointers/help Would be great.

Thanks and Regards

Reply
0 Kudos
1 Reply
admin
Immortal
Immortal

Since the problem is with the parameter list, maybe trying to use a null instead of the empty string could be of some help.

Reply
0 Kudos