I receive the correct class information back.
When I try to do the SAME thing using the SOAP interface, I always get
back the wrong fields:
var $pog_attribute_type = array(
"helloworldId" => array("NUMERIC", "INT"),
"Array" => array("TEXT", ""),
);
----------------------------------------------------------------
My SOAP test file is very simple:
$wsdl = 'http://www.phpobjectgenerator.com/services/soap.php?wsdl';
$client = new SoapClient($wsdl);
$object = base64_decode($client->GetGeneratorVersion());
print_r($object);
$objectName = 'HelloWorld';
$attributeList = array('FirstName', 'LastName');
$typeList = array('VARCHAR(255)', 'VARCHAR(255)');
$language = 'php4';
$wrapper = 'POG';
$pdoDriver = 'mysql';
$object = base64_decode($client->GenerateObject(
$objectName,
$attributeList,
$typeList,
$language,
$wrapper,
$pdoDriver
)
);
echo "<pre>";
echo $object;
echo "</pre>";
Is there something I am doing wrong?
Please help!
Mike.
A temporary workaround is to use NuSOAP's soap client or to use methods
that do not take string arrays to generate the object (for e.g.
GenerateObjectFromLink)
I will get back to you once we verify this issue.
Regards,
Joel