# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/soapclient/modules/soapclient/soapclient.module
--- contributions/modules/soapclient/modules/soapclient/soapclient.module Base (1.1.2.1)
+++ contributions/modules/soapclient/modules/soapclient/soapclient.module Locally Modified (Based On 1.1.2.1)
@@ -288,8 +288,8 @@
       '#type'  => 'textfield',
       '#title' => t('WSDL Cache Directory'),
       '#size'  => 64,
-      '#maxlength'     => 256,
-      '#default_value' => variable_get('soapclient_wsdlcache_path', '/tmp'),
+      '#maxlength'     => 255,
+      '#default_value' => variable_get('soapclient_wsdlcache_path', variable_get('file_directory_temp', NULL)),
       '#description'   => t('Enter the directory to allow nuSOAP keep it\'s WSDL cache. Note that the '.
                             'read/write permission is required.'),
     );
@@ -610,7 +610,7 @@
     if ( $use_wsdl )
     {        
       // load from cache first
-      $cache = new wsdlcache(variable_get('soapclient_wsdlcache_path', '/tmp'), variable_get('soapclient_wsdlcache_lifetime', 60));
\ No newline at end of file
+      $cache = new wsdlcache(variable_get('soapclient_wsdlcache_path', variable_get('file_directory_temp', NULL)), variable_get('soapclient_wsdlcache_lifetime', 60));
\ No newline at end of file
       $wsdl = $cache->get($url);
 
       if ( empty($wsdl) )
