Re: Soap client, different element type

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

 



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 <will@phpfever.com>:
> 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" <stormrider.may@gmail.com> 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 <will@phpfever.com>:
>> 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" <stormrider.may@gmail.com>
>> 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
>
>
>

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