note 105659 rejected from book.soap by thiago

From: Date: Mon, 05 Sep 2011 17:43:47 +0000
Subject: note 105659 rejected from book.soap by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182956@lists.php.net to get a copy of this message
Note Submitter: danieladias at aroundknowledge dot com ---- Hi everyone, I'm trying to create a php client to a SOAP service. The schema I'm using defines several complex types. I've seen in this manual that we can define these types as follows: $receitaFixe->Receitas->Receita->CabecalhoReceita->Tipo = new StdClass(); $receitaFixe->Receitas->Receita->CabecalhoReceita->Tipo->Codigo = 'RN'; $receitaFixe->Receitas->Receita->CabecalhoReceita->Tipo->Tipo = new StdClass(); $receitaFixe->Receitas->Receita->CabecalhoReceita->Tipo->Tipo->Codigo = 'TREC'; The xml of the request contains all the elements in the right form except for the type "Tipo" showed in the example above. If I print the whole params that are sent to soap call "Tipo" is in it. Somebody knows some reason that explains php skipping some elements? Thanks, Daniela

« previous php.notes (#182956) next »