"returning a php array from a php soapserver" Code Answer


i used this wsdl generator to create description file.

returning array of strings is something what my web service does, here's part of wsdl:

<xsd:schema targetnamespace="http://schema.example.com">
  <xsd:complextype name="stringarray">
      <xsd:restriction base="soap-enc:array">
        <xsd:attribute ref="soap-enc:arraytype" wsdl:arraytype="xsd:string[]" />

<message name="notifyrequest">
  <part name="parameters" type="xsd:string" />
<message name="notifyresponse">
  <part name="notifyreturn" type="tns:stringarray" />

then api function notify is defined:

<wsdl:operation name="notify">
  <wsdl:input message="tns:notifyrequest" />
  <wsdl:output message="tns:notifyresponse" />
By fusionlightcat on January 11 2022

Answers related to “returning a php array from a php soapserver”

Only authorized users can answer the Search term. Please sign in first, or register a free account.