L
L
Lebnik2015-01-16 18:11:51
PHP
Lebnik, 2015-01-16 18:11:51

How to form a response in the SoapServer method of your class according to the Lists Web Service Protocol?

I write SoapServer:

<?php
class SoapMethods {
    public function GetList($listName){
        return 'в каком виде должен быть данный ответ???';
    }
}

$server = new SoapServer(null, array(
    'uri' => 'http://'.$_SERVER['HTTP_HOST'].'/namespace.php',
    'soap_version'=>SOAP_1_2
));
$server->setClass('SoapMethods');
$server->handle();

According to msdn.microsoft.com/en-us/library/dd932662(v=office... I should return a response, but alas, I do not have enough knowledge and do not understand where to dig in order to understand how I should style GetListResponse (see below). php method GetList of the SoapMethods class).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2015-01-16
@AloneCoder

habrahabr.ru/post/187390

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question