f00b4r / nusoap

:smirk: Fixed NuSOAP for PHP 5.6 - 8.2
https://f00b4r.github.io/nusoap/
320 stars 356 forks source link

$this->portTypes[$bindingData['portType']][$operation]['output'] is undefined in One-way service #92

Open galo4kin opened 1 year ago

galo4kin commented 1 year ago

The service receives a message. The operation therefore has a single input element. The grammar for a one-way operation is −

<wsdl:definitions .... > 
   <wsdl:portType .... > *
      <wsdl:operation name = "nmtoken">
         <wsdl:input name = "nmtoken"? message = "qname"/>
      </wsdl:operation>
   </wsdl:portType >
</wsdl:definitions>

On this way we have an error in PHP8 on line 4930 $this->portTypes[$bindingData['portType']][$operation]['output']