southbeach
Programmer
I have come across this tool and have decided to give it a try. I most say, very nice gadget but, I cannot figure out what to do with the classes it generated.
I used composer to install it - I then ran this script
I now have a number of PHP scripts (Classes) in classes/basys. Question is, now what? how do I use them?
I like to think that all I have to do is include "classes/basys/autoload.php" and start calling the classes but really, I'm not exactly sure about this.
Are you familiar with wsdl2phpgenerator?
Any and all suggestions will be greatly appreciated.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
I used composer to install it - I then ran this script
Code:
include 'vendor/autoload.php';
$generator = new \Wsdl2PhpGenerator\Generator();
$generator->generate(
new \Wsdl2PhpGenerator\Config(array(
'inputFile' => '[URL unfurl="true"]https://connect16.basyspro.net/connect.asmx?WSDL',[/URL]
'outputDir' => 'classes/basys'
))
);
I now have a number of PHP scripts (Classes) in classes/basys. Question is, now what? how do I use them?
I like to think that all I have to do is include "classes/basys/autoload.php" and start calling the classes but really, I'm not exactly sure about this.
Are you familiar with wsdl2phpgenerator?
Any and all suggestions will be greatly appreciated.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.