Re: php and .net webservice
| From: | Jon Anderson | Date: | Wed, 21 Feb 2007 15:01:06 +0000 |
| Subject: | Re: php and .net webservice | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249186@lists.php.net to get a copy of this message | ||
Arno Coetzee wrote:
I have a php client that needs to interact with a .net web service. The method I call returns a strongly typed dataset (some or other .net object). I cannot seem to get my php client to understand what this dataset is. I can see the information with a tcpdump, but for the life of me I can’t get php to display the results returned. Assuming you're using PHP's built-in SOAP handling stuff, it should work fine. Just var_dump or print_r the returned object to see what you get..NET SOAP likes to do some inconsistent/odd things. By default, I believe it wraps one message in an additional object/array layer for no apparent reason, but doesn't for messages traveling in the other direction, at least that has been the case in my very limited experience with dotnet/php SOAP interaction. (Dumping the resulting messages should provide you with the odd object structure.) jon