|
@@ -12,7 +12,7 @@ discard block |
|
|
block discarded – undo |
|
12
|
12
|
private static $brandwsdl = 'https://testws.atdconnect.com/ws/3_4/brandstyles.wsdl'; |
|
13
|
13
|
private static $locationwsdl = 'https://testws.atdconnect.com/ws/3_4/locations.wsdl'; |
|
14
|
14
|
private static $productwsdl = 'https://testws.atdconnect.com/ws/3_4/products.wsdl'; |
|
15
|
|
- private static $orderwsdl = 'https://testws.atdconnect.com/ws/3_4/orders.wsdl'; |
|
|
15
|
+ private static $orderwsdl = 'https://testws.atdconnect.com/ws/3_4/orders.wsdl'; |
|
16
|
16
|
|
|
17
|
17
|
|
|
18
|
18
|
public function __construct($user, $pass, $client) |
|
@@ -24,9 +24,9 @@ discard block |
|
|
block discarded – undo |
|
24
|
24
|
{ |
|
25
|
25
|
$xml = ' |
|
26
|
26
|
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> |
|
27
|
|
- <wsse:UsernameToken atd:clientId="' . $client . '" xmlns:atd="http://api.atdconnect.com/atd"> |
|
28
|
|
- <wsse:Username>' . $user . '</wsse:Username> |
|
29
|
|
- <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">' . $pass . '</wsse:Password> |
|
|
27
|
+ <wsse:UsernameToken atd:clientId="' . $client.'" xmlns:atd="http://api.atdconnect.com/atd"> |
|
|
28
|
+ <wsse:Username>' . $user.'</wsse:Username> |
|
|
29
|
+ <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">' . $pass.'</wsse:Password> |
|
30
|
30
|
</wsse:UsernameToken> |
|
31
|
31
|
</wsse:Security> |
|
32
|
32
|
'; |
Please login to merge, or discard this patch.