Hello PHP-Users, i try to connect to a webservice but i had to send a defined xml-string. the xml data template given to me looks so: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <LoginControl xmlns="http://server.de/o2Web/o2Con"> <username>string</username> <password>string</password> </LoginControl> </soap:Header> <soap:Body> <GetItemInfo xmlns="http://server.de/o2Web/o2Con"> <InItemsRows> <InItemsRow> <ItemID>int</ItemID> <Quantity>double</Quantity> </InItemsRow> <InItemsRow> <ItemID>int</ItemID> <Quantity>double</Quantity> </InItemsRow> </InItemsRows> </GetItemInfo> </soap:Body> </soap:Envelope> Ich habe mir die PHP doku bezüglich SOAP durchgelesen, aber leider ist mir unklar, wie ich diese Struktur mit diesen Mitteln hinbekomme. Mein erster Versucht war: $client = new SoapClient("https://server.de/o2Web/o2Con.asmx?WSDL",array('trace' => 1)); $parms = array('Quantity' => 5, 'ItemID' => 4757380); $result = $client->__soapCall("GetItemInfo",$parms); the webservice is protected by soap header. so i have to send a header with the login data like above. can anybody help me please bye jogi -- View this message in context: http://www.nabble.com/Soap-Client-tf4725175.html#a13509625 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