Hi Peter, The error indicates the definition of http://target_web_service/schema/XmlDefinition accepts only one element in an array . Can you provide a more detailed code sample for analysis such that we can determine the source of the problem as the information provided below is not sufficient ?
Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openlinksw.com/support Twitter: http://twitter.com/OpenLink On 18 Oct 2011, at 02:15, Peter Secomb wrote: > 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/ > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct_______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
