Forum Moderators: coopster

Message Too Old, No Replies

WSDL Array input.

         

npulis

7:56 pm on Jan 24, 2010 (gmt 0)



Hi there,

I have a system using WSDL as a web service with PHP. I had a function which it's input was 2 arrays.

I have moved the function to a WSDL/ SOAP function but I cannot figure out how to do the Message node in the WSDL function so that to accept an array as the input type.

I know how to do the string and integer input but would like to know if it is possible to do a generic array input for the function.

My function which I need to put in the WSDL file has to take an input of 3 arrays.

Thanks :)

WSDL Example:

<message name="Notanarrayexample">
<part name="searchstring" type="xsd:string"/>
<part name="searchin" type="xsd:string"/>
<part name="filtertype" type="xsd:string"/>
<part name="filterstatus" type="xsd:string"/>
</message>

<operation name="Notanarrayexampleop">
<input name ="Notanarrayexampleop" message="tns:Notanarrayexample"/>
<output message="tns:ArrayResponse"/>
</operation>

coopster

6:53 pm on Apr 20, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you ever figure this out npulis? Doesn't seem to be any WSDL users hanging out around here.