[prev in list] [next in list] [prev in thread] [next in thread]
List: php-soap
Subject: [SOAP] classmap - Mixed Content question.
From: sem user <sem_user () yahoo ! com>
Date: 2007-08-22 21:55:45
Message-ID: 783724.24444.qm () web44811 ! mail ! sp1 ! yahoo ! com
[Download RAW message or body]
Hi All,
Probably a very simple question.
My WSDL contains a complex type like
<xs:element name="greeting">
<xs:complexType mixed="true">
<xs:attribute ref="xml:lang"/>
</xs:complexType>
I am using classmap on the PHP server.
For above complex type i created class like
class GreetingType
{
public $lang;
}
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.
regards,
rahul
---------------------------------
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic