lheredia/php-wsdl-creator

Adding multiple @service files results in "Function 'XXX' doesn't exist"

Opened this issue · 0 comments

What steps will reproduce the problem?
1. Default configuration php-wsdl 2.3
2. Copy class.soapdemo.php to class.soapdemo2.php
3a. Change @service in docblock to "@service SoapDemo2"
3b. rename class to "class SoapDemo2"
3c. Remove all functions, except SayHello. Rename this to "SayHello2"

What is the expected output? What do you see instead?
- I'd expect I could call the SayHello2 method on the server
- calling $client->SayHello($_GET['name']) results in client-errormessage 
"Function 'SayHello2' doesn't exist"

What version of the product are you using? On what operating system?
- Default configuration php-wsdl 2.3
- OSX
- lamp configuration on shared server

Please provide any additional information below.
- the "interface description" in the Endpoint URI shows all methods from *both* 
files
Public methods:

ComplexTypeArrayDemo
- DemoMethod
- GetComplexType
- PrintComplexType
- SayHello
- SayHello2
- getName

Original issue reported on code.google.com by jar...@gmail.com on 16 Jul 2013 at 8:21