Hi, I've been trying whole day to add attributes (username, password and languageCode in the example below) to a SOAP header with the php-soap extension but it just doesn't seem to work. There is not much useful documentation on the PHP site either regarding this. I would like my SOAP request like this : <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <ExternalApiHeader version="2" languageCode="en" username="testing" password="xxx" xmlns="http://www.GlobalBettingExchange.com/ExternalAPI/" /> </soap:Header> <soap:Body> <GetPrices xmlns="http://www.GlobalBettingExchange.com/ExternalAPI/"> <getPricesRequest ThresholdAmount="0" NumberForPricesRequired="-1" NumberAgainstPricesRequired="-1"> <MarketIds>483492 </MarketIds> </getPricesRequest> </GetPrices> </soap:Body> </soap:Envelope> Any ideas? -- View this message in context: http://www.nabble.com/How-to-add-attributes-to-a-SOAP-header--tf3459501.html#a9652227 Sent from the Php - Soap mailing list archive at Nabble.com. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php