Re: classmap - Mixed Content question.

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

 



Dnia 22-08-2007 o 23:55:45 sem user <sem_user@yahoo.com> napisał(a):


I have mapped the class properly and i want to use it in the function.

So i created an instance of above class and setting lang as follows.

$greetingObj = new GreetingType ();

$greetingObj->lang = "en";

Now how do i set the actaul greeting string so that my SOAP looks like follows

<greeting xml:lang="en">hello world</greeting>

Thanks in advance for your help.


Try something like this:

$greetingObj->_ = "hello world";

(yes, it is an underscore used as field name)

--
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