You are here: Consuming NET Dataset in PHP « PHP « IT news, forums, messages
Consuming NET Dataset in PHP

Posted by Alain on 11/18/05 08:32

Hi

I am trying to consume a 3rd party web service in PHP. The webservice is
written in visual studio .NET (likely VB), and returns a dataset.

My code (modified to remove confidential info), is:

$client = new soapclient("http://webserviceaddress/webservice.asmx?wsdl");
$params->parm1='abc';
$params->parm2='def';
$objectresult = $client->DoFunction($params);
$objectresult2 = $objectresult->DoFunctionResult;

echo $objectresult2;


the last line returns

Object id #4

(I have also enclosed the last line in <pre> </pre> and the result is
the same).

How can I display, or work on the actual XML dataset return string. I
would be happy if I can move the dataset into a table or something -
even just print out the contents of the object.

Thanks,
Alain

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация