Re: [SOAP] Soap client, different element type

[email protected] (Fernando)
Newsgroups php.soap
Message-ID <[email protected]>
Hello,

I have been searching this everywhere and can´t find anything.
Unfortunately i can´t use ext/soap because the server that i´m using
won´t allow recompiling php to add it.

So if anyone know how can i pass xsd:dateTime on nusoap, i would
appreciate some help

Thanks,

Fernando.

2009/3/4 Will Fitch <[email protected]>:
> I’m not sure the nuSoap way, nor do I know what the WSDL you’re using
> specifies.  With ext/soap, you can pass a structure (class) or array with
> the element name and type.
>
> Maybe some nuSoap gurus can lend a hand?
>
>
> On 3/4/09 9:59 AM, "Fernando" <[email protected]> wrote:
>
> Hello Will,
>
> Thanks for the reply.
>
> I´m trying to pass this parameter using datetime function. Example:
>
> <?php
> $date = new DateTime();
> $date->format(DATE_RFC3339);
>
> $params = array( 'myDate' => $date );
> ?>
>
> But when i take a look at what nusoap is sending, it is something like this:
>
> <myDate xsi:type="xsd:string">2009-03-04T12:57:25-03:00</myDate>
>
> How can i force the type to be set as dateTime?
>
> Thanks,
>
> Fernando.
>
> 2009/3/4 Will Fitch <[email protected]>:
>> This is an XML data type.  Please see
>> http://books.xmlschemata.org/relaxng/ch19-77049.html for more details.
>>
>>
>>
>> On 3/4/09 9:48 AM, "Fernando Morgenstern" <[email protected]>
>> wrote:
>>
>> Hello,
>>
>> I´m accessing a SOAP server using nusoap. There are some params that i
>> need to pass as dateTime.
>>
>> Do you know how can i send this kind of parameter? I can send string,
>> float and int, but don´t know how to send dateTime.
>>
>> Thanks for any help about this!
>> --
>> Fernando
>>
>> --
>> PHP Soap Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.