Hi guys, I need your help: I'm trying to send a soap request with soap UI: <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:Header/> <soapenv:Body> <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"/> </ns1:Criterion> </ns1:HotelSearchCriteria> </ns1:AvailRequestSegment> </ns1:AvailRequestSegments> </ns1:OTA_HotelAvailRQ> </soapenv:Body> </soapenv:Envelope> This is my server test page: <?php $server= new SoapServer("test.wsdl"); $server->setClass("OTA_HotelAvailRQ"); $server->handle(); class OTA_HotelAvailRQ { function OTA_HotelAvailRQ($data){ //$t = $data->AvailRequestSegment; return $data; } } ?> This is the response, as you could see, I Have the correct data equal to the request, but the attribute values are missing. So for example I'm not able to parse HotelCode attribute but Im able to parse $data->AvailRequestSegment So, Why I loose all the attribute nodetype or Why I cant get the relative attribute values ? Thanks in advance. ghena. <?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"> <AvailRequestSegment xsi:type="SOAP-ENC:Struct"> <HotelSearchCriteria xsi:type="SOAP-ENC:Struct"> <Criterion xsi:type="SOAP-ENC:Struct"> <HotelRef xsi:type="xsd:string"></HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </return> </ns1:OTA_HotelAvailRQResponse> </SOAP-ENV:Body></SOAP-ENV:Envelope> -- View this message in context: http://old.nabble.com/newbie-soap-questions-tp34504984p34504984.html 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