Stupid question,

wsdl.h
   struct ns__RequestStruct
   {
       int input_a; 
       char * input_b; 
   }

   struct ns__ResponseStruct
   {
        int output_a; 
   }

   myFunction ( struct ns__RequestStruct RequestStruct, 
                struct ns__ResponseStruct *ResponseStruct ); 

notice RequestStruct is NOT a pointer. 
If someone sends a request:
    <myFunction>
    </myFunction>

in my code, I get garbage for RequestStruct.input_a and RequestStruct.input_b. 
I would expect them to be 0 and NULL. 

Is there some type of swicth, option to control this?
I thought that it used to be this way.  gSOAP version: 2.7.8L

thanks,
jon 

Reply via email to