Re: Class based method overloading
[email protected] (Ammarmar)
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
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> > ....