SOAP WSDL Associative Arrays

后端 未结 3 542
温柔的废话
温柔的废话 2021-01-18 02:36

How can I define an associative array in a SOAP wsdl file? This is how I define an array element type so far:


    

        
3条回答
  •  抹茶落季
    2021-01-18 03:07

    WSDL cannot describe the associative nature of an associative array. The best you could do would be to define an array of name/value.

    Can you define a PHP service with an operation that returns an associative array, then see what WSDL that produces? You could then follow the same pattern in your own, hand-written WSDLs.

提交回复
热议问题