Hi everyone,

I have a soap_client call to a web service with the following structure:

soap_response := soap_client(
   url=>'http://target_url_path',
   operation=>web_service_function,
   target_namespace=>'http://target_namespace',
   ticket=>'file_path/file.pem', auth_type=>'none',
   parameters=>vector(vector('param0,''http://target_web_service_function'',
   soap_box_structure(...,soap_box_structure(..., soap_box_structure( some
value that errors) )),
   debug=>1,
   style=>1)

I have two variations on the call.  The first call to the web service works
perfectly.  The second call uses a different parameter and has a slight
variation on the soap_box_structure component (it has one additional
soap_box_structure nested) that returns the following error:

(3, '22023' 'SV039: An array of type \'
http://target_web_service/schema/XmlDefinition\' with min=1 and max=1
expected')

I've found the piece of code that calls the error but it is functionally
equivalent to the working version.  The error states an array is expected
and implies it is not receiving that value.  At the moment I cannot tell
what it is getting.

Is there anyway to extract the value that IS being received from the
soap_client call (eg a string, or something else, or even NULL)?  The debug
option returns the partially built xml string then the error to stdout.

Many thanks,
Peter Secomb
http://clearbluewater.com.au/

Reply via email to