RE: [SOAP] Re: still newbie
| From: | Vegard Figenschou | Date: | Tue, 30 Sep 2003 09:33:38 +0000 |
| Subject: | RE: [SOAP] Re: still newbie | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1091@lists.php.net to get a copy of this message | ||
I've finally figured out the ansver to how to connect to this ms-server:
The absence of '{http://mynamespace.com}'
before RequestHeader in this code
was the one causing 'Object reference not set to an instance of an object.'
$headers = new SOAP_Header(
'{http://mynamespace.com}RequestHeader',
'Struct',....
After specifying the namespace it all worked well.
Regards
-Vegard