initial commit
This commit is contained in:
@ -0,0 +1,49 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.Authenticator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class AbstractAuthenticator extends Authenticator {
|
||||
|
||||
String domain;
|
||||
String user;
|
||||
String password;
|
||||
|
||||
public AbstractAuthenticator(String user, String password) {
|
||||
super();
|
||||
this.domain = null;
|
||||
this.user = user;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public AbstractAuthenticator(String domain, String user, String password) {
|
||||
super();
|
||||
this.domain = domain;
|
||||
this.user = user;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getDomain() {
|
||||
return domain;
|
||||
}
|
||||
|
||||
public String getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
String userName = user;
|
||||
if (domain != null && !domain.isEmpty()) {
|
||||
userName = domain + "\\" + user;
|
||||
}
|
||||
return userName;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.PasswordAuthentication;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class NtlmAuthenticator extends AbstractAuthenticator {
|
||||
|
||||
public NtlmAuthenticator(String user, String password) {
|
||||
super(user, password);
|
||||
}
|
||||
|
||||
public NtlmAuthenticator(String domain, String user, String password) {
|
||||
super(domain, user, password);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PasswordAuthentication getPasswordAuthentication() {
|
||||
return new PasswordAuthentication(getUserName(), password.toCharArray());
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import java.net.Authenticator;
|
||||
import java.net.URL;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPContext {
|
||||
|
||||
private URL siteURL;
|
||||
private AbstractAuthenticator authenticator;
|
||||
private SPVersion spVersion;
|
||||
|
||||
public SPContext(URL siteURL, AbstractAuthenticator authenticator, SPVersion spVersion) {
|
||||
this.siteURL = siteURL;
|
||||
this.authenticator = authenticator;
|
||||
this.spVersion = spVersion;
|
||||
configure();
|
||||
}
|
||||
|
||||
private void configure() {
|
||||
Authenticator.setDefault(authenticator);
|
||||
}
|
||||
|
||||
public URL getSiteURL() {
|
||||
return siteURL;
|
||||
}
|
||||
|
||||
public AbstractAuthenticator getAuthenticator() {
|
||||
return authenticator;
|
||||
}
|
||||
|
||||
public SPVersion getSpVersion() {
|
||||
return spVersion;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPObject {
|
||||
|
||||
private SPContext context;
|
||||
|
||||
public SPObject(SPContext context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
public SPContext getContext() {
|
||||
return context;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public enum SPVersion {
|
||||
SP2010;
|
||||
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
package de.muehlencord.shared.sharepoint.api.authentication;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.authentication.Authentication;
|
||||
import com.microsoft.schemas.sharepoint.soap.authentication.AuthenticationSoap;
|
||||
import com.microsoft.schemas.sharepoint.soap.authentication.LoginResult;
|
||||
import de.muehlencord.shared.sharepoint.api.AbstractAuthenticator;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPAuthentication extends SPObject {
|
||||
|
||||
public SPAuthentication(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
private void authenticate(BindingProvider prov) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
AbstractAuthenticator authenticator = getContext().getAuthenticator();
|
||||
LoginResult result = getAuthenticationPort().login(authenticator.getUserName(), authenticator.getPassword());
|
||||
|
||||
}
|
||||
|
||||
private AuthenticationSoap getAuthenticationPort() throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
URL wsURL = new URL(getContext().getSiteURL().toString() + "/_vti_bin/Authentication.asmx");
|
||||
URL wsdlURL = new URL(SPContext.class.getResource("/wsdl/authentication.wsdl").toExternalForm());
|
||||
Authentication service = new Authentication(wsdlURL);
|
||||
AuthenticationSoap alertsPort = service.getAuthenticationSoap();
|
||||
((BindingProvider) alertsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
return alertsPort;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package de.muehlencord.shared.sharepoint.api.lists;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.Lists;
|
||||
import com.microsoft.schemas.sharepoint.soap.lists.ListsSoap;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPList extends SPObject {
|
||||
|
||||
public SPList(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
private ListsSoap getListsPort(URL webUrl) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
URL wsURL = new URL(webUrl.toString() + "/_vti_bin/Lists.asmx");
|
||||
URL wsdlURL = new URL(SPContext.class.getResource("/wsdl/lists.wsdl").toExternalForm());
|
||||
Lists service = new Lists(wsdlURL);
|
||||
ListsSoap listsPort = service.getListsSoap();
|
||||
((BindingProvider) listsPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
return listsPort;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
package de.muehlencord.shared.sharepoint.api.sites;
|
||||
|
||||
import com.microsoft.schemas.sharepoint.soap.webs.Webs;
|
||||
import com.microsoft.schemas.sharepoint.soap.webs.WebsSoap;
|
||||
import de.muehlencord.shared.sharepoint.api.SPContext;
|
||||
import de.muehlencord.shared.sharepoint.api.SPObject;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import javax.xml.ws.BindingProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class SPSite extends SPObject {
|
||||
|
||||
public SPSite(SPContext context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public static WebsSoap getWebsPort(URL webUrl) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException {
|
||||
URL wsURL = new URL(webUrl.toString() + "/_vti_bin/Webs.asmx");
|
||||
URL wsdlURL = new URL(SPSite.class.getResource("/wsdl/webs.wsdl").toExternalForm());
|
||||
Webs service = new Webs(wsdlURL);
|
||||
WebsSoap websPort = service.getWebsSoap();
|
||||
((BindingProvider) websPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, wsURL.toString());
|
||||
return websPort;
|
||||
}
|
||||
}
|
||||
172
sharepoint/api/src/main/resources/2010/wsdl/alerts.wsdl
Normal file
172
sharepoint/api/src/main/resources/2010/wsdl/alerts.wsdl
Normal file
@ -0,0 +1,172 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/">
|
||||
<s:element name="GetAlerts">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetAlertsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetAlertsResult" type="tns:AlertInfo"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="AlertInfo">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CurrentUser" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertServerType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertsManagementUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertWebTitle" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="NewAlertUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertWebId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Alerts" type="tns:ArrayOfAlert"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfAlert">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="Alert" type="tns:Alert"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="Alert">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="Active" type="s:boolean"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="EventType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertForTitle" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="AlertForUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="EditAlertUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeliveryChannels" type="tns:ArrayOfDeliveryChannel"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="ArrayOfDeliveryChannel">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="DeliveryChannel" nillable="true" type="tns:DeliveryChannel"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="DeliveryChannel" abstract="true"/>
|
||||
<s:complexType name="EmailChannel">
|
||||
<s:complexContent mixed="false">
|
||||
<s:extension base="tns:DeliveryChannel">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Frequency" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Address" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:extension>
|
||||
</s:complexContent>
|
||||
</s:complexType>
|
||||
<s:element name="DeleteAlerts">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="IDs" type="tns:ArrayOfString"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfString">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="DeleteAlertsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeleteAlertsResult" type="tns:ArrayOfDeleteFailure"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfDeleteFailure">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="DeleteFailure" type="tns:DeleteFailure"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="DeleteFailure">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="Error" type="tns:ErrorType"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:simpleType name="ErrorType">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None"/>
|
||||
<s:enumeration value="AccessDenied"/>
|
||||
<s:enumeration value="ServerError"/>
|
||||
<s:enumeration value="TooManyErrors"/>
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetAlertsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAlerts"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAlertsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAlertsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteAlertsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:DeleteAlerts"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteAlertsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DeleteAlertsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="AlertsSoap">
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<wsdl:input message="tns:GetAlertsSoapIn"/>
|
||||
<wsdl:output message="tns:GetAlertsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<wsdl:input message="tns:DeleteAlertsSoapIn"/>
|
||||
<wsdl:output message="tns:DeleteAlertsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="AlertsSoap" type="tns:AlertsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/GetAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/DeleteAlerts" 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="AlertsSoap12" type="tns:AlertsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetAlerts">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/GetAlerts" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteAlerts">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/DeleteAlerts" 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="Alerts">
|
||||
<wsdl:port name="AlertsSoap" binding="tns:AlertsSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="AlertsSoap12" binding="tns:AlertsSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
126
sharepoint/api/src/main/resources/2010/wsdl/authentication.wsdl
Normal file
126
sharepoint/api/src/main/resources/2010/wsdl/authentication.wsdl
Normal file
@ -0,0 +1,126 @@
|
||||
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:element name="Login">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="username" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="LoginResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="LoginResult" type="tns:LoginResult" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="LoginResult">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CookieName" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ErrorCode" type="tns:LoginErrorCode" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="TimeoutSeconds" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:simpleType name="LoginErrorCode">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="NoError" />
|
||||
<s:enumeration value="NotInFormsAuthenticationMode" />
|
||||
<s:enumeration value="PasswordNotMatch" />
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
<s:element name="Mode">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="ModeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ModeResult" type="tns:AuthenticationMode" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:simpleType name="AuthenticationMode">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None" />
|
||||
<s:enumeration value="Windows" />
|
||||
<s:enumeration value="Passport" />
|
||||
<s:enumeration value="Forms" />
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="LoginSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Login" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="LoginSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:LoginResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ModeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:Mode" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ModeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ModeResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="AuthenticationSoap">
|
||||
<wsdl:operation name="Login">
|
||||
<wsdl:input message="tns:LoginSoapIn" />
|
||||
<wsdl:output message="tns:LoginSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<wsdl:input message="tns:ModeSoapIn" />
|
||||
<wsdl:output message="tns:ModeSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="AuthenticationSoap" type="tns:AuthenticationSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Login">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Login" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Mode" 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="AuthenticationSoap12" type="tns:AuthenticationSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="Login">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Login" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="Mode">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/Mode" 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="Authentication">
|
||||
<wsdl:port name="AuthenticationSoap" binding="tns:AuthenticationSoap">
|
||||
<soap:address location="" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="AuthenticationSoap12" binding="tns:AuthenticationSoap12">
|
||||
<soap12:address location="" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
1515
sharepoint/api/src/main/resources/2010/wsdl/lists.wsdl
Normal file
1515
sharepoint/api/src/main/resources/2010/wsdl/lists.wsdl
Normal file
File diff suppressed because it is too large
Load Diff
223
sharepoint/api/src/main/resources/2010/wsdl/sites.wsdl
Normal file
223
sharepoint/api/src/main/resources/2010/wsdl/sites.wsdl
Normal file
@ -0,0 +1,223 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:element name="GetSiteTemplates">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="LCID" type="s:unsignedInt"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetSiteTemplatesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetSiteTemplatesResult" type="s:unsignedInt"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="TemplateList" type="tns:ArrayOfTemplate"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfTemplate">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="Template" nillable="true" type="tns:Template"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:complexType name="Template">
|
||||
<s:attribute name="ID" type="s:int" use="required"/>
|
||||
<s:attribute name="Title" type="s:string"/>
|
||||
<s:attribute name="Name" type="s:string"/>
|
||||
<s:attribute name="IsUnique" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsHidden" type="s:boolean" use="required"/>
|
||||
<s:attribute name="Description" type="s:string"/>
|
||||
<s:attribute name="ImageUrl" type="s:string"/>
|
||||
<s:attribute name="IsCustom" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsSubWebOnly" type="s:boolean" use="required"/>
|
||||
<s:attribute name="IsRootWebOnly" type="s:boolean" use="required"/>
|
||||
<s:attribute name="DisplayCategory" type="s:string"/>
|
||||
<s:attribute name="FilterCategories" type="s:string"/>
|
||||
<s:attribute name="HasProvisionClass" type="s:boolean" use="required"/>
|
||||
</s:complexType>
|
||||
<s:element name="GetUpdatedFormDigest">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetUpdatedFormDigestResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetUpdatedFormDigestResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExportWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="dataPath" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeSubwebs" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeUserSecurity" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="overWrite" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="cabSize" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ExportWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ExportWebResult" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ImportWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="jobName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="dataFiles" type="tns:ArrayOfString"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="logPath" type="s:string"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="includeUserSecurity" type="s:boolean"/>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="overWrite" type="s:boolean"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:complexType name="ArrayOfString">
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
<s:element name="ImportWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ImportWebResult" type="s:int"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetSiteTemplatesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetSiteTemplates"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetSiteTemplatesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetSiteTemplatesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetUpdatedFormDigestSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetUpdatedFormDigest"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetUpdatedFormDigestSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetUpdatedFormDigestResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExportWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ExportWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ExportWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ExportWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ImportWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ImportWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ImportWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ImportWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="SitesSoap">
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<wsdl:input message="tns:GetSiteTemplatesSoapIn"/>
|
||||
<wsdl:output message="tns:GetSiteTemplatesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<wsdl:input message="tns:GetUpdatedFormDigestSoapIn"/>
|
||||
<wsdl:output message="tns:GetUpdatedFormDigestSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<wsdl:input message="tns:ExportWebSoapIn"/>
|
||||
<wsdl:output message="tns:ExportWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<wsdl:input message="tns:ImportWebSoapIn"/>
|
||||
<wsdl:output message="tns:ImportWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="SitesSoap" type="tns:SitesSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetSiteTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ExportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ImportWeb" 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="SitesSoap12" type="tns:SitesSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetSiteTemplates">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetSiteTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetUpdatedFormDigest">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetUpdatedFormDigest" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ExportWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ExportWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ImportWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/ImportWeb" 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="Sites">
|
||||
<wsdl:port name="SitesSoap" binding="tns:SitesSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="SitesSoap12" binding="tns:SitesSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
969
sharepoint/api/src/main/resources/2010/wsdl/webs.wsdl
Normal file
969
sharepoint/api/src/main/resources/2010/wsdl/webs.wsdl
Normal file
@ -0,0 +1,969 @@
|
||||
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sharepoint/soap/">
|
||||
<s:import namespace="http://www.w3.org/2001/XMLSchema"/>
|
||||
<s:element name="GetWebCollection">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetWebCollectionResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetWebCollectionResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetWeb">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="webUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetWebResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetWebResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetListTemplates">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetListTemplatesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetListTemplatesResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetAllSubWebCollection">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetAllSubWebCollectionResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetAllSubWebCollectionResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="WebUrlFromPageUrl">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="pageUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="WebUrlFromPageUrlResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="WebUrlFromPageUrlResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypes">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetContentTypesResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CreateContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="displayName" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="parentType" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeProperties">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CreateContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="CreateContentTypeResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeProperties">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="updateFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="deleteFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DeleteContentType">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="DeleteContentTypeResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="DeleteContentTypeResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeXmlDocument">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newDocument">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateContentTypeXmlDocumentResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateContentTypeXmlDocumentResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RemoveContentTypeXmlDocument">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="contentTypeId" type="s:string"/>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="documentUri" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RemoveContentTypeXmlDocumentResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="RemoveContentTypeXmlDocumentResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetColumns">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetColumnsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetColumnsResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateColumns">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="newFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="updateFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="deleteFields">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UpdateColumnsResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="UpdateColumnsResult">
|
||||
<s:complexType mixed="true">
|
||||
<s:sequence>
|
||||
<s:any/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCustomizedPageStatus">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="fileUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetCustomizedPageStatusResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetCustomizedPageStatusResult" type="tns:CustomizedPageStatus"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:simpleType name="CustomizedPageStatus">
|
||||
<s:restriction base="s:string">
|
||||
<s:enumeration value="None"/>
|
||||
<s:enumeration value="Uncustomized"/>
|
||||
<s:enumeration value="Customized"/>
|
||||
</s:restriction>
|
||||
</s:simpleType>
|
||||
<s:element name="RevertFileContentStream">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="fileUrl" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RevertFileContentStreamResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertAllFileContentStreams">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertAllFileContentStreamsResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="CustomizeCss">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="cssFile" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CustomizeCssResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="RevertCss">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="cssFile" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RevertCssResponse">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetActivatedFeatures">
|
||||
<s:complexType/>
|
||||
</s:element>
|
||||
<s:element name="GetActivatedFeaturesResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="GetActivatedFeaturesResult" type="s:string"/>
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="GetWebCollectionSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetWebCollection"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebCollectionSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetWebCollectionResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetWeb"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetWebSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetWebResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetListTemplatesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetListTemplates"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetListTemplatesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetListTemplatesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllSubWebCollectionSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetAllSubWebCollection"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetAllSubWebCollectionSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetAllSubWebCollectionResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="WebUrlFromPageUrlSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:WebUrlFromPageUrl"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="WebUrlFromPageUrlSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:WebUrlFromPageUrlResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypes"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CreateContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CreateContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CreateContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CreateContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteContentTypeSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:DeleteContentType"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="DeleteContentTypeSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:DeleteContentTypeResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeXmlDocumentSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeXmlDocument"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateContentTypeXmlDocumentSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateContentTypeXmlDocumentResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RemoveContentTypeXmlDocumentSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RemoveContentTypeXmlDocument"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RemoveContentTypeXmlDocumentSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RemoveContentTypeXmlDocumentResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetColumnsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetColumns"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetColumnsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetColumnsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateColumnsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UpdateColumns"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UpdateColumnsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UpdateColumnsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCustomizedPageStatusSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetCustomizedPageStatus"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetCustomizedPageStatusSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetCustomizedPageStatusResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertFileContentStreamSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertFileContentStream"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertFileContentStreamSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertFileContentStreamResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertAllFileContentStreamsSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertAllFileContentStreams"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertAllFileContentStreamsSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertAllFileContentStreamsResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CustomizeCssSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CustomizeCss"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CustomizeCssSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CustomizeCssResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertCssSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RevertCss"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RevertCssSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RevertCssResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetActivatedFeaturesSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetActivatedFeatures"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetActivatedFeaturesSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetActivatedFeaturesResponse"/>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="WebsSoap">
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<wsdl:input message="tns:GetWebCollectionSoapIn"/>
|
||||
<wsdl:output message="tns:GetWebCollectionSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<wsdl:input message="tns:GetWebSoapIn"/>
|
||||
<wsdl:output message="tns:GetWebSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<wsdl:input message="tns:GetListTemplatesSoapIn"/>
|
||||
<wsdl:output message="tns:GetListTemplatesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<wsdl:input message="tns:GetAllSubWebCollectionSoapIn"/>
|
||||
<wsdl:output message="tns:GetAllSubWebCollectionSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<wsdl:input message="tns:WebUrlFromPageUrlSoapIn"/>
|
||||
<wsdl:output message="tns:WebUrlFromPageUrlSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<wsdl:input message="tns:GetContentTypesSoapIn"/>
|
||||
<wsdl:output message="tns:GetContentTypesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<wsdl:input message="tns:GetContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:GetContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<wsdl:input message="tns:CreateContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:CreateContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<wsdl:input message="tns:UpdateContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<wsdl:input message="tns:DeleteContentTypeSoapIn"/>
|
||||
<wsdl:output message="tns:DeleteContentTypeSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<wsdl:input message="tns:UpdateContentTypeXmlDocumentSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateContentTypeXmlDocumentSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<wsdl:input message="tns:RemoveContentTypeXmlDocumentSoapIn"/>
|
||||
<wsdl:output message="tns:RemoveContentTypeXmlDocumentSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<wsdl:input message="tns:GetColumnsSoapIn"/>
|
||||
<wsdl:output message="tns:GetColumnsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<wsdl:input message="tns:UpdateColumnsSoapIn"/>
|
||||
<wsdl:output message="tns:UpdateColumnsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<wsdl:input message="tns:GetCustomizedPageStatusSoapIn"/>
|
||||
<wsdl:output message="tns:GetCustomizedPageStatusSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<wsdl:input message="tns:RevertFileContentStreamSoapIn"/>
|
||||
<wsdl:output message="tns:RevertFileContentStreamSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<wsdl:input message="tns:RevertAllFileContentStreamsSoapIn"/>
|
||||
<wsdl:output message="tns:RevertAllFileContentStreamsSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<wsdl:input message="tns:CustomizeCssSoapIn"/>
|
||||
<wsdl:output message="tns:CustomizeCssSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<wsdl:input message="tns:RevertCssSoapIn"/>
|
||||
<wsdl:output message="tns:RevertCssSoapOut"/>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<wsdl:input message="tns:GetActivatedFeaturesSoapIn"/>
|
||||
<wsdl:output message="tns:GetActivatedFeaturesSoapOut"/>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="WebsSoap" type="tns:WebsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetAllSubWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentTypes" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CreateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/DeleteContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RemoveContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetCustomizedPageStatus" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertFileContentStream" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertAllFileContentStreams" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CustomizeCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<soap:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetActivatedFeatures" 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="WebsSoap12" type="tns:WebsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="GetWebCollection">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetWeb">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetWeb" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetListTemplates">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetListTemplates" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetAllSubWebCollection">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetAllSubWebCollection" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="WebUrlFromPageUrl">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/WebUrlFromPageUrl" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentTypes">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentTypes" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CreateContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CreateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="DeleteContentType">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/DeleteContentType" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateContentTypeXmlDocument">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RemoveContentTypeXmlDocument">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RemoveContentTypeXmlDocument" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetColumns">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UpdateColumns">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/UpdateColumns" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetCustomizedPageStatus">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetCustomizedPageStatus" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertFileContentStream">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertFileContentStream" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertAllFileContentStreams">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertAllFileContentStreams" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CustomizeCss">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/CustomizeCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RevertCss">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/RevertCss" style="document"/>
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetActivatedFeatures">
|
||||
<soap12:operation soapAction="http://schemas.microsoft.com/sharepoint/soap/GetActivatedFeatures" 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="Webs">
|
||||
<wsdl:port name="WebsSoap" binding="tns:WebsSoap">
|
||||
<soap:address location=""/>
|
||||
</wsdl:port>
|
||||
<wsdl:port name="WebsSoap12" binding="tns:WebsSoap12">
|
||||
<soap12:address location=""/>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
@ -0,0 +1,25 @@
|
||||
package de.muehlencord.shared.sharepoint.api;
|
||||
|
||||
import de.muehlencord.shared.sharepoint.api.sites.SPSite;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jomu
|
||||
*/
|
||||
public class NtlmAuthenticatorTest {
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
public void testAuthentication() throws MalformedURLException {
|
||||
// Create NTLM v2 credentials (authenticator) & setup context
|
||||
NtlmAuthenticator credentials = new NtlmAuthenticator("DOMAIN", "username", "password");
|
||||
SPContext context = new SPContext(new URL ("http://localhost:8088/"), credentials, SPVersion.SP2010);
|
||||
// Connect to Sharepoint
|
||||
SPSite instance = new SPSite(context);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user