Author: kwright
Date: Wed Jul 17 00:40:06 2019
New Revision: 1863184

URL: http://svn.apache.org/viewvc?rev=1863184&view=rev
Log:
Set default values better

Modified:
    
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/csws/CswsConnector.java
    
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/csws/CswsParameters.java

Modified: 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/csws/CswsConnector.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/csws/CswsConnector.java?rev=1863184&r1=1863183&r2=1863184&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/csws/CswsConnector.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/csws/CswsConnector.java
 Wed Jul 17 00:40:06 2019
@@ -1453,19 +1453,19 @@ public class CswsConnector extends org.a
     
     String authenticationServicePath = 
parameters.getParameter(CswsParameters.authenticationPath);
     if (authenticationServicePath == null)
-      authenticationServicePath = "";
+      authenticationServicePath = CswsParameters.authenticationPathDefault;
     String contentServiceServicePath = 
parameters.getParameter(CswsParameters.contentServicePath);
     if (contentServiceServicePath == null)
-      contentServiceServicePath = "";
+      contentServiceServicePath = CswsParameters.contentServicePathDefault;
     String documentManagementServicePath = 
parameters.getParameter(CswsParameters.documentManagementPath);
     if (documentManagementServicePath == null)
-      documentManagementServicePath = "";
+      documentManagementServicePath = 
CswsParameters.documentManagementPathDefault;
     String memberServiceServicePath = 
parameters.getParameter(CswsParameters.memberServicePath);
     if (memberServiceServicePath == null)
-      memberServiceServicePath = "";
+      memberServiceServicePath = CswsParameters.memberServicePathDefault;
     String searchServiceServicePath = 
parameters.getParameter(CswsParameters.searchServicePath);
     if (searchServiceServicePath == null)
-      searchServiceServicePath = "";
+      searchServiceServicePath = CswsParameters.searchServicePathDefault;
     
     String serverHTTPNTLMDomain = 
parameters.getParameter(CswsParameters.serverHTTPNTLMDomain);
     if(serverHTTPNTLMDomain == null)

Modified: 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/csws/CswsParameters.java
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/csws/CswsParameters.java?rev=1863184&r1=1863183&r2=1863184&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/csws/CswsParameters.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-1566/connectors/csws/connector/src/main/java/org/apache/manifoldcf/csws/CswsParameters.java
 Wed Jul 17 00:40:06 2019
@@ -49,14 +49,19 @@ public class CswsParameters
   public final static String serverPassword = "Server password";
   /** Authentication service CGI path */
   public final static String authenticationPath = "Server Authentication 
Service path";
+  public final static String authenticationPathDefault = 
"/cws/Authentication.svc?wsdl";
   /** ContentService service CGI path */
   public final static String contentServicePath = "Server ContentService 
Service path";
+  public final static String contentServicePathDefault = 
"/cws/ContentService.svc?wsdl";
   /** DocumentManagement service CGI path */
   public final static String documentManagementPath = "Server 
DocumentManagement Service path";
+  public final static String documentManagementPathDefault = 
"/cws/DocumentManagement.svc?wsdl";
   /** SearchService service CGI path */
   public final static String searchServicePath = "Server SearchService Service 
path";
+  public final static String searchServicePathDefault = 
"/cws/SearchService.svc?wsdl";
   /** MemberService service CGI path */
   public final static String memberServicePath = "Server MemberService Service 
path";
+  public final static String memberServicePathDefault = 
"/cws/MemberService.svc?wsdl";
   /** Server domain, if NTLM */
   public final static String serverHTTPNTLMDomain = "Server HTTP NTLM domain";
   /** Server HTTP user */


Reply via email to