Re: working with Complex .net types in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




looks mostly good, $MyUser gets turned into a nice PHP dataset. its a object called stdClass that contains structures, arrays and other stdClass objects
(how come these classes are not named properly?)

now...without doing anaything to it I pass it right back to .net to save:


It all depends on the WSDL. If, for example, WSDL contains abstract types, you MUST send typed objects (StdClass must be "wrapped" in SoapVar with namespace specified). If you don't specify the type of send object, the default (abstract) type will be applied - which in most cases will result in empty (or incomplete) object.

Read up on SoapVar objects in PHP manual and check some old posts on this forum concerning SoapVars.

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux