Orkut Gmail Agenda Docs Web mais »
Grupos visitados recentemente | Ajuda | Acessar
Página inicial dos Grupos do Google
Mensagem sobre o tópico Problem when using type DOUBLE in SOAP
O grupo no qual você está postando é um grupo da Usenet. As mensagens postadas neste grupo farão com que o seu e-mail fique visível para qualquer pessoa na internet.
Sua resposta não foi enviada.
Postagem publicada
 
De:
Para:
Cc:
Encaminhar para
Adicionar Cc | Adicionar Encaminhar para | Editar Assunto
Assunto:
Validação:
Com o objetivo de verificação, digite os caracteres que você vê na figura abaixo ou os números que ouvir ao clicar no ícone de acessibilidade. Ouça e digite os números que ouvir
 
Matthew Peters  
Ver perfil   Traduzir para Traduzido (ver original)
 Mais opções 17 jun 2008, 09:52
De: Matthew Peters <matthew.f.pet...@googlemail.com>
Data: Tue, 17 Jun 2008 05:52:38 -0700 (PDT)
Local: Ter 17 jun 2008 09:52
Assunto: Re: Problem when using type DOUBLE in SOAP
Hi Silvano,
Indeed, this is not good. I picked up the sample from the defect that
you raised.

I added a couple of trigger_errors to Bindings/soap/Wrapper.php to
look at the return values.

If I show the return value before we mess with it, it looks fine:
[Tue Jun 17 13:45:20 2008] [error] [client 127.0.0.1] PHP Notice:
3210.8765 in C:\\php\\PEAR\\SCA\\Bindings\\soap\\Wrapper.php on
 line 99

but if I look at the $response_object, which is an SDO and print that
out, it has lost precision
[Tue Jun 17 13:45:20 2008] [error] [client 127.0.0.1] PHP Notice:
object(SDO_DataObject)#11 (1) {getDoubleReturn=>"3.211e+003"} i
n C:\\php\\PEAR\\SCA\\Bindings\\soap\\Wrapper.php on line 100

So, this is something to do with assigning the value into an SDO. I
will send a note to Caroline (although of course she will see this)
and see if she knows what might have happened here.

Matthew

On 17 Jun, 00:59, "Silvano Girardi Jr" <silvan...@gmail.com> wrote:

> Gentlemen,
> there is a critical issue (at least for me) when dealing with double values
> using SOAP.

> Example: when returning 3210.8765, you get: 3211.

> I reported it as a bug:http://pecl.php.net/bugs/bug.php?id=14155

> FYI, when I try with REST-RPC or not using SCA at all (with SoapServer), it
> works fine: returns the same double value.

> I appreciate if someone could take a look on this asap.

> Thanks,
> Silvano Girardi Jr.


    Responder ao autor    Encaminhar  
É necessário Acessar antes de postar mensagens.
Para postar uma mensagem você precisa primeiro participar deste grupo.
Atualize seu apelido na página de configurações da inscrição antes de postar.
Você não tem a permissão necessária para postar.

Criar um grupo - Grupos do Google - Página inicial do Google - Termos de Uso - Política de Privacidade
©2009 Google