|
|
| |
1. How to assign an integer type parameter? |
|
Reply |
|
|
 Frank Loizzi | 2006-11-14 14:10:11 |
Hello,
how to assign a method parameter an integer data type? When the SoapDiscovery class inspects my class which should have an method parameter with type of int, only string types are recognized. I know that the only type in PHP is string, but how is it possible to reflect the demanded type?
Thanks for help in advance...
Frank Loizzi |
| |
2. Re: How to assign an integer type parameter? |
|
Reply |
|
|
 Braulio José Solano Rojas | 2009-05-20 15:48:09 - In reply to message 1 from Frank Loizzi |
Hi.
I am sorry I have seen until now this thread. I have added some lines of code to the SoapDiscovery class to make it take into account the documentation for the methods, if you add @param into the doc or @return into the doc, the type will be set accordingly in the WSDL.
The types string, boolean, int, integer, float y double are accepted. |
|