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 -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php