I had the case to build a WebService which had to be called transporting an array with some user data. This was the first time I was using an array as parameter in a SOAP-Service. Here are some examples that show what I figured out about how to setup the WSDL:
- Example WSDL describing use of an array as parameter
- Example PHP5 server containing method expecting array as param
- Example PHP5 client using the service
Notice the complexType ArrayOfString at the top in the types-element, which did the trick.
By the way: I could not get my favorite tool SOAPUI to build the appropriate SOAP-request for me in order to test my webservice. ZendStudio did not generate working WSDL in this case.