Ответов: 3 Просмотров: 1627
|
Добрый день!
Помогите пожалуйста, как вытянуть это?
CODE ( html):
скопировать код в буфер обмена
<soapenv:Envelope> <soapenv:Body> <lastQuoteResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <lastQuoteReturn xsi:type="xsd:string"> <quotes> <quote number=13456 /> </quotes> </lastQuoteReturn> </lastQuoteResponse> </soapenv:Body> </soapenv:Envelope>
Вот код:
PHP:
скопировать код в буфер обмена
$client = new SoapClient (null, array( 'location' => $url, "uri" => "urn:xmethods-delayed-quotes", "style" => SOAP_RPC, "use" => SOAP_ENCODED )); $return = $client->__soapCall("lastQuoteReturn", // array(new SoapParam('', '')), array( 'login' => 'sdsd') );
Вот ошибка:
Fatal error: Uncaught SoapFault exception: [ns1:Client] No such operation 'lastQuoteReturn' in C:\wamp\www\core\Core_Soap.php:101 Stack trace: #0 C:\wamp\www\core\Core_Soap.php(101): SoapClient->__soapCall('lastQuoteReturn', Array, Array) #1 C:\wamp\www\index.php(49): Core_Soap->getSoap() #2 {main} thrown in C:\wamp\www\core\Core_Soap.php on line 101 |