Здравствуйте. Есть файл wsdl с двумя сервисами: getDogId - получить ID Договора, getDogConnections - получить неудаленные подключения договора. При работе с сервисом getDogConnections возникают проблемы. PHP: <?php $wsdl = "http://localhost/wsdl/DogInfo.wsdl"; $client = new SoapClient($wsdl, array('trace' => true, 'execptions' => true)); // функция funcGetDogId возвращает ID Договора, функция работает! $ReqAnswer = funcGetDogId($client, 78030); $dog_id = $ReqAnswer -> dog_id; $ReqData = new stdClass(); $ReqData -> dog_id = $dog_id; // На этой строке выбрасывается исключение $reg = $client -> getDogConnections($ReqData); ?> SoapFault exception: [Client] looks like we got no XML document in Z:\home\localhost\www\html\Accounts\personaltariff.php:281 Stack trace: #0 [internal function]: SoapClient->__call('getDogConnectio...', Array) #1 Z:\home\localhost\www\html\Accounts\personaltariff.php(281): SoapClient->getDogConnections(Object(stdClass)) #2 {main} В чем может быть проблема, подскажите пожалуйста. HTML: Частичное описание сервиса: <message name="getDogConnectionsRequest"> <part name="request" element="ws:getDogConnectionsRequest" /> </message> <message name="getDogConnectionsResponse"> <part name="response" element="ws:getDogConnectionsResponse" /> </message> <operation name="getDogConnections"> <soap:operation soapAction="ws:getDogConnections" /> <input> <soap:body use="literal" /> </input> <output> <soap:body use="literal" /> </output> </operation> Вывод функции типов: $client->__getTypes() : struct getDogConnectionsRequest { int dog_id; } Вывод данной функции: $client->__getFunctions() : getDogConnectionsResponse getDogConnections(getDogConnectionsRequest $request) Такая вот информация в файле схемы .xsd: <xs:complexType name="getDogConnectionsRequest"> <xs:annotation> <xs:documentation>Запрос статуса подключений</xs:documentation> </xs:annotation> <xs:attribute ref="st:dog_id" use="required" /> </xs:complexType> <xs:complexType name="getDogConnectionsResponse"> <xs:annotation> <xs:documentation>Возврат статусов подключений</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="ConnectionInfo" type="st:ConnectionInfo" /> </xs:sequence> </xs:complexType>