Re: [PHP] php and .net webservice

2007-02-23 Thread Richard Lynch
On Wed, February 21, 2007 7:32 am, 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.

 Any pointers?

Use http://php.net/var_dump a lot?

Show us your code so we aren't guesing about what you are doing?

Avoid .net like the plague? :-)

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php and .net webservice

2007-02-21 Thread Arno Coetzee

Hi all,

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.


Any pointers?

tia

--
Arno Coetzee
Flash Media Group
Developer
Mobile : 27 82 693 6180
Office : 27 12 430 7597

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php and .net webservice

2007-02-21 Thread Jon Anderson

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php