1- <?php
2-
3- use RobRichards \XMLSecLibs \XMLSecurityKey ;
4-
5- return [
6-
7- /*
8- |--------------------------------------------------------------------------
9- | SOAP Client Configuration
10- |--------------------------------------------------------------------------
11- |
12- | Her you can setup your soap client by configuration so that ou just need
13- | a name.
14- |
15- | example: Soap::buildClient('laravel_soap')
16- */
17-
18- 'clients ' => [
19- 'laravel_soap ' => [
20- 'base_wsdl ' => 'test.wsdl ' ,
21- 'with_wsa ' => true ,
22- 'with_basic_auth ' => [
23- 'username ' => 'username ' ,
24- 'password ' => 'password ' ,
25- ],
26- 'with_wsse ' => [
27- 'user_token_name ' => 'username ' ,
28- 'user_token_password ' => 'password ' ,
29- 'private_key_file ' => 'path/to/privatekey.pem ' ,
30- 'public_key_file ' => 'path/to/publickey.pyb ' ,
31- 'server_certificate_file ' => 'path/to/client-cert.pem ' ,
32- 'server_certificate_has_subject_key_identifier ' => false ,
33- 'user_token_digest ' => false ,
34- 'digital_sign_method ' => XMLSecurityKey::RSA_SHA1 ,
35- 'timestamp ' => 3600 ,
36- 'sign_all_headers ' => false ,
37- ]
38- ],
39- ],
40-
41- ];
1+ <?php
2+
3+ use RobRichards \XMLSecLibs \XMLSecurityKey ;
4+
5+ return [
6+
7+ /*
8+ |--------------------------------------------------------------------------
9+ | SOAP Client Configuration
10+ |--------------------------------------------------------------------------
11+ |
12+ | Her you can setup your soap client by configuration so that ou just need
13+ | a name.
14+ |
15+ | example: Soap::buildClient('laravel_soap')
16+ */
17+
18+ 'clients ' => [
19+ 'laravel_soap ' => [
20+ 'base_wsdl ' => 'test.wsdl ' ,
21+ 'with_wsa ' => true ,
22+ 'with_basic_auth ' => [
23+ 'username ' => 'username ' ,
24+ 'password ' => 'password ' ,
25+ ],
26+ 'with_wsse ' => [
27+ 'user_token_name ' => 'username ' ,
28+ 'user_token_password ' => 'password ' ,
29+ 'private_key_file ' => 'path/to/privatekey.pem ' ,
30+ 'public_key_file ' => 'path/to/publickey.pyb ' ,
31+ 'server_certificate_file ' => 'path/to/client-cert.pem ' ,
32+ 'server_certificate_has_subject_key_identifier ' => false ,
33+ 'user_token_digest ' => false ,
34+ 'digital_sign_method ' => XMLSecurityKey::RSA_SHA1 ,
35+ 'timestamp ' => 3600 ,
36+ 'sign_all_headers ' => false ,
37+ ],
38+ ],
39+ ],
40+
41+ ];
0 commit comments