You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2013/09/18 17:31:04 UTC

svn commit: r1524458 - in /manifoldcf/branches/CONNECTORS-772/connectors/sharepoint: connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/ wsdls/

Author: kwright
Date: Wed Sep 18 15:31:04 2013
New Revision: 1524458

URL: http://svn.apache.org/r1524458
Log:
Peel out special treatment for 'Sharepoint AWS', since there is no such thing actually

Modified:
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SPSProxyHelper.java
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/DspSts.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Lists.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/MCPermissions.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Permissions.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/usergroup.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/versions.wsdl
    manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/webs.wsdl

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SPSProxyHelper.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SPSProxyHelper.java?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SPSProxyHelper.java (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SPSProxyHelper.java Wed Sep 18 15:31:04 2013
@@ -1433,7 +1433,7 @@ public class SPSProxyHelper {
   * @throws javax.xml.rpc.ServiceException
   * @throws java.rmi.RemoteException
   */
-  public boolean checkConnection( String site, boolean sps30, boolean websBroken )
+  public boolean checkConnection( String site, boolean sps30 )
     throws ManifoldCFException, ServiceInterruption
   {
     long currentTime;
@@ -1456,12 +1456,6 @@ public class SPSProxyHelper {
         com.microsoft.sharepoint.webpartpages.PermissionsSoap aclCall = aclService.getPermissionsSoapHandler( );
 
         aclCall.getPermissionCollection( "/", "Web" );
-        
-        // SharePoint 2010-AWS: Make sure the plugin supports the webs fix
-        if (websBroken)
-        {
-          aclCall.getSites( );
-        }
       }
 
       return true;
@@ -1942,7 +1936,7 @@ public class SPSProxyHelper {
   * @param parentSite the site to search for subsites, empty string for root
   * @return lists of sites as an arraylist of NameValue objects
   */
-  public List<NameValue> getSites( String parentSite, boolean websBroken )
+  public List<NameValue> getSites( String parentSite )
     throws ManifoldCFException, ServiceInterruption
   {
     long currentTime;
@@ -1950,114 +1944,55 @@ public class SPSProxyHelper {
     {
       ArrayList<NameValue> result = new ArrayList<NameValue>();
 
-      if ( websBroken )
-      {
-        // Call the plugin; the webs functionality is not working
-        MCPermissionsWS itemService = new MCPermissionsWS( baseUrl + parentSite, userName, password, configuration, httpClient );
-        com.microsoft.sharepoint.webpartpages.PermissionsSoap itemCall = itemService.getPermissionsSoapHandler( );
+      // Call the webs service
+      if ( parentSite.equals( "/") ) parentSite = "";
+        WebsWS webService = new WebsWS( baseUrl + parentSite, userName, password, configuration, httpClient );
+      WebsSoap webCall = webService.getWebsSoapHandler();
 
-        com.microsoft.sharepoint.webpartpages.GetSitesResponseGetSitesResult sitesResult = itemCall.getSites();
-          
-        MessageElement[] itemsList = sitesResult.get_any();
+      GetWebCollectionResponseGetWebCollectionResult webResp = webCall.getWebCollection();
+      org.apache.axis.message.MessageElement[] webList = webResp.get_any();
 
-        if (Logging.connectors.isDebugEnabled()){
-          Logging.connectors.debug("SharePoint: getSites xml response: '" + itemsList[0].toString() + "'");
-        }
+      XMLDoc doc = new XMLDoc( webList[0].toString() );
+      ArrayList nodeList = new ArrayList();
 
-        if (itemsList.length != 1)
-          throw new ManifoldCFException("Bad response - expecting one outer 'GetSites' node, saw "+Integer.toString(itemsList.length));
-          
-        MessageElement items = itemsList[0];
-        if (!items.getElementName().getLocalName().equals("GetSites"))
-          throw new ManifoldCFException("Bad response - outer node should have been 'GetSites' node");
-          
-        Iterator iter = items.getChildElements();
-        while (iter.hasNext())
-        {
-          MessageElement child = (MessageElement)iter.next();
-          if (child.getElementName().getLocalName().equals("GetSitesResponse"))
-          {
-            Iterator resultIter = child.getChildElements();
-            while (resultIter.hasNext())
-            {
-              MessageElement result2 = (MessageElement)resultIter.next();
-              if (result2.getElementName().getLocalName().equals("GetSitesResult"))
-              {
-                String url = result2.getAttribute("URL");
-                String title = result2.getAttribute("Name");
-                // A full path to the site is tacked on the front of each one of these.  However, due to nslookup differences, we cannot guarantee that
-                // the server name part of the path will actually match what got passed in.  Therefore, we want to look only at the last path segment, whatever that is.
-                if (url != null && url.length() > 0)
-                {
-                  int lastSlash = url.lastIndexOf("/");
-                  if (lastSlash != -1)
-                  {
-                    String pathValue = url.substring(lastSlash + 1);
-                    if (pathValue.length() > 0)
-                    {
-                      if (title == null || title.length() == 0)
-                        title = pathValue;
-                      result.add(new NameValue(pathValue,title));
-                    }
-                  }
-                }
-              }
-            }
-          }
-        }
-      }
-      else
+      doc.processPath(nodeList, "*", null);
+      if (nodeList.size() != 1)
       {
-        // Call the webs service
-        if ( parentSite.equals( "/") ) parentSite = "";
-          WebsWS webService = new WebsWS( baseUrl + parentSite, userName, password, configuration, httpClient );
-        WebsSoap webCall = webService.getWebsSoapHandler();
-
-        GetWebCollectionResponseGetWebCollectionResult webResp = webCall.getWebCollection();
-        org.apache.axis.message.MessageElement[] webList = webResp.get_any();
-
-        XMLDoc doc = new XMLDoc( webList[0].toString() );
-        ArrayList nodeList = new ArrayList();
+        throw new ManifoldCFException("Bad xml - missing outer 'ns1:Webs' node - there are "+Integer.toString(nodeList.size())+" nodes");
+      }
+      Object parent = nodeList.get(0);
+      if (!doc.getNodeName(parent).equals("ns1:Webs"))
+        throw new ManifoldCFException("Bad xml - outer node is not 'ns1:Webs'");
 
-        doc.processPath(nodeList, "*", null);
-        if (nodeList.size() != 1)
-        {
-          throw new ManifoldCFException("Bad xml - missing outer 'ns1:Webs' node - there are "+Integer.toString(nodeList.size())+" nodes");
-        }
-        Object parent = nodeList.get(0);
-        if (!doc.getNodeName(parent).equals("ns1:Webs"))
-          throw new ManifoldCFException("Bad xml - outer node is not 'ns1:Webs'");
+      nodeList.clear();
+      doc.processPath(nodeList, "*", parent);  // <ns1:Webs>
 
-        nodeList.clear();
-        doc.processPath(nodeList, "*", parent);  // <ns1:Webs>
+      int i = 0;
+      while (i < nodeList.size())
+      {
+        Object o = nodeList.get( i++ );
+        //Logging.connectors.debug( i + ": " + o );
+        //System.out.println( i + ": " + o );
+        String url = doc.getValue( o, "Url" );
+        String title = doc.getValue( o, "Title" );
 
-        int i = 0;
-        while (i < nodeList.size())
+        // Leave here for now
+        if (Logging.connectors.isDebugEnabled())
+          Logging.connectors.debug("SharePoint: Subsite list: '"+url+"', '"+title+"'");
+        
+        // A full path to the site is tacked on the front of each one of these.  However, due to nslookup differences, we cannot guarantee that
+        // the server name part of the path will actually match what got passed in.  Therefore, we want to look only at the last path segment, whatever that is.
+        if (url != null && url.length() > 0)
         {
-          Object o = nodeList.get( i++ );
-          //Logging.connectors.debug( i + ": " + o );
-          //System.out.println( i + ": " + o );
-          String url = doc.getValue( o, "Url" );
-          String title = doc.getValue( o, "Title" );
-
-          // Leave here for now
-          if (Logging.connectors.isDebugEnabled())
-            Logging.connectors.debug("SharePoint: Subsite list: '"+url+"', '"+title+"'");
-
-          // A full path to the site is tacked on the front of each one of these.  However, due to nslookup differences, we cannot guarantee that
-          // the server name part of the path will actually match what got passed in.  Therefore, we want to look only at the last path segment, whatever that is.
-          if (url != null && url.length() > 0)
+          int lastSlash = url.lastIndexOf("/");
+          if (lastSlash != -1)
           {
-            int lastSlash = url.lastIndexOf("/");
-            if (lastSlash != -1)
+            String pathValue = url.substring(lastSlash + 1);
+            if (pathValue.length() > 0)
             {
-              String pathValue = url.substring(lastSlash + 1);
-              if (pathValue.length() > 0)
-              {
-                if (title == null || title.length() == 0)
-                  title = pathValue;
-                result.add(new NameValue(pathValue,title));
-              }
+              if (title == null || title.length() == 0)
+                title = pathValue;
+              result.add(new NameValue(pathValue,title));
             }
           }
         }

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java Wed Sep 18 15:31:04 2013
@@ -85,7 +85,6 @@ public class SharePointRepository extend
   
   private boolean supportsItemSecurity = false;
   private boolean dspStsWorks = true;
-  private boolean websBroken = false;
   
   private String serverProtocol = null;
   private String serverUrl = null;
@@ -146,8 +145,7 @@ public class SharePointRepository extend
       if (serverVersion == null)
         serverVersion = "2.0";
       supportsItemSecurity = !serverVersion.equals("2.0");
-      dspStsWorks = !(serverVersion.equals("4.0") || serverVersion.equals("4.0AWS"));
-      websBroken = serverVersion.equals("4.0AWS");
+      dspStsWorks = !serverVersion.equals("4.0");
 
       serverProtocol = params.getParameter( "serverProtocol" );
       if (serverProtocol == null)
@@ -377,7 +375,7 @@ public class SharePointRepository extend
 
     try
     {
-      proxy.checkConnection( "/", supportsItemSecurity, websBroken );
+      proxy.checkConnection( "/", supportsItemSecurity );
     }
     catch ( ServiceInterruption e )
     {
@@ -1738,7 +1736,7 @@ public class SharePointRepository extend
             Logging.connectors.debug( "SharePoint: Document identifier is a site: '" + decodedSitePath + "'" );
 
           // Look at subsites
-          List<NameValue> subsites = proxy.getSites( encodePath(decodedSitePath), websBroken );
+          List<NameValue> subsites = proxy.getSites( encodePath(decodedSitePath) );
           if (subsites != null)
           {
             int j = 0;
@@ -2192,7 +2190,6 @@ public class SharePointRepository extend
 "        <option value=\"2.0\" "+((serverVersion.equals("2.0"))?"selected=\"true\"":"")+">SharePoint Services 2.0 (2003)</option>\n"+
 "        <option value=\"3.0\" "+(serverVersion.equals("3.0")?"selected=\"true\"":"")+">SharePoint Services 3.0 (2007)</option>\n"+
 "        <option value=\"4.0\" "+(serverVersion.equals("4.0")?"selected=\"true\"":"")+">SharePoint Services 4.0 (2010)</option>\n"+
-"        <option value=\"4.0AWS\" "+(serverVersion.equals("4.0AWS")?"selected=\"true\"":"")+">SharePoint Services 4.0 (2010), Amazon version</option>\n"+
 "      </select>\n"+
 "    </td>\n"+
 "  </tr>\n"+
@@ -5078,7 +5075,7 @@ public class SharePointRepository extend
     throws ServiceInterruption, ManifoldCFException
   {
     getSession();
-    return proxy.getSites( encodePath(parentSite), websBroken );
+    return proxy.getSites( encodePath(parentSite) );
   }
 
   /**

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/DspSts.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/DspSts.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/DspSts.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/DspSts.wsdl Wed Sep 18 15:31:04 2013
@@ -223,10 +223,10 @@
   </wsdl:binding>
   <wsdl:service name="StsAdapter">
     <wsdl:port name="StsAdapterSoap" binding="tns:StsAdapterSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/DspSts.asmx" />
+      <soap:address location="http://localhost/_vti_bin/DspSts.asmx" />
     </wsdl:port>
     <wsdl:port name="StsAdapterSoap12" binding="tns:StsAdapterSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/DspSts.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/DspSts.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Lists.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Lists.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Lists.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Lists.wsdl Wed Sep 18 15:31:04 2013
@@ -1772,10 +1772,10 @@
   </wsdl:binding>
   <wsdl:service name="Lists">
     <wsdl:port name="ListsSoap" binding="tns:ListsSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/Lists.asmx" />
+      <soap:address location="http://localhost/_vti_bin/Lists.asmx" />
     </wsdl:port>
     <wsdl:port name="ListsSoap12" binding="tns:ListsSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/Lists.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/Lists.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/MCPermissions.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/MCPermissions.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/MCPermissions.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/MCPermissions.wsdl Wed Sep 18 15:31:04 2013
@@ -45,25 +45,6 @@
           </s:sequence>
         </s:complexType>
       </s:element>
-      <s:element name="GetSites">
-        <s:complexType>
-          <s:sequence>
-          </s:sequence>
-        </s:complexType>
-      </s:element>
-      <s:element name="GetSitesResponse">
-        <s:complexType>
-          <s:sequence>
-            <s:element minOccurs="0" maxOccurs="1" name="GetSitesResult">
-              <s:complexType mixed="true">
-                <s:sequence>
-                  <s:any />
-                </s:sequence>
-              </s:complexType>
-            </s:element>
-          </s:sequence>
-        </s:complexType>
-      </s:element>
     </s:schema>
   </wsdl:types>
   <wsdl:message name="GetPermissionCollectionSoapIn">
@@ -78,12 +59,6 @@
   <wsdl:message name="GetListItemsSoapOut">
     <wsdl:part name="parameters" element="tns:GetListItemsResponse" />
   </wsdl:message>
-  <wsdl:message name="GetSitesSoapIn">
-    <wsdl:part name="parameters" element="tns:GetSites" />
-  </wsdl:message>
-  <wsdl:message name="GetSitesSoapOut">
-    <wsdl:part name="parameters" element="tns:GetSitesResponse" />
-  </wsdl:message>
   <wsdl:portType name="PermissionsSoap">
     <wsdl:operation name="GetPermissionCollection">
       <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the collection of permissions for a site, list, or list item.</wsdl:documentation>
@@ -95,11 +70,6 @@
       <wsdl:input message="tns:GetListItemsSoapIn" />
       <wsdl:output message="tns:GetListItemsSoapOut" />
     </wsdl:operation>
-    <wsdl:operation name="GetSites">
-      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Reliably return list of subsites.</wsdl:documentation>
-      <wsdl:input message="tns:GetSitesSoapIn" />
-      <wsdl:output message="tns:GetSitesSoapOut" />
-    </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="PermissionsSoap" type="tns:PermissionsSoap">
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
@@ -121,15 +91,6 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="GetSites">
-      <soap:operation soapAction="http://microsoft.com/sharepoint/webpartpages/GetSites" style="document" />
-      <wsdl:input>
-        <soap:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="PermissionsSoap12" type="tns:PermissionsSoap">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
@@ -151,15 +112,6 @@
         <soap12:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="GetSites">
-      <soap12:operation soapAction="http://microsoft.com/sharepoint/webpartpages/GetSites" style="document" />
-      <wsdl:input>
-        <soap12:body use="literal" />
-      </wsdl:input>
-      <wsdl:output>
-        <soap12:body use="literal" />
-      </wsdl:output>
-    </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="Permissions">
     <wsdl:port name="PermissionsSoap" binding="tns:PermissionsSoap">

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Permissions.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Permissions.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Permissions.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/Permissions.wsdl Wed Sep 18 15:31:04 2013
@@ -296,10 +296,10 @@
   </wsdl:binding>
   <wsdl:service name="Permissions">
     <wsdl:port name="PermissionsSoap" binding="tns:PermissionsSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/Permissions.asmx" />
+      <soap:address location="http://localhost/_vti_bin/Permissions.asmx" />
     </wsdl:port>
     <wsdl:port name="PermissionsSoap12" binding="tns:PermissionsSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/Permissions.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/Permissions.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/usergroup.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/usergroup.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/usergroup.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/usergroup.wsdl Wed Sep 18 15:31:04 2013
@@ -1977,10 +1977,10 @@
   </wsdl:binding>
   <wsdl:service name="UserGroup">
     <wsdl:port name="UserGroupSoap" binding="tns:UserGroupSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/usergroup.asmx" />
+      <soap:address location="http://localhost/_vti_bin/usergroup.asmx" />
     </wsdl:port>
     <wsdl:port name="UserGroupSoap12" binding="tns:UserGroupSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/usergroup.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/usergroup.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/versions.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/versions.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/versions.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/versions.wsdl Wed Sep 18 15:31:04 2013
@@ -224,10 +224,10 @@
   </wsdl:binding>
   <wsdl:service name="Versions">
     <wsdl:port name="VersionsSoap" binding="tns:VersionsSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/versions.asmx" />
+      <soap:address location="http://localhost/_vti_bin/versions.asmx" />
     </wsdl:port>
     <wsdl:port name="VersionsSoap12" binding="tns:VersionsSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/versions.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/versions.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>

Modified: manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/webs.wsdl
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/webs.wsdl?rev=1524458&r1=1524457&r2=1524458&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/webs.wsdl (original)
+++ manifoldcf/branches/CONNECTORS-772/connectors/sharepoint/wsdls/webs.wsdl Wed Sep 18 15:31:04 2013
@@ -1024,10 +1024,10 @@
   </wsdl:binding>
   <wsdl:service name="Webs">
     <wsdl:port name="WebsSoap" binding="tns:WebsSoap">
-      <soap:address location="http://www.wssdemo.com/_vti_bin/webs.asmx" />
+      <soap:address location="http://localhost/_vti_bin/webs.asmx" />
     </wsdl:port>
     <wsdl:port name="WebsSoap12" binding="tns:WebsSoap12">
-      <soap12:address location="http://www.wssdemo.com/_vti_bin/webs.asmx" />
+      <soap12:address location="http://localhost/_vti_bin/webs.asmx" />
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>