note 105659 added to book.soap

From: Date: Mon, 05 Sep 2011 16:58:03 +0000
Subject: note 105659 added to book.soap
Groups: php.notes 
Request: Send a blank email to php-notes+get-182955@lists.php.net to get a copy of this message
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 ---- Server IP: 69.147.83.197 Probable Submitter: 62.48.251.118 ---- Manual Page -- http://www.php.net/manual/en/book.soap.php Edit -- https://master.php.net/note/edit/105659 Del: integrated -- https://master.php.net/note/delete/105659/integrated Del: useless -- https://master.php.net/note/delete/105659/useless Del: bad code -- https://master.php.net/note/delete/105659/bad+code Del: spam -- https://master.php.net/note/delete/105659/spam Del: non-english -- https://master.php.net/note/delete/105659/non-english Del: in docs -- https://master.php.net/note/delete/105659/in+docs Del: other reasons-- https://master.php.net/note/delete/105659 Reject -- https://master.php.net/note/reject/105659 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182955) next »