Re: [SOAP] ASP.NET /w pear::soap @ debugging
| From: | Joe Betz | Date: | Mon, 29 Jul 2002 20:36:00 +0000 |
| Subject: | Re: [SOAP] ASP.NET /w pear::soap @ debugging | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-176@lists.php.net to get a copy of this message | ||
Howdy,
I've just started using pear::soap as a client with .NET. I had difficulty
with namespaces and changed Base.php (SOAP-0.6.2) so the name spacing would
work for me:
458c458,459
< $xmlout_name = "$elPrefix:$name";
---
> //$xmlout_name = "$elPrefix:$name";
> $attributes['xmlns'] = $elNamespace;
> $xmlout_name = $name;
This changed name spacing from the <ns1:something /> prefix style to the
<something xmlns="ns1" /> style and got things running. I don't really like
the fix but I got the client working with .NET. Does anyone already know of
a better way?
Also, kind of off the subject, but I wrote a short date class that can
convert between unix timestamps and .NET ticks, which are nanosecond
accurate. I needed it to get DateTime objects between php and .NET:
http://dev.wwc.edu/soap-test/DateTime.source.php
Cheers,
Joe