Re: Class based method overloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This is a rather unusual WSDL (especially the binding section with named inputs etc). I assume you have no way to rewrite it.

PHP5 does not support overloading functions.

Have you tried to create multiple functions named after portType operations? (getSupSet, getSupSet1 etc)


....
<wsdl:portType name="MyServer">
 <wsdl:operation name="getSupSet" parameterOrder="user">
  <wsdl:input message="impl:getSupSetReq" name="getSupSetReq"/>
  <wsdl:output message="impl:getSupSetResp" name="getSupSetResp"/>
 </wsdl:operation>
  <wsdl:operation name="getSupSet1" parameterOrder="user device">
  <wsdl:input message="impl:getSupSetReq1" name="getSupSetReq1"/>
  <wsdl:output message="impl:getSupSetResp1" name="getSupSetResp1"/>
 </wsdl:operation>
 ...
</wsdl:portType>
....

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux