more php-soap interop
| From: | brad lafountain | Date: | Fri, 31 May 2002 14:50:37 +0000 |
| Subject: | more php-soap interop | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-32@lists.php.net to get a copy of this message | ||
Oh i forgot a couple things.
// Some xsd date time stuff
function date()
{
return new SoapVar(time(), XSD_DATETIME);
return new SoapVar(time(), XSD_DATE);
return new SoapVar(time(), XSD_TIME);
return new SoapVar(time(), XSD_GYEARMONTH);
return new SoapVar(time(), XSD_GYEAR);
return new SoapVar(time(), XSD_GMONTHDAY);
return new SoapVar(time(), XSD_GDAY);
return new SoapVar(time(), XSD_GMONTH);
}
this will return the correct part of the time() that xml schema says.
another thing i/we need to be conserned with is xsd 1999. I don't really have
"offical" support for that.
- Brad
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com