1 | <?php |
||
10 | class Client extends SoapClient |
||
11 | { |
||
12 | const SOAP_ROUTER_PATH = '/nl/jsp/soaprouter.jsp'; |
||
13 | |||
14 | /** |
||
15 | * @var Configuration |
||
16 | */ |
||
17 | private $configuration; |
||
18 | |||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $headers = array(); |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $schema; |
||
28 | |||
29 | /** |
||
30 | * @return Configuration |
||
31 | */ |
||
32 | 2 | public function getConfiguration() |
|
36 | |||
37 | /** |
||
38 | * @param Configuration |
||
39 | * |
||
40 | * @return Client |
||
41 | */ |
||
42 | 2 | public function setConfiguration(Configuration $configuration) |
|
48 | |||
49 | /** |
||
50 | * @param array $headers |
||
51 | */ |
||
52 | 1 | public function setHttpHeaders(array $headers = array()) |
|
56 | |||
57 | /** |
||
58 | * @param string $schema |
||
59 | */ |
||
60 | 2 | public function setSchema($schema) |
|
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | 2 | public function getSchema() |
|
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | protected function filterRequestHeaders(SoapRequest $soapRequest, array $headers) |
||
86 | |||
87 | /** |
||
88 | * Send a custom soap message |
||
89 | * |
||
90 | * @param $envelope |
||
91 | * |
||
92 | * @return \SimpleXMLElement |
||
93 | */ |
||
94 | 1 | public function doCustomSoapRequest($envelope, $action) |
|
105 | } |
||
106 |