I'm trying to send a new soap request using an xml fragments as parameters:\[code\]$xml_params ="<ns1:OTA_HotelAvailRQ Version = \"1.000\" Timestamp = \"2011-09-12T15:19:21+02:00\"> <ns1:AvailRequestSegments> <ns1:AvailRequestSegment AvailReqType = \"Room\" ResponseType = \"RateInfoDetails\"> <ns1:HotelSearchCriteria> <ns1:Criterion> <ns1:HotelRef HotelCode= '5092'>xxx</ns1:HotelRef></ns1:Criterion> </ns1:HotelSearchCriteria> </ns1:AvailRequestSegment> </ns1:AvailRequestSegments> </ns1:OTA_HotelAvailRQ>"; $params = new SoapVar($xml_params, XSD_ANYXML, null, null, null);$client->OTA_HotelAvailRQ($params);\[/code\]So My Request is :\[code\]<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body> <ns1:OTA_HotelAvailRQ> <ns1:OTA_HotelAvailRQ Version = "1.000" Timestamp = "2011-09-12T15:19:21+02:00"> <ns1:AvailRequestSegments> <ns1:AvailRequestSegment AvailReqType = "Room" ResponseType = "RateInfoDetails"> <ns1:HotelSearchCriteria> <ns1:Criterion> <ns1:HotelRef HotelCode= '5092'>xxx</ns1:HotelRef> </ns1:Criterion> </ns1:HotelSearchCriteria></ns1:AvailRequestSegment></ns1:AvailRequestSegments> </ns1:OTA_HotelAvailRQ></ns1:OTA_HotelAvailRQ></SOAP-ENV:Body></SOAP-ENV:Envelope>\[/code\]My server is :\[code\]$server= new SoapServer("test.wsdl",array("features" => "SOAP_SINGLE_ELEMENT_ARRAYS"));$server->setClass("OTA_HotelAvailRQ");$server->handle();class OTA_HotelAvailRQ { function OTA_HotelAvailRQ($data){ return $data; } } \[/code\]So when I try to print the response I have this value:\[code\]<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body> <ns1:OTA_HotelAvailRQResponse> <return xsi:type="SOAP-ENC:Struct"> <AvailRequestSegments xsi:type="SOAP-ENC:Struct"> <AvailRequestSegment xsi:type="SOAP-ENC:Struct"> <HotelSearchCriteria xsi:type="SOAP-ENC:Struct"> <Criterion xsi:type="SOAP-ENC:Struct"> <HotelRef xsi:type="xsd:string">xxx</HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </return> </ns1:OTA_HotelAvailRQResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>\[/code\]As you could see no attributes is returned !!My target is parse the attribute during the server process.Thanks in advance.