mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
-Added WSDL for admin web service
- Modified Ant scripts to generate admin server stubs - Genreated server stubs - Add stub implmenetation of admin web service git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
</delete>
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="gen-all-service-servers" depends="gen-auth-service-server, gen-repo-service-server, gen-content-service-server, gen-authoring-service-server, gen-classification-service-server, gen-action-service-server, gen-access-control-service-server" />
|
<target name="gen-all-service-servers" depends="gen-auth-service-server, gen-repo-service-server, gen-content-service-server, gen-authoring-service-server, gen-classification-service-server, gen-action-service-server, gen-access-control-service-server, gen-administration-service-server" />
|
||||||
|
|
||||||
<target name="gen-auth-service-server" depends="init">
|
<target name="gen-auth-service-server" depends="init">
|
||||||
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authentication" />
|
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/authentication" />
|
||||||
@@ -149,5 +149,19 @@
|
|||||||
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/accesscontrol" includes="${files.delete.include}" />
|
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/accesscontrol" includes="${files.delete.include}" />
|
||||||
</delete>
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="gen-administration-service-server" depends="init">
|
||||||
|
<mkdir dir="${dir.src.java.generated}/org/alfresco/repo/webservice/administration" />
|
||||||
|
<delete>
|
||||||
|
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/administration" />
|
||||||
|
</delete>
|
||||||
|
<wsdl2java url="${dir.src}/wsdl/administration-service.wsdl" output="${dir.src.java.generated}" serverSide="true" skeletondeploy="false" all="true">
|
||||||
|
<mapping namespace="http://www.alfresco.org/ws/service/administration/1.0" package="org.alfresco.repo.webservice.administration" />
|
||||||
|
<mapping namespace="http://www.alfresco.org/ws/model/content/1.0" package="org.alfresco.repo.webservice.types" />
|
||||||
|
</wsdl2java>
|
||||||
|
<delete>
|
||||||
|
<fileset dir="${dir.src.java.generated}/org/alfresco/repo/webservice/administration" includes="${files.delete.include}" />
|
||||||
|
</delete>
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@@ -0,0 +1,157 @@
|
|||||||
|
/**
|
||||||
|
* AdministrationFault.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public class AdministrationFault extends org.apache.axis.AxisFault implements java.io.Serializable {
|
||||||
|
private int errorCode;
|
||||||
|
private java.lang.String message1;
|
||||||
|
|
||||||
|
public AdministrationFault() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public AdministrationFault(
|
||||||
|
int errorCode,
|
||||||
|
java.lang.String message1) {
|
||||||
|
this.errorCode = errorCode;
|
||||||
|
this.message1 = message1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the errorCode value for this AdministrationFault.
|
||||||
|
*
|
||||||
|
* @return errorCode
|
||||||
|
*/
|
||||||
|
public int getErrorCode() {
|
||||||
|
return errorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the errorCode value for this AdministrationFault.
|
||||||
|
*
|
||||||
|
* @param errorCode
|
||||||
|
*/
|
||||||
|
public void setErrorCode(int errorCode) {
|
||||||
|
this.errorCode = errorCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the message1 value for this AdministrationFault.
|
||||||
|
*
|
||||||
|
* @return message1
|
||||||
|
*/
|
||||||
|
public java.lang.String getMessage1() {
|
||||||
|
return message1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the message1 value for this AdministrationFault.
|
||||||
|
*
|
||||||
|
* @param message1
|
||||||
|
*/
|
||||||
|
public void setMessage1(java.lang.String message1) {
|
||||||
|
this.message1 = message1;
|
||||||
|
}
|
||||||
|
|
||||||
|
private java.lang.Object __equalsCalc = null;
|
||||||
|
public synchronized boolean equals(java.lang.Object obj) {
|
||||||
|
if (!(obj instanceof AdministrationFault)) return false;
|
||||||
|
AdministrationFault other = (AdministrationFault) obj;
|
||||||
|
if (obj == null) return false;
|
||||||
|
if (this == obj) return true;
|
||||||
|
if (__equalsCalc != null) {
|
||||||
|
return (__equalsCalc == obj);
|
||||||
|
}
|
||||||
|
__equalsCalc = obj;
|
||||||
|
boolean _equals;
|
||||||
|
_equals = true &&
|
||||||
|
this.errorCode == other.getErrorCode() &&
|
||||||
|
((this.message1==null && other.getMessage1()==null) ||
|
||||||
|
(this.message1!=null &&
|
||||||
|
this.message1.equals(other.getMessage1())));
|
||||||
|
__equalsCalc = null;
|
||||||
|
return _equals;
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean __hashCodeCalc = false;
|
||||||
|
public synchronized int hashCode() {
|
||||||
|
if (__hashCodeCalc) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
__hashCodeCalc = true;
|
||||||
|
int _hashCode = 1;
|
||||||
|
_hashCode += getErrorCode();
|
||||||
|
if (getMessage1() != null) {
|
||||||
|
_hashCode += getMessage1().hashCode();
|
||||||
|
}
|
||||||
|
__hashCodeCalc = false;
|
||||||
|
return _hashCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Type metadata
|
||||||
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||||
|
new org.apache.axis.description.TypeDesc(AdministrationFault.class, true);
|
||||||
|
|
||||||
|
static {
|
||||||
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "AdministrationFault"));
|
||||||
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("errorCode");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "errorCode"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("message1");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "message"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return type metadata object
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||||
|
return typeDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Serializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Deserializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Writes the exception data to the faultDetails
|
||||||
|
*/
|
||||||
|
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
|
||||||
|
context.serialize(qname, null, this);
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,46 @@
|
|||||||
|
/**
|
||||||
|
* AdministrationServiceSoapPort.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public interface AdministrationServiceSoapPort extends java.rmi.Remote {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the details of the requested users.
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserQueryResults queryUsers(org.alfresco.repo.webservice.administration.UserFilter filter) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch the next bathc of users from an existing user query.
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserQueryResults fetchMoreUsers(java.lang.String querySession) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the details of a specified user.
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserDetails getUser(java.lang.String userName) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create new users with the details provided.
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserDetails[] createUsers(org.alfresco.repo.webservice.administration.NewUserDetails[] newUsers) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Updates the details of the specified users.
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserDetails[] updateUsers(org.alfresco.repo.webservice.administration.UserDetails[] users) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Changes the password of the specified user.
|
||||||
|
*/
|
||||||
|
public void changePassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete the specified users.
|
||||||
|
*/
|
||||||
|
public void deleteUsers(java.lang.String[] userNames) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault;
|
||||||
|
}
|
@@ -0,0 +1,207 @@
|
|||||||
|
/**
|
||||||
|
* NewUserDetails.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public class NewUserDetails implements java.io.Serializable {
|
||||||
|
private java.lang.String userName;
|
||||||
|
private java.lang.String password;
|
||||||
|
private org.alfresco.repo.webservice.types.NamedValue[] properties;
|
||||||
|
|
||||||
|
public NewUserDetails() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public NewUserDetails(
|
||||||
|
java.lang.String userName,
|
||||||
|
java.lang.String password,
|
||||||
|
org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
||||||
|
this.userName = userName;
|
||||||
|
this.password = password;
|
||||||
|
this.properties = properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the userName value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @return userName
|
||||||
|
*/
|
||||||
|
public java.lang.String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the userName value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @param userName
|
||||||
|
*/
|
||||||
|
public void setUserName(java.lang.String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the password value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @return password
|
||||||
|
*/
|
||||||
|
public java.lang.String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the password value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @param password
|
||||||
|
*/
|
||||||
|
public void setPassword(java.lang.String password) {
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the properties value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @return properties
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.types.NamedValue[] getProperties() {
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the properties value for this NewUserDetails.
|
||||||
|
*
|
||||||
|
* @param properties
|
||||||
|
*/
|
||||||
|
public void setProperties(org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
||||||
|
this.properties = properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
public org.alfresco.repo.webservice.types.NamedValue getProperties(int i) {
|
||||||
|
return this.properties[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProperties(int i, org.alfresco.repo.webservice.types.NamedValue _value) {
|
||||||
|
this.properties[i] = _value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private java.lang.Object __equalsCalc = null;
|
||||||
|
public synchronized boolean equals(java.lang.Object obj) {
|
||||||
|
if (!(obj instanceof NewUserDetails)) return false;
|
||||||
|
NewUserDetails other = (NewUserDetails) obj;
|
||||||
|
if (obj == null) return false;
|
||||||
|
if (this == obj) return true;
|
||||||
|
if (__equalsCalc != null) {
|
||||||
|
return (__equalsCalc == obj);
|
||||||
|
}
|
||||||
|
__equalsCalc = obj;
|
||||||
|
boolean _equals;
|
||||||
|
_equals = true &&
|
||||||
|
((this.userName==null && other.getUserName()==null) ||
|
||||||
|
(this.userName!=null &&
|
||||||
|
this.userName.equals(other.getUserName()))) &&
|
||||||
|
((this.password==null && other.getPassword()==null) ||
|
||||||
|
(this.password!=null &&
|
||||||
|
this.password.equals(other.getPassword()))) &&
|
||||||
|
((this.properties==null && other.getProperties()==null) ||
|
||||||
|
(this.properties!=null &&
|
||||||
|
java.util.Arrays.equals(this.properties, other.getProperties())));
|
||||||
|
__equalsCalc = null;
|
||||||
|
return _equals;
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean __hashCodeCalc = false;
|
||||||
|
public synchronized int hashCode() {
|
||||||
|
if (__hashCodeCalc) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
__hashCodeCalc = true;
|
||||||
|
int _hashCode = 1;
|
||||||
|
if (getUserName() != null) {
|
||||||
|
_hashCode += getUserName().hashCode();
|
||||||
|
}
|
||||||
|
if (getPassword() != null) {
|
||||||
|
_hashCode += getPassword().hashCode();
|
||||||
|
}
|
||||||
|
if (getProperties() != null) {
|
||||||
|
for (int i=0;
|
||||||
|
i<java.lang.reflect.Array.getLength(getProperties());
|
||||||
|
i++) {
|
||||||
|
java.lang.Object obj = java.lang.reflect.Array.get(getProperties(), i);
|
||||||
|
if (obj != null &&
|
||||||
|
!obj.getClass().isArray()) {
|
||||||
|
_hashCode += obj.hashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
__hashCodeCalc = false;
|
||||||
|
return _hashCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Type metadata
|
||||||
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||||
|
new org.apache.axis.description.TypeDesc(NewUserDetails.class, true);
|
||||||
|
|
||||||
|
static {
|
||||||
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "NewUserDetails"));
|
||||||
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("userName");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "userName"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("password");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "password"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("properties");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "properties"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
|
||||||
|
elemField.setMinOccurs(0);
|
||||||
|
elemField.setNillable(false);
|
||||||
|
elemField.setMaxOccursUnbounded(true);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return type metadata object
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||||
|
return typeDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Serializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Deserializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,172 @@
|
|||||||
|
/**
|
||||||
|
* UserDetails.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public class UserDetails implements java.io.Serializable {
|
||||||
|
private java.lang.String userName;
|
||||||
|
private org.alfresco.repo.webservice.types.NamedValue[] properties;
|
||||||
|
|
||||||
|
public UserDetails() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserDetails(
|
||||||
|
java.lang.String userName,
|
||||||
|
org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
||||||
|
this.userName = userName;
|
||||||
|
this.properties = properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the userName value for this UserDetails.
|
||||||
|
*
|
||||||
|
* @return userName
|
||||||
|
*/
|
||||||
|
public java.lang.String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the userName value for this UserDetails.
|
||||||
|
*
|
||||||
|
* @param userName
|
||||||
|
*/
|
||||||
|
public void setUserName(java.lang.String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the properties value for this UserDetails.
|
||||||
|
*
|
||||||
|
* @return properties
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.types.NamedValue[] getProperties() {
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the properties value for this UserDetails.
|
||||||
|
*
|
||||||
|
* @param properties
|
||||||
|
*/
|
||||||
|
public void setProperties(org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
||||||
|
this.properties = properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
public org.alfresco.repo.webservice.types.NamedValue getProperties(int i) {
|
||||||
|
return this.properties[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setProperties(int i, org.alfresco.repo.webservice.types.NamedValue _value) {
|
||||||
|
this.properties[i] = _value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private java.lang.Object __equalsCalc = null;
|
||||||
|
public synchronized boolean equals(java.lang.Object obj) {
|
||||||
|
if (!(obj instanceof UserDetails)) return false;
|
||||||
|
UserDetails other = (UserDetails) obj;
|
||||||
|
if (obj == null) return false;
|
||||||
|
if (this == obj) return true;
|
||||||
|
if (__equalsCalc != null) {
|
||||||
|
return (__equalsCalc == obj);
|
||||||
|
}
|
||||||
|
__equalsCalc = obj;
|
||||||
|
boolean _equals;
|
||||||
|
_equals = true &&
|
||||||
|
((this.userName==null && other.getUserName()==null) ||
|
||||||
|
(this.userName!=null &&
|
||||||
|
this.userName.equals(other.getUserName()))) &&
|
||||||
|
((this.properties==null && other.getProperties()==null) ||
|
||||||
|
(this.properties!=null &&
|
||||||
|
java.util.Arrays.equals(this.properties, other.getProperties())));
|
||||||
|
__equalsCalc = null;
|
||||||
|
return _equals;
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean __hashCodeCalc = false;
|
||||||
|
public synchronized int hashCode() {
|
||||||
|
if (__hashCodeCalc) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
__hashCodeCalc = true;
|
||||||
|
int _hashCode = 1;
|
||||||
|
if (getUserName() != null) {
|
||||||
|
_hashCode += getUserName().hashCode();
|
||||||
|
}
|
||||||
|
if (getProperties() != null) {
|
||||||
|
for (int i=0;
|
||||||
|
i<java.lang.reflect.Array.getLength(getProperties());
|
||||||
|
i++) {
|
||||||
|
java.lang.Object obj = java.lang.reflect.Array.get(getProperties(), i);
|
||||||
|
if (obj != null &&
|
||||||
|
!obj.getClass().isArray()) {
|
||||||
|
_hashCode += obj.hashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
__hashCodeCalc = false;
|
||||||
|
return _hashCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Type metadata
|
||||||
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||||
|
new org.apache.axis.description.TypeDesc(UserDetails.class, true);
|
||||||
|
|
||||||
|
static {
|
||||||
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "UserDetails"));
|
||||||
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("userName");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "userName"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("properties");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "properties"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
|
||||||
|
elemField.setMinOccurs(0);
|
||||||
|
elemField.setNillable(false);
|
||||||
|
elemField.setMaxOccursUnbounded(true);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return type metadata object
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||||
|
return typeDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Serializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Deserializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,119 @@
|
|||||||
|
/**
|
||||||
|
* UserFilter.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public class UserFilter implements java.io.Serializable {
|
||||||
|
private java.lang.String userName;
|
||||||
|
|
||||||
|
public UserFilter() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserFilter(
|
||||||
|
java.lang.String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the userName value for this UserFilter.
|
||||||
|
*
|
||||||
|
* @return userName
|
||||||
|
*/
|
||||||
|
public java.lang.String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the userName value for this UserFilter.
|
||||||
|
*
|
||||||
|
* @param userName
|
||||||
|
*/
|
||||||
|
public void setUserName(java.lang.String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
private java.lang.Object __equalsCalc = null;
|
||||||
|
public synchronized boolean equals(java.lang.Object obj) {
|
||||||
|
if (!(obj instanceof UserFilter)) return false;
|
||||||
|
UserFilter other = (UserFilter) obj;
|
||||||
|
if (obj == null) return false;
|
||||||
|
if (this == obj) return true;
|
||||||
|
if (__equalsCalc != null) {
|
||||||
|
return (__equalsCalc == obj);
|
||||||
|
}
|
||||||
|
__equalsCalc = obj;
|
||||||
|
boolean _equals;
|
||||||
|
_equals = true &&
|
||||||
|
((this.userName==null && other.getUserName()==null) ||
|
||||||
|
(this.userName!=null &&
|
||||||
|
this.userName.equals(other.getUserName())));
|
||||||
|
__equalsCalc = null;
|
||||||
|
return _equals;
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean __hashCodeCalc = false;
|
||||||
|
public synchronized int hashCode() {
|
||||||
|
if (__hashCodeCalc) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
__hashCodeCalc = true;
|
||||||
|
int _hashCode = 1;
|
||||||
|
if (getUserName() != null) {
|
||||||
|
_hashCode += getUserName().hashCode();
|
||||||
|
}
|
||||||
|
__hashCodeCalc = false;
|
||||||
|
return _hashCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Type metadata
|
||||||
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||||
|
new org.apache.axis.description.TypeDesc(UserFilter.class, true);
|
||||||
|
|
||||||
|
static {
|
||||||
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "UserFilter"));
|
||||||
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("userName");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "userName"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return type metadata object
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||||
|
return typeDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Serializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Deserializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,172 @@
|
|||||||
|
/**
|
||||||
|
* UserQueryResults.java
|
||||||
|
*
|
||||||
|
* This file was auto-generated from WSDL
|
||||||
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
public class UserQueryResults implements java.io.Serializable {
|
||||||
|
private java.lang.String querySession;
|
||||||
|
private org.alfresco.repo.webservice.administration.UserDetails[] userDetails;
|
||||||
|
|
||||||
|
public UserQueryResults() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserQueryResults(
|
||||||
|
java.lang.String querySession,
|
||||||
|
org.alfresco.repo.webservice.administration.UserDetails[] userDetails) {
|
||||||
|
this.querySession = querySession;
|
||||||
|
this.userDetails = userDetails;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the querySession value for this UserQueryResults.
|
||||||
|
*
|
||||||
|
* @return querySession
|
||||||
|
*/
|
||||||
|
public java.lang.String getQuerySession() {
|
||||||
|
return querySession;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the querySession value for this UserQueryResults.
|
||||||
|
*
|
||||||
|
* @param querySession
|
||||||
|
*/
|
||||||
|
public void setQuerySession(java.lang.String querySession) {
|
||||||
|
this.querySession = querySession;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the userDetails value for this UserQueryResults.
|
||||||
|
*
|
||||||
|
* @return userDetails
|
||||||
|
*/
|
||||||
|
public org.alfresco.repo.webservice.administration.UserDetails[] getUserDetails() {
|
||||||
|
return userDetails;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the userDetails value for this UserQueryResults.
|
||||||
|
*
|
||||||
|
* @param userDetails
|
||||||
|
*/
|
||||||
|
public void setUserDetails(org.alfresco.repo.webservice.administration.UserDetails[] userDetails) {
|
||||||
|
this.userDetails = userDetails;
|
||||||
|
}
|
||||||
|
|
||||||
|
public org.alfresco.repo.webservice.administration.UserDetails getUserDetails(int i) {
|
||||||
|
return this.userDetails[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserDetails(int i, org.alfresco.repo.webservice.administration.UserDetails _value) {
|
||||||
|
this.userDetails[i] = _value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private java.lang.Object __equalsCalc = null;
|
||||||
|
public synchronized boolean equals(java.lang.Object obj) {
|
||||||
|
if (!(obj instanceof UserQueryResults)) return false;
|
||||||
|
UserQueryResults other = (UserQueryResults) obj;
|
||||||
|
if (obj == null) return false;
|
||||||
|
if (this == obj) return true;
|
||||||
|
if (__equalsCalc != null) {
|
||||||
|
return (__equalsCalc == obj);
|
||||||
|
}
|
||||||
|
__equalsCalc = obj;
|
||||||
|
boolean _equals;
|
||||||
|
_equals = true &&
|
||||||
|
((this.querySession==null && other.getQuerySession()==null) ||
|
||||||
|
(this.querySession!=null &&
|
||||||
|
this.querySession.equals(other.getQuerySession()))) &&
|
||||||
|
((this.userDetails==null && other.getUserDetails()==null) ||
|
||||||
|
(this.userDetails!=null &&
|
||||||
|
java.util.Arrays.equals(this.userDetails, other.getUserDetails())));
|
||||||
|
__equalsCalc = null;
|
||||||
|
return _equals;
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean __hashCodeCalc = false;
|
||||||
|
public synchronized int hashCode() {
|
||||||
|
if (__hashCodeCalc) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
__hashCodeCalc = true;
|
||||||
|
int _hashCode = 1;
|
||||||
|
if (getQuerySession() != null) {
|
||||||
|
_hashCode += getQuerySession().hashCode();
|
||||||
|
}
|
||||||
|
if (getUserDetails() != null) {
|
||||||
|
for (int i=0;
|
||||||
|
i<java.lang.reflect.Array.getLength(getUserDetails());
|
||||||
|
i++) {
|
||||||
|
java.lang.Object obj = java.lang.reflect.Array.get(getUserDetails(), i);
|
||||||
|
if (obj != null &&
|
||||||
|
!obj.getClass().isArray()) {
|
||||||
|
_hashCode += obj.hashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
__hashCodeCalc = false;
|
||||||
|
return _hashCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Type metadata
|
||||||
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
||||||
|
new org.apache.axis.description.TypeDesc(UserQueryResults.class, true);
|
||||||
|
|
||||||
|
static {
|
||||||
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "UserQueryResults"));
|
||||||
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("querySession");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "querySession"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
||||||
|
elemField.setNillable(false);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
elemField = new org.apache.axis.description.ElementDesc();
|
||||||
|
elemField.setFieldName("userDetails");
|
||||||
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "userDetails"));
|
||||||
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "UserDetails"));
|
||||||
|
elemField.setMinOccurs(0);
|
||||||
|
elemField.setNillable(false);
|
||||||
|
elemField.setMaxOccursUnbounded(true);
|
||||||
|
typeDesc.addFieldDesc(elemField);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return type metadata object
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
||||||
|
return typeDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Serializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Custom Deserializer
|
||||||
|
*/
|
||||||
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
||||||
|
java.lang.String mechType,
|
||||||
|
java.lang.Class _javaType,
|
||||||
|
javax.xml.namespace.QName _xmlType) {
|
||||||
|
return
|
||||||
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
||||||
|
_javaType, _xmlType, typeDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -0,0 +1,344 @@
|
|||||||
|
<!-- Use this file to deploy some handlers/chains and services -->
|
||||||
|
<!-- Two ways to do this: -->
|
||||||
|
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
|
||||||
|
<!-- after the axis server is running -->
|
||||||
|
<!-- or -->
|
||||||
|
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
|
||||||
|
<!-- from the same directory that the Axis engine runs -->
|
||||||
|
|
||||||
|
<deployment
|
||||||
|
xmlns="http://xml.apache.org/axis/wsdd/"
|
||||||
|
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
|
||||||
|
|
||||||
|
<!-- Services from AdministrationService WSDL service -->
|
||||||
|
|
||||||
|
<service name="AdministrationService" provider="java:RPC" style="wrapped" use="literal">
|
||||||
|
<parameter name="wsdlTargetNamespace" value="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<parameter name="wsdlServiceElement" value="AdministrationService"/>
|
||||||
|
<parameter name="schemaQualified" value="http://www.alfresco.org/ws/model/content/1.0,http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<parameter name="wsdlServicePort" value="AdministrationService"/>
|
||||||
|
<parameter name="className" value="org.alfresco.repo.webservice.administration.AdministrationServiceSoapBindingImpl"/>
|
||||||
|
<parameter name="wsdlPortType" value="AdministrationServiceSoapPort"/>
|
||||||
|
<parameter name="typeMappingVersion" value="1.2"/>
|
||||||
|
<operation name="queryUsers" qname="operNS:queryUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserQueryResults" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/queryUsers" >
|
||||||
|
<parameter qname="pns:filter" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:UserFilter" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="fetchMoreUsers" qname="operNS:fetchMoreUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserQueryResults" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/fetchMoreUsers" >
|
||||||
|
<parameter qname="pns:querySession" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="getUser" qname="operNS:getUser" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/getUser" >
|
||||||
|
<parameter qname="pns:userName" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="createUsers" qname="operNS:createUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/createUsers" >
|
||||||
|
<parameter qname="pns:newUsers" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:NewUserDetails" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="updateUsers" qname="operNS:updateUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/updateUsers" >
|
||||||
|
<parameter qname="pns:users" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:UserDetails" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="changePassword" qname="operNS:changePassword" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/changePassword" >
|
||||||
|
<parameter qname="pns:userName" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<parameter qname="pns:oldPassword" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<parameter qname="pns:newPassword" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="deleteUsers" qname="operNS:deleteUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/deleteUsers" >
|
||||||
|
<parameter qname="pns:userNames" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<parameter name="allowedMethods" value="changePassword queryUsers createUsers deleteUsers getUser fetchMoreUsers updateUsers"/>
|
||||||
|
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ParentReference"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ParentReference"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:QueryLanguageEnum"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.QueryLanguageEnum"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ClassDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ClassDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Cardinality"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Cardinality"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ContentFormat"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ContentFormat"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserFilter"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserFilter"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Version"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Version"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Predicate"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Predicate"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Node"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Node"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSetRow"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetRow"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Path"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSet"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSet"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSetMetaData"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetMetaData"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserDetails"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserDetails"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:NodeDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.NodeDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Category"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Category"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ValueDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ValueDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ContentFormat>mimetype"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserQueryResults"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserQueryResults"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Query"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Query"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:StoreEnum"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.StoreEnum"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Reference"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Reference"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:NewUserDetails"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.NewUserDetails"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:NamedValue"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.NamedValue"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:UUID"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Name"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ResultSetRow>node"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetRowNode"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ContentFormat>encoding"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:AdministrationFault"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.AdministrationFault"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Classification"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Classification"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Store"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Store"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>Store>address"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:AssociationDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.AssociationDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:RoleDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.RoleDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:PropertyDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.PropertyDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:VersionHistory"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.VersionHistory"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
</service>
|
||||||
|
</deployment>
|
@@ -6,7 +6,7 @@ import org.alfresco.repo.transaction.TransactionComponent;
|
|||||||
import org.alfresco.repo.webservice.AbstractWebService;
|
import org.alfresco.repo.webservice.AbstractWebService;
|
||||||
import org.alfresco.repo.webservice.types.Predicate;
|
import org.alfresco.repo.webservice.types.Predicate;
|
||||||
|
|
||||||
public class AccessControlService extends AbstractWebService implements AccessControlServiceSoapPort
|
public class AccessControlWebService extends AbstractWebService implements AccessControlServiceSoapPort
|
||||||
{
|
{
|
||||||
private TransactionComponent transactionService = null;
|
private TransactionComponent transactionService = null;
|
||||||
|
|
@@ -0,0 +1,107 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2005 Alfresco, Inc.
|
||||||
|
*
|
||||||
|
* Licensed under the Mozilla Public License version 1.1
|
||||||
|
* with a permitted attribution clause. You may obtain a
|
||||||
|
* copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.alfresco.org/legal/license.txt
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing,
|
||||||
|
* software distributed under the License is distributed on an
|
||||||
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||||
|
* either express or implied. See the License for the specific
|
||||||
|
* language governing permissions and limitations under the
|
||||||
|
* License.
|
||||||
|
*/
|
||||||
|
package org.alfresco.repo.webservice.administration;
|
||||||
|
|
||||||
|
import java.rmi.RemoteException;
|
||||||
|
|
||||||
|
import org.alfresco.repo.transaction.TransactionComponent;
|
||||||
|
import org.alfresco.repo.webservice.AbstractWebService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Roy Wetherall
|
||||||
|
*/
|
||||||
|
public class AdministrationWebService extends AbstractWebService implements
|
||||||
|
AdministrationServiceSoapPort
|
||||||
|
{
|
||||||
|
private TransactionComponent transactionService = null;
|
||||||
|
|
||||||
|
public void setTransactionService(TransactionComponent transactionService)
|
||||||
|
{
|
||||||
|
this.transactionService = transactionService;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#queryUsers(org.alfresco.repo.webservice.administration.UserFilter)
|
||||||
|
*/
|
||||||
|
public UserQueryResults queryUsers(UserFilter filter)
|
||||||
|
throws RemoteException, AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#fetchMoreUsers(java.lang.String)
|
||||||
|
*/
|
||||||
|
public UserQueryResults fetchMoreUsers(String querySession)
|
||||||
|
throws RemoteException, AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#getUser(java.lang.String)
|
||||||
|
*/
|
||||||
|
public UserDetails getUser(String userName) throws RemoteException,
|
||||||
|
AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#createUsers(org.alfresco.repo.webservice.administration.NewUserDetails[])
|
||||||
|
*/
|
||||||
|
public UserDetails[] createUsers(NewUserDetails[] newUsers)
|
||||||
|
throws RemoteException, AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#updateUsers(org.alfresco.repo.webservice.administration.UserDetails[])
|
||||||
|
*/
|
||||||
|
public UserDetails[] updateUsers(UserDetails[] users)
|
||||||
|
throws RemoteException, AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#changePassword(java.lang.String, java.lang.String, java.lang.String)
|
||||||
|
*/
|
||||||
|
public void changePassword(String userName, String oldPassword,
|
||||||
|
String newPassword) throws RemoteException, AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#deleteUsers(java.lang.String[])
|
||||||
|
*/
|
||||||
|
public void deleteUsers(String[] userNames) throws RemoteException,
|
||||||
|
AdministrationFault
|
||||||
|
{
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@@ -162,7 +162,22 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="accessControlWebService" class="org.alfresco.repo.webservice.accesscontrol.AccessControlService">
|
<bean id="accessControlWebService" class="org.alfresco.repo.webservice.accesscontrol.AccessControlWebService">
|
||||||
|
<property name="nodeService">
|
||||||
|
<ref bean="NodeService"/>
|
||||||
|
</property>
|
||||||
|
<property name="searchService">
|
||||||
|
<ref bean="SearchService"/>
|
||||||
|
</property>
|
||||||
|
<property name="namespaceService">
|
||||||
|
<ref bean="NamespaceService"/>
|
||||||
|
</property>
|
||||||
|
<property name="transactionService">
|
||||||
|
<ref bean="transactionComponent"/>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
|
<bean id="administrationWebService" class="org.alfresco.repo.webservice.administration.AdministrationWebService">
|
||||||
<property name="nodeService">
|
<property name="nodeService">
|
||||||
<ref bean="NodeService"/>
|
<ref bean="NodeService"/>
|
||||||
</property>
|
</property>
|
||||||
|
@@ -2696,6 +2696,344 @@
|
|||||||
encodingStyle=""
|
encodingStyle=""
|
||||||
/>
|
/>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<service name="AdministrationService" provider="java:SpringRPC" style="wrapped" use="literal">
|
||||||
|
<documentation>Administration web service API.</documentation>
|
||||||
|
<wsdlFile>/wsdl/administration-service.wsdl</wsdlFile>
|
||||||
|
<parameter name="springBean" value="administrationWebService"/>
|
||||||
|
<requestFlow>
|
||||||
|
<handler type="CreateSpringTicketCallback"/>
|
||||||
|
<handler type="WSSecurity"/>
|
||||||
|
</requestFlow>
|
||||||
|
<!-- generated below here -->
|
||||||
|
<parameter name="wsdlTargetNamespace" value="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<parameter name="wsdlServiceElement" value="AdministrationService"/>
|
||||||
|
<parameter name="schemaQualified" value="http://www.alfresco.org/ws/model/content/1.0,http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<parameter name="wsdlServicePort" value="AdministrationService"/>
|
||||||
|
<parameter name="className" value="org.alfresco.repo.webservice.administration.AdministrationServiceSoapBindingImpl"/>
|
||||||
|
<parameter name="wsdlPortType" value="AdministrationServiceSoapPort"/>
|
||||||
|
<parameter name="typeMappingVersion" value="1.2"/>
|
||||||
|
<operation name="queryUsers" qname="operNS:queryUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserQueryResults" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/queryUsers" >
|
||||||
|
<parameter qname="pns:filter" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:UserFilter" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="fetchMoreUsers" qname="operNS:fetchMoreUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserQueryResults" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/fetchMoreUsers" >
|
||||||
|
<parameter qname="pns:querySession" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="getUser" qname="operNS:getUser" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/getUser" >
|
||||||
|
<parameter qname="pns:userName" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="createUsers" qname="operNS:createUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/createUsers" >
|
||||||
|
<parameter qname="pns:newUsers" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:NewUserDetails" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="updateUsers" qname="operNS:updateUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" returnQName="retNS:result" xmlns:retNS="http://www.alfresco.org/ws/service/administration/1.0" returnType="rtns:UserDetails" xmlns:rtns="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/updateUsers" >
|
||||||
|
<parameter qname="pns:users" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:UserDetails" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="changePassword" qname="operNS:changePassword" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/changePassword" >
|
||||||
|
<parameter qname="pns:userName" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<parameter qname="pns:oldPassword" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<parameter qname="pns:newPassword" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<operation name="deleteUsers" qname="operNS:deleteUsers" xmlns:operNS="http://www.alfresco.org/ws/service/administration/1.0" soapAction="http://www.alfresco.org/ws/service/administration/1.0/deleteUsers" >
|
||||||
|
<parameter qname="pns:userNames" xmlns:pns="http://www.alfresco.org/ws/service/administration/1.0" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
|
||||||
|
<fault name="AdministrationFault" qname="fns:AdministrationFault" xmlns:fns="http://www.alfresco.org/ws/service/administration/1.0" class="org.alfresco.repo.webservice.administration.AdministrationFault" type="tns:AdministrationFault" xmlns:tns="http://www.alfresco.org/ws/service/administration/1.0"/>
|
||||||
|
</operation>
|
||||||
|
<parameter name="allowedMethods" value="changePassword queryUsers createUsers deleteUsers getUser fetchMoreUsers updateUsers"/>
|
||||||
|
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ParentReference"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ParentReference"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:QueryLanguageEnum"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.QueryLanguageEnum"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ClassDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ClassDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Cardinality"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Cardinality"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ContentFormat"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ContentFormat"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserFilter"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserFilter"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Version"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Version"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Predicate"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Predicate"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Node"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Node"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSetRow"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetRow"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Path"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSet"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSet"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ResultSetMetaData"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetMetaData"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserDetails"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserDetails"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:NodeDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.NodeDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Category"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Category"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:ValueDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ValueDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ContentFormat>mimetype"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:UserQueryResults"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.UserQueryResults"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Query"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Query"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:StoreEnum"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.StoreEnum"
|
||||||
|
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Reference"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Reference"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:NewUserDetails"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.NewUserDetails"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:NamedValue"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.NamedValue"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:UUID"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Name"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ResultSetRow>node"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.ResultSetRowNode"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>ContentFormat>encoding"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
qname="ns:AdministrationFault"
|
||||||
|
type="java:org.alfresco.repo.webservice.administration.AdministrationFault"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Classification"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Classification"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:Store"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.Store"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:>Store>address"
|
||||||
|
type="java:java.lang.String"
|
||||||
|
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:AssociationDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.AssociationDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:RoleDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.RoleDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:PropertyDefinition"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.PropertyDefinition"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
<typeMapping
|
||||||
|
xmlns:ns="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
qname="ns:VersionHistory"
|
||||||
|
type="java:org.alfresco.repo.webservice.types.VersionHistory"
|
||||||
|
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
|
||||||
|
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
|
||||||
|
encodingStyle=""
|
||||||
|
/>
|
||||||
|
</service>
|
||||||
|
|
||||||
<transport name="http">
|
<transport name="http">
|
||||||
<requestFlow>
|
<requestFlow>
|
||||||
|
399
source/wsdl/administration-service.wsdl
Normal file
399
source/wsdl/administration-service.wsdl
Normal file
@@ -0,0 +1,399 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<wsdl:definitions name="administration-service"
|
||||||
|
targetNamespace="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
xmlns:apachesoap="http://xml.apache.org/xml-soap"
|
||||||
|
xmlns:admin="http://www.alfresco.org/ws/service/administration/1.0"
|
||||||
|
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
||||||
|
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
|
||||||
|
xmlns:cms="http://www.alfresco.org/ws/model/content/1.0"
|
||||||
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<!-- ************************************** -->
|
||||||
|
<!-- Copyright Alfresco Software, Inc. 2005 -->
|
||||||
|
<!-- ************************************** -->
|
||||||
|
<wsdl:import namespace="http://www.alfresco.org/ws/model/content/1.0" location="types.xsd"/>
|
||||||
|
<wsdl:types>
|
||||||
|
<schema elementFormDefault="qualified" targetNamespace="http://www.alfresco.org/ws/service/administration/1.0" xmlns="http://www.w3.org/2001/XMLSchema">
|
||||||
|
|
||||||
|
<!-- Type Definitions -->
|
||||||
|
|
||||||
|
<complexType name="UserDetails">
|
||||||
|
<sequence>
|
||||||
|
<element name="userName" type="xsd:string"/>
|
||||||
|
<element name="properties" type="cms:NamedValue" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
<element name="UserDetails" type="admin:UserDetails"/>
|
||||||
|
|
||||||
|
<complexType name="UserFilter">
|
||||||
|
<sequence>
|
||||||
|
<element name="userName" type="xsd:string"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
<element name="UserFilter" type="admin:UserFilter"/>
|
||||||
|
|
||||||
|
<complexType name="UserQueryResults">
|
||||||
|
<sequence>
|
||||||
|
<element name="querySession" type="xsd:string"/>
|
||||||
|
<element name="userDetails" type="admin:UserDetails" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
<element name="UserQueryResults" type="admin:UserQueryResults"/>
|
||||||
|
|
||||||
|
<complexType name="NewUserDetails">
|
||||||
|
<sequence>
|
||||||
|
<element name="userName" type="xsd:string"/>
|
||||||
|
<element name="password" type="xsd:string"/>
|
||||||
|
<element name="properties" type="cms:NamedValue" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
<element name="NewUserDetails" type="admin:NewUserDetails"/>
|
||||||
|
|
||||||
|
<complexType name="AdministrationFault">
|
||||||
|
<sequence>
|
||||||
|
<element name="errorCode" type="xsd:int"/>
|
||||||
|
<element name="message" type="xsd:string"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
<element name="AdministrationFault" type="admin:AdministrationFault"/>
|
||||||
|
|
||||||
|
<!-- Method Definitions -->
|
||||||
|
|
||||||
|
<element name="queryUsers">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="filter" type="admin:UserFilter"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="queryUsersResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="result" type="admin:UserQueryResults"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="fetchMoreUsers">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="querySession" type="xsd:string"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="fetchMoreUsersResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="result" type="admin:UserQueryResults"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="getUser">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="userName" type="xsd:string"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="getUserResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="result" type="admin:UserDetails"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="createUsers">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="newUsers" type="admin:NewUserDetails" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="createUsersResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="result" type="admin:UserDetails" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="updateUsers">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="users" type="admin:UserDetails" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="updateUsersResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="result" type="admin:UserDetails" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="changePassword">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="userName" type="xsd:string"/>
|
||||||
|
<element name="oldPassword" type="xsd:string"/>
|
||||||
|
<element name="newPassword" type="xsd:string"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="changePasswordResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence/>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="deleteUsers">
|
||||||
|
<complexType>
|
||||||
|
<sequence>
|
||||||
|
<element name="userNames" type="xsd:string" maxOccurs="unbounded" minOccurs="0"/>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="deleteUsersResponse">
|
||||||
|
<complexType>
|
||||||
|
<sequence/>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
</schema>
|
||||||
|
</wsdl:types>
|
||||||
|
|
||||||
|
<!-- Message definitions -->
|
||||||
|
|
||||||
|
<wsdl:message name="queryUsersRequest">
|
||||||
|
<wsdl:part element="admin:queryUsers" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="queryUsersResponse">
|
||||||
|
<wsdl:part element="admin:queryUsersResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="fetchMoreUsersRequest">
|
||||||
|
<wsdl:part element="admin:fetchMoreUsers" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="fetchMoreUsersResponse">
|
||||||
|
<wsdl:part element="admin:fetchMoreUsersResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="getUserRequest">
|
||||||
|
<wsdl:part element="admin:getUser" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="getUserResponse">
|
||||||
|
<wsdl:part element="admin:getUserResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="createUsersRequest">
|
||||||
|
<wsdl:part element="admin:createUsers" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="createUsersResponse">
|
||||||
|
<wsdl:part element="admin:createUsersResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="updateUsersRequest">
|
||||||
|
<wsdl:part element="admin:updateUsers" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="updateUsersResponse">
|
||||||
|
<wsdl:part element="admin:updateUsersResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="changePasswordRequest">
|
||||||
|
<wsdl:part element="admin:changePassword" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="changePasswordResponse">
|
||||||
|
<wsdl:part element="admin:changePasswordResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="deleteUsersRequest">
|
||||||
|
<wsdl:part element="admin:deleteUsers" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="deleteUsersResponse">
|
||||||
|
<wsdl:part element="admin:deleteUsersResponse" name="parameters"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<wsdl:message name="AdministrationFault">
|
||||||
|
<wsdl:part element="admin:AdministrationFault" name="fault"/>
|
||||||
|
</wsdl:message>
|
||||||
|
|
||||||
|
<!-- Port and binding definitions -->
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="queryUsers">
|
||||||
|
<wsdl:documentation>Gets the details of the requested users.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:queryUsersRequest" name="queryUsersRequest"/>
|
||||||
|
<wsdl:output message="admin:queryUsersResponse" name="queryUsersResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="fetchMoreUsers">
|
||||||
|
<wsdl:documentation>Fetch the next bathc of users from an existing user query.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:fetchMoreUsersRequest" name="fetchMoreUsersRequest"/>
|
||||||
|
<wsdl:output message="admin:fetchMoreUsersResponse" name="fetchMoreUsersResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="getUser">
|
||||||
|
<wsdl:documentation>Get the details of a specified user.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:getUserRequest" name="getUserRequest"/>
|
||||||
|
<wsdl:output message="admin:getUserResponse" name="getUserResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="createUsers">
|
||||||
|
<wsdl:documentation>Create new users with the details provided.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:createUsersRequest" name="createUsersRequest"/>
|
||||||
|
<wsdl:output message="admin:createUsersResponse" name="createUsersResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="updateUsers">
|
||||||
|
<wsdl:documentation>Updates the details of the specified users.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:updateUsersRequest" name="updateUsersRequest"/>
|
||||||
|
<wsdl:output message="admin:updateUsersResponse" name="updateUsersResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="changePassword">
|
||||||
|
<wsdl:documentation>Changes the password of the specified user.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:changePasswordRequest" name="changePasswordRequest"/>
|
||||||
|
<wsdl:output message="admin:changePasswordResponse" name="changePasswordResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:portType name="AdministrationServiceSoapPort">
|
||||||
|
<wsdl:operation name="deleteUsers">
|
||||||
|
<wsdl:documentation>Delete the specified users.</wsdl:documentation>
|
||||||
|
<wsdl:input message="admin:deleteUsersRequest" name="deleteUsersRequest"/>
|
||||||
|
<wsdl:output message="admin:deleteUsersResponse" name="deleteUsersResponse"/>
|
||||||
|
<wsdl:fault message="admin:AdministrationFault" name="AdministrationFault"/>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:portType>
|
||||||
|
|
||||||
|
<wsdl:binding name="AdministrationServiceSoapBinding" type="admin:AdministrationServiceSoapPort">
|
||||||
|
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||||
|
<wsdl:operation name="queryUsers">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/queryUsers"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="fetchMoreUsers">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/fetchMoreUsers"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="getUser">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/getUser"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="createUsers">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/createUsers"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="updateUsers">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/updateUsers"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="changePassword">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/changePassword"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="deleteUsers">
|
||||||
|
<wsdlsoap:operation soapAction="http://www.alfresco.org/ws/service/administration/1.0/deleteUsers"/>
|
||||||
|
<wsdl:input>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output>
|
||||||
|
<wsdlsoap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
<wsdl:fault name="AdministrationFault">
|
||||||
|
<wsdlsoap:fault namespace="http://www.alfresco.org/ws/service/administration/1.0" use="literal" name="AdministrationFault"/>
|
||||||
|
</wsdl:fault>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:binding>
|
||||||
|
|
||||||
|
<!-- Service definition -->
|
||||||
|
|
||||||
|
<wsdl:service name="AdministrationService">
|
||||||
|
<wsdl:documentation>Administration service.</wsdl:documentation>
|
||||||
|
<wsdl:port binding="admin:AdministrationServiceSoapBinding" name="AdministrationService">
|
||||||
|
<wsdlsoap:address location="http://localhost:8080/alfresco/api/AdministrationService"/>
|
||||||
|
</wsdl:port>
|
||||||
|
</wsdl:service>
|
||||||
|
|
||||||
|
</wsdl:definitions>
|
Reference in New Issue
Block a user