Re: Pear Soap Request

From: Date: Thu, 02 Dec 2004 21:48:53 +0000
Subject: Re: Pear Soap Request
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15975@lists.php.net to get a copy of this message
Justin Patrin wrote: print_r comes up with text printing and when I look at the source I get this: <NewDataSet> <client_new> <Column1>757</Column1> <Column2>VIVA International College is a modern English Language College with an exciting new approach to learning. English is the only language you will hear spoken throughout VIVA's classrooms and corridors. Our strict 'English Only Policy' and '5 Star Use of English Award' ensures students are even more motivated to speak only English and improve their language as quickly as possible</Column2> <cname>Viva International College</cname> <cCountry>AUS</cCountry> <cprofilepage>http://www.hyperstudy.com/study_abroad/viva_english_language_abroad/default.asp</cprofilepage> <cbannerlocation>http://www.hyperstudy.com/10040/OZ/viva_100x40.gif</cbannerlocation> </client_new> <client_new> <Column1>756</Column1> <Column2>Study English with Aspect – With over 35 years of experience, Aspect is a leading international education group with schools in 24 locations worldwide. All of Aspect’s schools are fully accredited by national governing bodies and provide year-round English training to students and young adults from over 100 countries worldwide.</Column2> <cname>Aspect International Language Academies</cname> <cCountry>Malta</cCountry> <cprofilepage>http://www.hyperstudy.com/study_abroad/aspect_international_study/default.asp</cprofilepage> <cbannerlocation>http://www.hyperstudy.com/10040/OZ/aspect_100x40.gif</cbannerlocation> </client_new> <client_new> <Column1>755</Column1> <Column2>Studying English at the English Language Centre is an unforgettable experience! We are part of a modern, exciting university situated in one of Europe's oldest and most beautiful cities. The University of Bath is a leading teaching and research university, consistently rated in the top ten of all UK universities</Column2> <cname>University of Bath - English Language Centre</cname> <cCountry>UK</cCountry> <cprofilepage>http://www.hyperstudy.com/study_abroad/uobelc_study_abroad_uk/</cprofilepage> <cbannerlocation>http://www.hyperstudy.com/10040/UK/uobelc_100x40.gif</cbannerlocation> </client_new> </NewDataSet>
On Thu, 02 Dec 2004 23:20:37 +1000, Bobby Shearer <bob@edmedia.info> wrote:
Hello, I am am trying to access a webservice in ASP.NET. I have the following code that returns some xml. require_once('SOAP/Client.php'); $wsdl=new SOAP_WSDL('http://www.hyperstudy.com/EdClients/Other/Webservices/MyAppWservice.asmx?WSDL'); $WorldWideClientsObject=$wsdl->getProxy(); $WorldWideClientsDS=$WorldWideClientsObject->WorldWideClients('1991'); print_r ( $WorldWideClientsDS ); Can somebody please tell me how to get the response into an array?
What does that print_r() look like?


« previous php.pear.general (#15975) next »