Author: chris.laprun(a)jboss.com
Date: 2009-09-28 18:21:33 -0400 (Mon, 28 Sep 2009)
New Revision: 207
Added:
components/wsrp/trunk/wsrp-producer-war/
components/wsrp/trunk/wsrp-producer-war/pom.xml
components/wsrp/trunk/wsrp-producer-war/src/
components/wsrp/trunk/wsrp-producer-war/src/main/
components/wsrp/trunk/wsrp-producer-war/src/main/java/
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/classes/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/classes/wshandlers.xml
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/producer/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/producer/config.xml
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/context.xml
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/web.xml
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_services.wsdl
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_bindings.wsdl
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_interfaces.wsdl
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_types.xsd
Removed:
components/wsrp/trunk/producer/src/assemble/
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java
components/wsrp/trunk/producer/src/main/webapp/
Modified:
components/wsrp/trunk/admin-gui/pom.xml
components/wsrp/trunk/api/pom.xml
components/wsrp/trunk/common/pom.xml
components/wsrp/trunk/consumer/pom.xml
components/wsrp/trunk/pom.xml
components/wsrp/trunk/producer/pom.xml
components/wsrp/trunk/wsrp1-ws/pom.xml
Log:
- Prefixed artifact IDs with wsrp to avoid collisions.
- Split producer module into wsrp-producer-lib and wsrp-producer-war. Moved *Endpoint
classes to war module so that the WS annotations can be properly resolved.
Modified: components/wsrp/trunk/admin-gui/pom.xml
===================================================================
--- components/wsrp/trunk/admin-gui/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/admin-gui/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,26 +30,26 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>admin-gui</artifactId>
+ <artifactId>wsrp-admin-gui</artifactId>
<packaging>war</packaging>
<name>GateIn WSRP Admin GUI</name>
<dependencies>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>common</artifactId>
+ <artifactId>wsrp-common</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>consumer</artifactId>
+ <artifactId>wsrp-consumer</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>producer</artifactId>
+ <artifactId>wsrp-producer-lib</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Modified: components/wsrp/trunk/api/pom.xml
===================================================================
--- components/wsrp/trunk/api/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/api/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,7 +30,7 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>api</artifactId>
+ <artifactId>wsrp-integration-api</artifactId>
<packaging>jar</packaging>
<name>GateIn WSRP Integration API</name>
@@ -39,6 +39,7 @@
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
+ <scope>provided</scope>
</dependency>
</dependencies>
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/common/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,14 +30,14 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>common</artifactId>
+ <artifactId>wsrp-common</artifactId>
<packaging>jar</packaging>
<name>GateIn WSRP Common Classes</name>
<dependencies>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>wsrp1-ws</artifactId>
+ <artifactId>wsrp-wsrp1-ws</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Modified: components/wsrp/trunk/consumer/pom.xml
===================================================================
--- components/wsrp/trunk/consumer/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/consumer/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,24 +30,24 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>consumer</artifactId>
+ <artifactId>wsrp-consumer</artifactId>
<packaging>jar</packaging>
<name>GateIn WSRP Consumer</name>
<dependencies>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>common</artifactId>
+ <artifactId>wsrp-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>api</artifactId>
+ <artifactId>wsrp-integration-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>wsrp1-ws</artifactId>
+ <artifactId>wsrp-wsrp1-ws</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Modified: components/wsrp/trunk/pom.xml
===================================================================
--- components/wsrp/trunk/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -52,9 +52,9 @@
<module>api</module>
<module>wsrp1-ws</module>
<module>common</module>
- <!-- <module>test-support</module> -->
<module>producer</module>
<module>consumer</module>
<module>admin-gui</module>
+ <module>wsrp-producer-war</module>
</modules>
</project>
\ No newline at end of file
Modified: components/wsrp/trunk/producer/pom.xml
===================================================================
--- components/wsrp/trunk/producer/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/producer/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,20 +30,22 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>producer</artifactId>
+ <artifactId>wsrp-producer-lib</artifactId>
<packaging>jar</packaging>
<name>GateIn WSRP Producer</name>
<dependencies>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>wsrp1-ws</artifactId>
+ <artifactId>wsrp-wsrp1-ws</artifactId>
<version>${project.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gatein.wsrp</groupId>
- <artifactId>common</artifactId>
+ <artifactId>wsrp-common</artifactId>
<version>${project.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gatein.common</groupId>
@@ -94,8 +96,6 @@
</dependencies>
<build>
- <finalName>wsrp-producer</finalName>
-
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
@@ -104,24 +104,6 @@
<target>1.5</target>
</configuration>
</plugin>
-
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>make-assembly</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
-
<descriptor>src/assemble/wsrp-producer-war.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
Deleted:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java 2009-09-25
13:07:49 UTC (rev 206)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -1,170 +0,0 @@
-/*
- * JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
- * contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of
- * individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.gatein.wsrp.endpoints;
-
-import org.oasis.wsrp.v1.AccessDenied;
-import org.oasis.wsrp.v1.BlockingInteractionResponse;
-import org.oasis.wsrp.v1.Extension;
-import org.oasis.wsrp.v1.GetMarkup;
-import org.oasis.wsrp.v1.InconsistentParameters;
-import org.oasis.wsrp.v1.InitCookie;
-import org.oasis.wsrp.v1.InteractionParams;
-import org.oasis.wsrp.v1.InvalidCookie;
-import org.oasis.wsrp.v1.InvalidHandle;
-import org.oasis.wsrp.v1.InvalidRegistration;
-import org.oasis.wsrp.v1.InvalidSession;
-import org.oasis.wsrp.v1.InvalidUserCategory;
-import org.oasis.wsrp.v1.MarkupContext;
-import org.oasis.wsrp.v1.MarkupParams;
-import org.oasis.wsrp.v1.MarkupResponse;
-import org.oasis.wsrp.v1.MissingParameters;
-import org.oasis.wsrp.v1.OperationFailed;
-import org.oasis.wsrp.v1.PerformBlockingInteraction;
-import org.oasis.wsrp.v1.PortletContext;
-import org.oasis.wsrp.v1.PortletStateChangeRequired;
-import org.oasis.wsrp.v1.RegistrationContext;
-import org.oasis.wsrp.v1.ReleaseSessions;
-import org.oasis.wsrp.v1.ReturnAny;
-import org.oasis.wsrp.v1.RuntimeContext;
-import org.oasis.wsrp.v1.SessionContext;
-import org.oasis.wsrp.v1.UnsupportedLocale;
-import org.oasis.wsrp.v1.UnsupportedMimeType;
-import org.oasis.wsrp.v1.UnsupportedMode;
-import org.oasis.wsrp.v1.UnsupportedWindowState;
-import org.oasis.wsrp.v1.UpdateResponse;
-import org.oasis.wsrp.v1.UserContext;
-import org.oasis.wsrp.v1.WSRPV1MarkupPortType;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebParam;
-import javax.xml.ws.Holder;
-import java.util.List;
-
-/**
- * @author <a href="mailto:palber@novell.com">Polina Alber</a>
- * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
- * @version $Revision: 8784 $
- * @since 2.4
- */
-(a)javax.jws.WebService(
- name = "WSRPV1MarkupPortType",
- serviceName = "WSRPV1Service",
- portName = "WSRPMarkupService",
- targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
- wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
- endpointInterface = "org.oasis.wsrp.v1.WSRPV1MarkupPortType"
-)
-@HandlerChain(file = "wshandlers.xml")
-public class MarkupEndpoint extends WSRPBaseEndpoint implements WSRPV1MarkupPortType
-{
- public void performBlockingInteraction(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "runtimeContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RuntimeContext runtimeContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "markupParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") MarkupParams markupParams,
- @WebParam(name = "interactionParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") InteractionParams interactionParams,
- @WebParam(mode = WebParam.Mode.OUT, name = "updateResponse",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<UpdateResponse> updateResponse,
- @WebParam(mode = WebParam.Mode.OUT, name = "redirectURL", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<String> redirectURL,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState, InvalidCookie,
InvalidSession, MissingParameters,
- UnsupportedLocale, InconsistentParameters, PortletStateChangeRequired,
InvalidHandle, InvalidRegistration,
- InvalidUserCategory, AccessDenied, OperationFailed
- {
- forceSessionAccess();
-
- PerformBlockingInteraction performBlockingInteraction = new
PerformBlockingInteraction();
- performBlockingInteraction.setPortletContext(portletContext);
- performBlockingInteraction.setRuntimeContext(runtimeContext);
- performBlockingInteraction.setMarkupParams(markupParams);
- performBlockingInteraction.setInteractionParams(interactionParams);
- performBlockingInteraction.setRegistrationContext(registrationContext);
- performBlockingInteraction.setUserContext(userContext);
-
- BlockingInteractionResponse interactionResponse =
producer.performBlockingInteraction(performBlockingInteraction);
-
- updateResponse.value = interactionResponse.getUpdateResponse();
- redirectURL.value = interactionResponse.getRedirectURL();
- extensions.value = interactionResponse.getExtensions();
- }
-
- public List<Extension> releaseSessions(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "sessionIDs", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> sessionIDs
- ) throws MissingParameters, InvalidRegistration, AccessDenied, OperationFailed
- {
- forceSessionAccess();
-
- ReleaseSessions releaseSessions = new ReleaseSessions();
- releaseSessions.setRegistrationContext(registrationContext);
- releaseSessions.getSessionIDs().addAll(sessionIDs);
-
- ReturnAny returnAny = producer.releaseSessions(releaseSessions);
-
- return returnAny.getExtensions();
- }
-
- public void getMarkup(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "runtimeContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RuntimeContext runtimeContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "markupParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") MarkupParams markupParams,
- @WebParam(mode = WebParam.Mode.OUT, name = "markupContext",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<MarkupContext> markupContext,
- @WebParam(mode = WebParam.Mode.OUT, name = "sessionContext",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<SessionContext> sessionContext,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState, InvalidCookie,
InvalidSession, MissingParameters,
- UnsupportedLocale, InconsistentParameters, InvalidHandle, InvalidRegistration,
InvalidUserCategory, AccessDenied,
- OperationFailed
- {
- forceSessionAccess();
-
- GetMarkup getMarkup = new GetMarkup();
- getMarkup.setRegistrationContext(registrationContext);
- getMarkup.setPortletContext(portletContext);
- getMarkup.setRuntimeContext(runtimeContext);
- getMarkup.setUserContext(userContext);
- getMarkup.setMarkupParams(markupParams);
-
- MarkupResponse response = producer.getMarkup(getMarkup);
-
- markupContext.value = response.getMarkupContext();
- sessionContext.value = response.getSessionContext();
- extensions.value = response.getExtensions();
- }
-
- public List<Extension> initCookie(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext
- ) throws InvalidRegistration, AccessDenied, OperationFailed
- {
- forceSessionAccess();
-
- InitCookie initCookie = new InitCookie();
- initCookie.setRegistrationContext(registrationContext);
-
- ReturnAny returnAny = producer.initCookie(initCookie);
-
- return returnAny.getExtensions();
- }
-}
Deleted:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java 2009-09-25
13:07:49 UTC (rev 206)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -1,205 +0,0 @@
-/*
- * JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
- * contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of
- * individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.gatein.wsrp.endpoints;
-
-import org.oasis.wsrp.v1.AccessDenied;
-import org.oasis.wsrp.v1.ClonePortlet;
-import org.oasis.wsrp.v1.DestroyFailed;
-import org.oasis.wsrp.v1.DestroyPortlets;
-import org.oasis.wsrp.v1.DestroyPortletsResponse;
-import org.oasis.wsrp.v1.Extension;
-import org.oasis.wsrp.v1.GetPortletDescription;
-import org.oasis.wsrp.v1.GetPortletProperties;
-import org.oasis.wsrp.v1.GetPortletPropertyDescription;
-import org.oasis.wsrp.v1.InconsistentParameters;
-import org.oasis.wsrp.v1.InvalidHandle;
-import org.oasis.wsrp.v1.InvalidRegistration;
-import org.oasis.wsrp.v1.InvalidUserCategory;
-import org.oasis.wsrp.v1.MissingParameters;
-import org.oasis.wsrp.v1.ModelDescription;
-import org.oasis.wsrp.v1.OperationFailed;
-import org.oasis.wsrp.v1.PortletContext;
-import org.oasis.wsrp.v1.PortletDescription;
-import org.oasis.wsrp.v1.PortletDescriptionResponse;
-import org.oasis.wsrp.v1.PortletPropertyDescriptionResponse;
-import org.oasis.wsrp.v1.Property;
-import org.oasis.wsrp.v1.PropertyList;
-import org.oasis.wsrp.v1.RegistrationContext;
-import org.oasis.wsrp.v1.ResetProperty;
-import org.oasis.wsrp.v1.ResourceList;
-import org.oasis.wsrp.v1.SetPortletProperties;
-import org.oasis.wsrp.v1.UserContext;
-import org.oasis.wsrp.v1.WSRPV1PortletManagementPortType;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebParam;
-import javax.xml.ws.Holder;
-import java.util.List;
-
-/**
- * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
- * @version $Revision: 8784 $
- * @since 2.4
- */
-(a)javax.jws.WebService(
- name = "WSRPV1PortletManagementPortType",
- serviceName = "WSRPV1Service",
- portName = "WSRPPortletManagementService",
- targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
- wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
- endpointInterface = "org.oasis.wsrp.v1.WSRPV1PortletManagementPortType"
-)
-@HandlerChain(file = "wshandlers.xml")
-public class PortletManagementEndpoint extends WSRPBaseEndpoint implements
WSRPV1PortletManagementPortType
-{
- public void getPortletPropertyDescription(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
- @WebParam(mode = WebParam.Mode.OUT, name = "modelDescription",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<ModelDescription> modelDescription,
- @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
- {
- GetPortletPropertyDescription getPortletPropertyDescription = new
GetPortletPropertyDescription();
- getPortletPropertyDescription.setRegistrationContext(registrationContext);
- getPortletPropertyDescription.setPortletContext(portletContext);
- getPortletPropertyDescription.setUserContext(userContext);
- getPortletPropertyDescription.getDesiredLocales().addAll(desiredLocales);
-
- PortletPropertyDescriptionResponse descriptionResponse =
producer.getPortletPropertyDescription(getPortletPropertyDescription);
-
- modelDescription.value = descriptionResponse.getModelDescription();
- resourceList.value = descriptionResponse.getResourceList();
- extensions.value = descriptionResponse.getExtensions();
- }
-
- public void setPortletProperties(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "propertyList", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PropertyList propertyList,
- @WebParam(mode = WebParam.Mode.OUT, name = "portletHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
portletHandle,
- @WebParam(mode = WebParam.Mode.OUT, name = "portletState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
portletState,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
- {
- SetPortletProperties setPortletProperties = new SetPortletProperties();
- setPortletProperties.setRegistrationContext(registrationContext);
- setPortletProperties.setPortletContext(portletContext);
- setPortletProperties.setUserContext(userContext);
- setPortletProperties.setPropertyList(propertyList);
-
- PortletContext response = producer.setPortletProperties(setPortletProperties);
-
- portletHandle.value = response.getPortletHandle();
- portletState.value = response.getPortletState();
- extensions.value = response.getExtensions();
- }
-
- public void clonePortlet(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(mode = WebParam.Mode.OUT, name = "portletHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
portletHandle,
- @WebParam(mode = WebParam.Mode.OUT, name = "portletState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
portletState,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
- {
- ClonePortlet clonePortlet = new ClonePortlet();
- clonePortlet.setRegistrationContext(registrationContext);
- clonePortlet.setPortletContext(portletContext);
- clonePortlet.setUserContext(userContext);
-
- PortletContext response = producer.clonePortlet(clonePortlet);
-
- portletHandle.value = response.getPortletHandle();
- portletState.value = response.getPortletState();
- extensions.value = response.getExtensions();
- }
-
- public void getPortletDescription(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
- @WebParam(mode = WebParam.Mode.OUT, name = "portletDescription",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<PortletDescription> portletDescription,
- @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
- {
- GetPortletDescription getPortletDescription = new GetPortletDescription();
- getPortletDescription.setRegistrationContext(registrationContext);
- getPortletDescription.setPortletContext(portletContext);
- getPortletDescription.setUserContext(userContext);
- getPortletDescription.getDesiredLocales().addAll(desiredLocales);
-
- PortletDescriptionResponse description =
producer.getPortletDescription(getPortletDescription);
-
- portletDescription.value = description.getPortletDescription();
- resourceList.value = description.getResourceList();
- extensions.value = description.getExtensions();
- }
-
- public void getPortletProperties(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
- @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
- @WebParam(name = "names", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> names,
- @WebParam(mode = WebParam.Mode.OUT, name = "properties", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Property>>
properties,
- @WebParam(mode = WebParam.Mode.OUT, name = "resetProperties",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ResetProperty>> resetProperties,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
- {
- GetPortletProperties getPortletProperties = new GetPortletProperties();
- getPortletProperties.setRegistrationContext(registrationContext);
- getPortletProperties.setPortletContext(portletContext);
- getPortletProperties.setUserContext(userContext);
- getPortletProperties.getNames().addAll(names);
-
- PropertyList result = producer.getPortletProperties(getPortletProperties);
-
- properties.value = result.getProperties();
- resetProperties.value = result.getResetProperties();
- extensions.value = result.getExtensions();
- }
-
- public void destroyPortlets(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "portletHandles", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> portletHandles,
- @WebParam(mode = WebParam.Mode.OUT, name = "destroyFailed",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<DestroyFailed>> destroyFailed,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws MissingParameters, InconsistentParameters, InvalidRegistration,
OperationFailed
- {
- DestroyPortlets destroyPortlets = new DestroyPortlets();
- destroyPortlets.setRegistrationContext(registrationContext);
- destroyPortlets.getPortletHandles().addAll(portletHandles);
-
- DestroyPortletsResponse destroyPortletsResponse =
producer.destroyPortlets(destroyPortlets);
-
- destroyFailed.value = destroyPortletsResponse.getDestroyFailed();
- extensions.value = destroyPortletsResponse.getExtensions();
- }
-}
Deleted:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java 2009-09-25
13:07:49 UTC (rev 206)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -1,115 +0,0 @@
-/*
- * JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
- * contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of
- * individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.gatein.wsrp.endpoints;
-
-import org.oasis.wsrp.v1.Extension;
-import org.oasis.wsrp.v1.InvalidRegistration;
-import org.oasis.wsrp.v1.MissingParameters;
-import org.oasis.wsrp.v1.ModifyRegistration;
-import org.oasis.wsrp.v1.OperationFailed;
-import org.oasis.wsrp.v1.Property;
-import org.oasis.wsrp.v1.RegistrationContext;
-import org.oasis.wsrp.v1.RegistrationData;
-import org.oasis.wsrp.v1.RegistrationState;
-import org.oasis.wsrp.v1.WSRPV1RegistrationPortType;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebParam;
-import javax.xml.ws.Holder;
-import java.util.List;
-
-/**
- * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
- * @version $Revision: 8784 $
- * @since 2.4
- */
-(a)javax.jws.WebService(
- name = "WSRPV1RegistrationPortType",
- serviceName = "WSRPV1Service",
- portName = "WSRPRegistrationService",
- targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
- wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
- endpointInterface = "org.oasis.wsrp.v1.WSRPV1RegistrationPortType"
-)
-@HandlerChain(file = "wshandlers.xml")
-public class RegistrationEndpoint extends WSRPBaseEndpoint implements
WSRPV1RegistrationPortType
-{
-
- public void register(
- @WebParam(name = "consumerName", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String consumerName,
- @WebParam(name = "consumerAgent", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String consumerAgent,
- @WebParam(name = "methodGetSupported", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") boolean methodGetSupported,
- @WebParam(name = "consumerModes", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerModes,
- @WebParam(name = "consumerWindowStates", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerWindowStates,
- @WebParam(name = "consumerUserScopes", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerUserScopes,
- @WebParam(name = "customUserProfileData", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> customUserProfileData,
- @WebParam(name = "registrationProperties", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<Property>
registrationProperties,
- @WebParam(mode = WebParam.Mode.INOUT, name = "extensions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<Extension>> extensions,
- @WebParam(mode = WebParam.Mode.OUT, name = "registrationHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
registrationHandle,
- @WebParam(mode = WebParam.Mode.OUT, name = "registrationState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
registrationState)
- throws MissingParameters, OperationFailed
- {
- RegistrationData registrationData = new RegistrationData();
- registrationData.setConsumerName(consumerName);
- registrationData.setConsumerAgent(consumerAgent);
- registrationData.getConsumerModes().addAll(consumerModes);
- registrationData.getConsumerWindowStates().addAll(consumerWindowStates);
- registrationData.getConsumerUserScopes().addAll(consumerUserScopes);
- registrationData.getCustomUserProfileData().addAll(customUserProfileData);
- registrationData.getRegistrationProperties().addAll(registrationProperties);
- registrationData.getExtensions().addAll(extensions.value);
-
- RegistrationContext registrationContext = producer.register(registrationData);
-
- registrationHandle.value = registrationContext.getRegistrationHandle();
- registrationState.value = registrationContext.getRegistrationState();
- extensions.value = registrationContext.getExtensions();
- }
-
- public void modifyRegistration(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "registrationData", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationData registrationData,
- @WebParam(mode = WebParam.Mode.OUT, name = "registrationState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
registrationState,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions)
- throws MissingParameters, InvalidRegistration, OperationFailed
- {
- ModifyRegistration modifyRegistration = new ModifyRegistration();
- modifyRegistration.setRegistrationContext(registrationContext);
- modifyRegistration.setRegistrationData(registrationData);
-
- RegistrationState result = producer.modifyRegistration(modifyRegistration);
-
- registrationState.value = result.getRegistrationState();
- extensions.value = result.getExtensions();
- }
-
- public List<Extension> deregister(
- @WebParam(name = "registrationHandle", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String registrationHandle,
- @WebParam(name = "registrationState", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") byte[] registrationState,
- @WebParam(name = "extensions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<Extension> extensions)
- throws InvalidRegistration, OperationFailed
- {
- return null; //To change body of implemented methods use File | Settings | File
Templates.
- }
-}
Deleted:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java 2009-09-25
13:07:49 UTC (rev 206)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -1,94 +0,0 @@
-/*
- * JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
- * contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of
- * individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.gatein.wsrp.endpoints;
-
-import org.oasis.wsrp.v1.CookieProtocol;
-import org.oasis.wsrp.v1.Extension;
-import org.oasis.wsrp.v1.GetServiceDescription;
-import org.oasis.wsrp.v1.InvalidRegistration;
-import org.oasis.wsrp.v1.ItemDescription;
-import org.oasis.wsrp.v1.ModelDescription;
-import org.oasis.wsrp.v1.OperationFailed;
-import org.oasis.wsrp.v1.PortletDescription;
-import org.oasis.wsrp.v1.RegistrationContext;
-import org.oasis.wsrp.v1.ResourceList;
-import org.oasis.wsrp.v1.ServiceDescription;
-import org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebParam;
-import javax.xml.ws.Holder;
-import java.util.List;
-
-/**
- * @author <a href="mailto:palber@novell.com">Polina Alber</a>
- * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
- * @version $Revision: 8784 $
- */
-(a)javax.jws.WebService(
- name = "WSRPV1ServiceDescriptionPortType",
- serviceName = "WSRPV1Service",
- portName = "WSRPServiceDescriptionService",
- targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
- wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
- endpointInterface = "org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType"
-)
-@HandlerChain(file = "wshandlers.xml")
-public class ServiceDescriptionEndpoint extends WSRPBaseEndpoint implements
WSRPV1ServiceDescriptionPortType
-{
- public void getServiceDescription(
- @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
- @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
- @WebParam(mode = WebParam.Mode.OUT, name = "requiresRegistration",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<Boolean>
requiresRegistration,
- @WebParam(mode = WebParam.Mode.OUT, name = "offeredPortlets",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<PortletDescription>> offeredPortlets,
- @WebParam(mode = WebParam.Mode.OUT, name = "userCategoryDescriptions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ItemDescription>> userCategoryDescriptions,
- @WebParam(mode = WebParam.Mode.OUT, name =
"customUserProfileItemDescriptions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<ItemDescription>>
customUserProfileItemDescriptions,
- @WebParam(mode = WebParam.Mode.OUT, name =
"customWindowStateDescriptions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<ItemDescription>>
customWindowStateDescriptions,
- @WebParam(mode = WebParam.Mode.OUT, name = "customModeDescriptions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ItemDescription>> customModeDescriptions,
- @WebParam(mode = WebParam.Mode.OUT, name = "requiresInitCookie",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<CookieProtocol> requiresInitCookie,
- @WebParam(mode = WebParam.Mode.OUT, name =
"registrationPropertyDescription", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<ModelDescription>
registrationPropertyDescription,
- @WebParam(mode = WebParam.Mode.OUT, name = "locales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<String>> locales,
- @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
- @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
- ) throws InvalidRegistration, OperationFailed
- {
- GetServiceDescription getServiceDescription = new GetServiceDescription();
- getServiceDescription.setRegistrationContext(registrationContext);
- getServiceDescription.getDesiredLocales().addAll(desiredLocales);
-
- ServiceDescription description =
producer.getServiceDescription(getServiceDescription);
-
- requiresRegistration.value = description.isRequiresRegistration();
- offeredPortlets.value = description.getOfferedPortlets();
- userCategoryDescriptions.value = description.getUserCategoryDescriptions();
- customUserProfileItemDescriptions.value =
description.getCustomUserProfileItemDescriptions();
- customWindowStateDescriptions.value =
description.getCustomWindowStateDescriptions();
- customModeDescriptions.value = description.getCustomModeDescriptions();
- requiresInitCookie.value = description.getRequiresInitCookie();
- registrationPropertyDescription.value =
description.getRegistrationPropertyDescription();
- locales.value = description.getLocales();
- resourceList.value = description.getResourceList();
- extensions.value = description.getExtensions();
- }
-}
Deleted:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java 2009-09-25
13:07:49 UTC (rev 206)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -1,57 +0,0 @@
-/*
- * JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
- * contributors as indicated by the @authors tag. See the
- * copyright.txt in the distribution for a full listing of
- * individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-
-package org.gatein.wsrp.endpoints;
-
-import org.gatein.wsrp.producer.WSRPProducer;
-import org.gatein.wsrp.servlet.ServletAccess;
-
-import javax.servlet.http.HttpSession;
-
-/**
- * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
- * @version $Revision: 13313 $
- * @since 2.4
- */
-public class WSRPBaseEndpoint
-{
- public WSRPBaseEndpoint()
- {
- producer = ProducerHolder.getProducer();
- }
-
- protected void forceSessionAccess()
- {
- // Check if there is a session associated with this thread
- HttpSession portalSession = ServletAccess.getRequest().getSession(false);
-
- // TODO: check if this is still needed
- /*if (portalSession != null)
- {
- // force session access from context so that cookies will be properly tranmitted
to consumers. See JBWS-1515.
- context.getHttpSession();
- }*/
- }
-
- protected WSRPProducer producer;
-}
Added: components/wsrp/trunk/wsrp-producer-war/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/pom.xml (rev 0)
+++ components/wsrp/trunk/wsrp-producer-war/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>module-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>wsrp-producer</artifactId>
+ <packaging>war</packaging>
+ <name>GateIn WSRP Producer WAR</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-producer-lib</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-wsrp1-ws</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.wsrp</groupId>
+ <artifactId>wsrp-common</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Copied:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java
(from rev 198,
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java)
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/MarkupEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,170 @@
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of
+ * individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.gatein.wsrp.endpoints;
+
+import org.oasis.wsrp.v1.AccessDenied;
+import org.oasis.wsrp.v1.BlockingInteractionResponse;
+import org.oasis.wsrp.v1.Extension;
+import org.oasis.wsrp.v1.GetMarkup;
+import org.oasis.wsrp.v1.InconsistentParameters;
+import org.oasis.wsrp.v1.InitCookie;
+import org.oasis.wsrp.v1.InteractionParams;
+import org.oasis.wsrp.v1.InvalidCookie;
+import org.oasis.wsrp.v1.InvalidHandle;
+import org.oasis.wsrp.v1.InvalidRegistration;
+import org.oasis.wsrp.v1.InvalidSession;
+import org.oasis.wsrp.v1.InvalidUserCategory;
+import org.oasis.wsrp.v1.MarkupContext;
+import org.oasis.wsrp.v1.MarkupParams;
+import org.oasis.wsrp.v1.MarkupResponse;
+import org.oasis.wsrp.v1.MissingParameters;
+import org.oasis.wsrp.v1.OperationFailed;
+import org.oasis.wsrp.v1.PerformBlockingInteraction;
+import org.oasis.wsrp.v1.PortletContext;
+import org.oasis.wsrp.v1.PortletStateChangeRequired;
+import org.oasis.wsrp.v1.RegistrationContext;
+import org.oasis.wsrp.v1.ReleaseSessions;
+import org.oasis.wsrp.v1.ReturnAny;
+import org.oasis.wsrp.v1.RuntimeContext;
+import org.oasis.wsrp.v1.SessionContext;
+import org.oasis.wsrp.v1.UnsupportedLocale;
+import org.oasis.wsrp.v1.UnsupportedMimeType;
+import org.oasis.wsrp.v1.UnsupportedMode;
+import org.oasis.wsrp.v1.UnsupportedWindowState;
+import org.oasis.wsrp.v1.UpdateResponse;
+import org.oasis.wsrp.v1.UserContext;
+import org.oasis.wsrp.v1.WSRPV1MarkupPortType;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebParam;
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:palber@novell.com">Polina Alber</a>
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
+ * @version $Revision: 8784 $
+ * @since 2.4
+ */
+(a)javax.jws.WebService(
+ name = "WSRPV1MarkupPortType",
+ serviceName = "WSRPV1Service",
+ portName = "WSRPMarkupService",
+ targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
+ wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
+ endpointInterface = "org.oasis.wsrp.v1.WSRPV1MarkupPortType"
+)
+@HandlerChain(file = "wshandlers.xml")
+public class MarkupEndpoint extends WSRPBaseEndpoint implements WSRPV1MarkupPortType
+{
+ public void performBlockingInteraction(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "runtimeContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RuntimeContext runtimeContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "markupParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") MarkupParams markupParams,
+ @WebParam(name = "interactionParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") InteractionParams interactionParams,
+ @WebParam(mode = WebParam.Mode.OUT, name = "updateResponse",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<UpdateResponse> updateResponse,
+ @WebParam(mode = WebParam.Mode.OUT, name = "redirectURL", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<String> redirectURL,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState, InvalidCookie,
InvalidSession, MissingParameters,
+ UnsupportedLocale, InconsistentParameters, PortletStateChangeRequired,
InvalidHandle, InvalidRegistration,
+ InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ forceSessionAccess();
+
+ PerformBlockingInteraction performBlockingInteraction = new
PerformBlockingInteraction();
+ performBlockingInteraction.setPortletContext(portletContext);
+ performBlockingInteraction.setRuntimeContext(runtimeContext);
+ performBlockingInteraction.setMarkupParams(markupParams);
+ performBlockingInteraction.setInteractionParams(interactionParams);
+ performBlockingInteraction.setRegistrationContext(registrationContext);
+ performBlockingInteraction.setUserContext(userContext);
+
+ BlockingInteractionResponse interactionResponse =
producer.performBlockingInteraction(performBlockingInteraction);
+
+ updateResponse.value = interactionResponse.getUpdateResponse();
+ redirectURL.value = interactionResponse.getRedirectURL();
+ extensions.value = interactionResponse.getExtensions();
+ }
+
+ public List<Extension> releaseSessions(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "sessionIDs", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> sessionIDs
+ ) throws MissingParameters, InvalidRegistration, AccessDenied, OperationFailed
+ {
+ forceSessionAccess();
+
+ ReleaseSessions releaseSessions = new ReleaseSessions();
+ releaseSessions.setRegistrationContext(registrationContext);
+ releaseSessions.getSessionIDs().addAll(sessionIDs);
+
+ ReturnAny returnAny = producer.releaseSessions(releaseSessions);
+
+ return returnAny.getExtensions();
+ }
+
+ public void getMarkup(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "runtimeContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RuntimeContext runtimeContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "markupParams", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") MarkupParams markupParams,
+ @WebParam(mode = WebParam.Mode.OUT, name = "markupContext",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<MarkupContext> markupContext,
+ @WebParam(mode = WebParam.Mode.OUT, name = "sessionContext",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<SessionContext> sessionContext,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws UnsupportedMimeType, UnsupportedMode, UnsupportedWindowState, InvalidCookie,
InvalidSession, MissingParameters,
+ UnsupportedLocale, InconsistentParameters, InvalidHandle, InvalidRegistration,
InvalidUserCategory, AccessDenied,
+ OperationFailed
+ {
+ forceSessionAccess();
+
+ GetMarkup getMarkup = new GetMarkup();
+ getMarkup.setRegistrationContext(registrationContext);
+ getMarkup.setPortletContext(portletContext);
+ getMarkup.setRuntimeContext(runtimeContext);
+ getMarkup.setUserContext(userContext);
+ getMarkup.setMarkupParams(markupParams);
+
+ MarkupResponse response = producer.getMarkup(getMarkup);
+
+ markupContext.value = response.getMarkupContext();
+ sessionContext.value = response.getSessionContext();
+ extensions.value = response.getExtensions();
+ }
+
+ public List<Extension> initCookie(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext
+ ) throws InvalidRegistration, AccessDenied, OperationFailed
+ {
+ forceSessionAccess();
+
+ InitCookie initCookie = new InitCookie();
+ initCookie.setRegistrationContext(registrationContext);
+
+ ReturnAny returnAny = producer.initCookie(initCookie);
+
+ return returnAny.getExtensions();
+ }
+}
Copied:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java
(from rev 198,
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java)
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/PortletManagementEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,205 @@
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of
+ * individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.gatein.wsrp.endpoints;
+
+import org.oasis.wsrp.v1.AccessDenied;
+import org.oasis.wsrp.v1.ClonePortlet;
+import org.oasis.wsrp.v1.DestroyFailed;
+import org.oasis.wsrp.v1.DestroyPortlets;
+import org.oasis.wsrp.v1.DestroyPortletsResponse;
+import org.oasis.wsrp.v1.Extension;
+import org.oasis.wsrp.v1.GetPortletDescription;
+import org.oasis.wsrp.v1.GetPortletProperties;
+import org.oasis.wsrp.v1.GetPortletPropertyDescription;
+import org.oasis.wsrp.v1.InconsistentParameters;
+import org.oasis.wsrp.v1.InvalidHandle;
+import org.oasis.wsrp.v1.InvalidRegistration;
+import org.oasis.wsrp.v1.InvalidUserCategory;
+import org.oasis.wsrp.v1.MissingParameters;
+import org.oasis.wsrp.v1.ModelDescription;
+import org.oasis.wsrp.v1.OperationFailed;
+import org.oasis.wsrp.v1.PortletContext;
+import org.oasis.wsrp.v1.PortletDescription;
+import org.oasis.wsrp.v1.PortletDescriptionResponse;
+import org.oasis.wsrp.v1.PortletPropertyDescriptionResponse;
+import org.oasis.wsrp.v1.Property;
+import org.oasis.wsrp.v1.PropertyList;
+import org.oasis.wsrp.v1.RegistrationContext;
+import org.oasis.wsrp.v1.ResetProperty;
+import org.oasis.wsrp.v1.ResourceList;
+import org.oasis.wsrp.v1.SetPortletProperties;
+import org.oasis.wsrp.v1.UserContext;
+import org.oasis.wsrp.v1.WSRPV1PortletManagementPortType;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebParam;
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
+ * @version $Revision: 8784 $
+ * @since 2.4
+ */
+(a)javax.jws.WebService(
+ name = "WSRPV1PortletManagementPortType",
+ serviceName = "WSRPV1Service",
+ portName = "WSRPPortletManagementService",
+ targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
+ wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
+ endpointInterface = "org.oasis.wsrp.v1.WSRPV1PortletManagementPortType"
+)
+@HandlerChain(file = "wshandlers.xml")
+public class PortletManagementEndpoint extends WSRPBaseEndpoint implements
WSRPV1PortletManagementPortType
+{
+ public void getPortletPropertyDescription(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
+ @WebParam(mode = WebParam.Mode.OUT, name = "modelDescription",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<ModelDescription> modelDescription,
+ @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ GetPortletPropertyDescription getPortletPropertyDescription = new
GetPortletPropertyDescription();
+ getPortletPropertyDescription.setRegistrationContext(registrationContext);
+ getPortletPropertyDescription.setPortletContext(portletContext);
+ getPortletPropertyDescription.setUserContext(userContext);
+ getPortletPropertyDescription.getDesiredLocales().addAll(desiredLocales);
+
+ PortletPropertyDescriptionResponse descriptionResponse =
producer.getPortletPropertyDescription(getPortletPropertyDescription);
+
+ modelDescription.value = descriptionResponse.getModelDescription();
+ resourceList.value = descriptionResponse.getResourceList();
+ extensions.value = descriptionResponse.getExtensions();
+ }
+
+ public void setPortletProperties(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "propertyList", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PropertyList propertyList,
+ @WebParam(mode = WebParam.Mode.OUT, name = "portletHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
portletHandle,
+ @WebParam(mode = WebParam.Mode.OUT, name = "portletState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
portletState,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ SetPortletProperties setPortletProperties = new SetPortletProperties();
+ setPortletProperties.setRegistrationContext(registrationContext);
+ setPortletProperties.setPortletContext(portletContext);
+ setPortletProperties.setUserContext(userContext);
+ setPortletProperties.setPropertyList(propertyList);
+
+ PortletContext response = producer.setPortletProperties(setPortletProperties);
+
+ portletHandle.value = response.getPortletHandle();
+ portletState.value = response.getPortletState();
+ extensions.value = response.getExtensions();
+ }
+
+ public void clonePortlet(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(mode = WebParam.Mode.OUT, name = "portletHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
portletHandle,
+ @WebParam(mode = WebParam.Mode.OUT, name = "portletState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
portletState,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ ClonePortlet clonePortlet = new ClonePortlet();
+ clonePortlet.setRegistrationContext(registrationContext);
+ clonePortlet.setPortletContext(portletContext);
+ clonePortlet.setUserContext(userContext);
+
+ PortletContext response = producer.clonePortlet(clonePortlet);
+
+ portletHandle.value = response.getPortletHandle();
+ portletState.value = response.getPortletState();
+ extensions.value = response.getExtensions();
+ }
+
+ public void getPortletDescription(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
+ @WebParam(mode = WebParam.Mode.OUT, name = "portletDescription",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<PortletDescription> portletDescription,
+ @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ GetPortletDescription getPortletDescription = new GetPortletDescription();
+ getPortletDescription.setRegistrationContext(registrationContext);
+ getPortletDescription.setPortletContext(portletContext);
+ getPortletDescription.setUserContext(userContext);
+ getPortletDescription.getDesiredLocales().addAll(desiredLocales);
+
+ PortletDescriptionResponse description =
producer.getPortletDescription(getPortletDescription);
+
+ portletDescription.value = description.getPortletDescription();
+ resourceList.value = description.getResourceList();
+ extensions.value = description.getExtensions();
+ }
+
+ public void getPortletProperties(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") PortletContext portletContext,
+ @WebParam(name = "userContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") UserContext userContext,
+ @WebParam(name = "names", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> names,
+ @WebParam(mode = WebParam.Mode.OUT, name = "properties", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Property>>
properties,
+ @WebParam(mode = WebParam.Mode.OUT, name = "resetProperties",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ResetProperty>> resetProperties,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidHandle,
InvalidRegistration, InvalidUserCategory, AccessDenied, OperationFailed
+ {
+ GetPortletProperties getPortletProperties = new GetPortletProperties();
+ getPortletProperties.setRegistrationContext(registrationContext);
+ getPortletProperties.setPortletContext(portletContext);
+ getPortletProperties.setUserContext(userContext);
+ getPortletProperties.getNames().addAll(names);
+
+ PropertyList result = producer.getPortletProperties(getPortletProperties);
+
+ properties.value = result.getProperties();
+ resetProperties.value = result.getResetProperties();
+ extensions.value = result.getExtensions();
+ }
+
+ public void destroyPortlets(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "portletHandles", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> portletHandles,
+ @WebParam(mode = WebParam.Mode.OUT, name = "destroyFailed",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<DestroyFailed>> destroyFailed,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws MissingParameters, InconsistentParameters, InvalidRegistration,
OperationFailed
+ {
+ DestroyPortlets destroyPortlets = new DestroyPortlets();
+ destroyPortlets.setRegistrationContext(registrationContext);
+ destroyPortlets.getPortletHandles().addAll(portletHandles);
+
+ DestroyPortletsResponse destroyPortletsResponse =
producer.destroyPortlets(destroyPortlets);
+
+ destroyFailed.value = destroyPortletsResponse.getDestroyFailed();
+ extensions.value = destroyPortletsResponse.getExtensions();
+ }
+}
Copied:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
(from rev 198,
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java)
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of
+ * individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.gatein.wsrp.endpoints;
+
+import org.oasis.wsrp.v1.Extension;
+import org.oasis.wsrp.v1.InvalidRegistration;
+import org.oasis.wsrp.v1.MissingParameters;
+import org.oasis.wsrp.v1.ModifyRegistration;
+import org.oasis.wsrp.v1.OperationFailed;
+import org.oasis.wsrp.v1.Property;
+import org.oasis.wsrp.v1.RegistrationContext;
+import org.oasis.wsrp.v1.RegistrationData;
+import org.oasis.wsrp.v1.RegistrationState;
+import org.oasis.wsrp.v1.WSRPV1RegistrationPortType;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebParam;
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
+ * @version $Revision: 8784 $
+ * @since 2.4
+ */
+(a)javax.jws.WebService(
+ name = "WSRPV1RegistrationPortType",
+ serviceName = "WSRPV1Service",
+ portName = "WSRPRegistrationService",
+ targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
+ wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
+ endpointInterface = "org.oasis.wsrp.v1.WSRPV1RegistrationPortType"
+)
+@HandlerChain(file = "wshandlers.xml")
+public class RegistrationEndpoint extends WSRPBaseEndpoint implements
WSRPV1RegistrationPortType
+{
+
+ public void register(
+ @WebParam(name = "consumerName", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String consumerName,
+ @WebParam(name = "consumerAgent", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String consumerAgent,
+ @WebParam(name = "methodGetSupported", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") boolean methodGetSupported,
+ @WebParam(name = "consumerModes", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerModes,
+ @WebParam(name = "consumerWindowStates", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerWindowStates,
+ @WebParam(name = "consumerUserScopes", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> consumerUserScopes,
+ @WebParam(name = "customUserProfileData", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> customUserProfileData,
+ @WebParam(name = "registrationProperties", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<Property>
registrationProperties,
+ @WebParam(mode = WebParam.Mode.INOUT, name = "extensions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<Extension>> extensions,
+ @WebParam(mode = WebParam.Mode.OUT, name = "registrationHandle",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<String>
registrationHandle,
+ @WebParam(mode = WebParam.Mode.OUT, name = "registrationState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
registrationState)
+ throws MissingParameters, OperationFailed
+ {
+ RegistrationData registrationData = new RegistrationData();
+ registrationData.setConsumerName(consumerName);
+ registrationData.setConsumerAgent(consumerAgent);
+ registrationData.getConsumerModes().addAll(consumerModes);
+ registrationData.getConsumerWindowStates().addAll(consumerWindowStates);
+ registrationData.getConsumerUserScopes().addAll(consumerUserScopes);
+ registrationData.getCustomUserProfileData().addAll(customUserProfileData);
+ registrationData.getRegistrationProperties().addAll(registrationProperties);
+ registrationData.getExtensions().addAll(extensions.value);
+
+ RegistrationContext registrationContext = producer.register(registrationData);
+
+ registrationHandle.value = registrationContext.getRegistrationHandle();
+ registrationState.value = registrationContext.getRegistrationState();
+ extensions.value = registrationContext.getExtensions();
+ }
+
+ public void modifyRegistration(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "registrationData", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationData registrationData,
+ @WebParam(mode = WebParam.Mode.OUT, name = "registrationState",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<byte[]>
registrationState,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions)
+ throws MissingParameters, InvalidRegistration, OperationFailed
+ {
+ ModifyRegistration modifyRegistration = new ModifyRegistration();
+ modifyRegistration.setRegistrationContext(registrationContext);
+ modifyRegistration.setRegistrationData(registrationData);
+
+ RegistrationState result = producer.modifyRegistration(modifyRegistration);
+
+ registrationState.value = result.getRegistrationState();
+ extensions.value = result.getExtensions();
+ }
+
+ public List<Extension> deregister(
+ @WebParam(name = "registrationHandle", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") String registrationHandle,
+ @WebParam(name = "registrationState", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") byte[] registrationState,
+ @WebParam(name = "extensions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<Extension> extensions)
+ throws InvalidRegistration, OperationFailed
+ {
+ return null; //To change body of implemented methods use File | Settings | File
Templates.
+ }
+}
Copied:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java
(from rev 198,
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java)
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/ServiceDescriptionEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of
+ * individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.gatein.wsrp.endpoints;
+
+import org.oasis.wsrp.v1.CookieProtocol;
+import org.oasis.wsrp.v1.Extension;
+import org.oasis.wsrp.v1.GetServiceDescription;
+import org.oasis.wsrp.v1.InvalidRegistration;
+import org.oasis.wsrp.v1.ItemDescription;
+import org.oasis.wsrp.v1.ModelDescription;
+import org.oasis.wsrp.v1.OperationFailed;
+import org.oasis.wsrp.v1.PortletDescription;
+import org.oasis.wsrp.v1.RegistrationContext;
+import org.oasis.wsrp.v1.ResourceList;
+import org.oasis.wsrp.v1.ServiceDescription;
+import org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebParam;
+import javax.xml.ws.Holder;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:palber@novell.com">Polina Alber</a>
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
+ * @version $Revision: 8784 $
+ */
+(a)javax.jws.WebService(
+ name = "WSRPV1ServiceDescriptionPortType",
+ serviceName = "WSRPV1Service",
+ portName = "WSRPServiceDescriptionService",
+ targetNamespace = "urn:oasis:names:tc:wsrp:v1:wsdl",
+ wsdlLocation = "/WEB-INF/wsdl/wsrp_services.wsdl",
+ endpointInterface = "org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType"
+)
+@HandlerChain(file = "wshandlers.xml")
+public class ServiceDescriptionEndpoint extends WSRPBaseEndpoint implements
WSRPV1ServiceDescriptionPortType
+{
+ public void getServiceDescription(
+ @WebParam(name = "registrationContext", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") RegistrationContext registrationContext,
+ @WebParam(name = "desiredLocales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<String> desiredLocales,
+ @WebParam(mode = WebParam.Mode.OUT, name = "requiresRegistration",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<Boolean>
requiresRegistration,
+ @WebParam(mode = WebParam.Mode.OUT, name = "offeredPortlets",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<PortletDescription>> offeredPortlets,
+ @WebParam(mode = WebParam.Mode.OUT, name = "userCategoryDescriptions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ItemDescription>> userCategoryDescriptions,
+ @WebParam(mode = WebParam.Mode.OUT, name =
"customUserProfileItemDescriptions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<ItemDescription>>
customUserProfileItemDescriptions,
+ @WebParam(mode = WebParam.Mode.OUT, name =
"customWindowStateDescriptions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<ItemDescription>>
customWindowStateDescriptions,
+ @WebParam(mode = WebParam.Mode.OUT, name = "customModeDescriptions",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<List<ItemDescription>> customModeDescriptions,
+ @WebParam(mode = WebParam.Mode.OUT, name = "requiresInitCookie",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types")
Holder<CookieProtocol> requiresInitCookie,
+ @WebParam(mode = WebParam.Mode.OUT, name =
"registrationPropertyDescription", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<ModelDescription>
registrationPropertyDescription,
+ @WebParam(mode = WebParam.Mode.OUT, name = "locales", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") Holder<List<String>> locales,
+ @WebParam(mode = WebParam.Mode.OUT, name = "resourceList",
targetNamespace = "urn:oasis:names:tc:wsrp:v1:types") Holder<ResourceList>
resourceList,
+ @WebParam(mode = WebParam.Mode.OUT, name = "extensions", targetNamespace
= "urn:oasis:names:tc:wsrp:v1:types") Holder<List<Extension>>
extensions
+ ) throws InvalidRegistration, OperationFailed
+ {
+ GetServiceDescription getServiceDescription = new GetServiceDescription();
+ getServiceDescription.setRegistrationContext(registrationContext);
+ getServiceDescription.getDesiredLocales().addAll(desiredLocales);
+
+ ServiceDescription description =
producer.getServiceDescription(getServiceDescription);
+
+ requiresRegistration.value = description.isRequiresRegistration();
+ offeredPortlets.value = description.getOfferedPortlets();
+ userCategoryDescriptions.value = description.getUserCategoryDescriptions();
+ customUserProfileItemDescriptions.value =
description.getCustomUserProfileItemDescriptions();
+ customWindowStateDescriptions.value =
description.getCustomWindowStateDescriptions();
+ customModeDescriptions.value = description.getCustomModeDescriptions();
+ requiresInitCookie.value = description.getRequiresInitCookie();
+ registrationPropertyDescription.value =
description.getRegistrationPropertyDescription();
+ locales.value = description.getLocales();
+ resourceList.value = description.getResourceList();
+ extensions.value = description.getExtensions();
+ }
+}
Copied:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java
(from rev 198,
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java)
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/WSRPBaseEndpoint.java 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, a division of Red Hat
+ * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * contributors as indicated by the @authors tag. See the
+ * copyright.txt in the distribution for a full listing of
+ * individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+
+package org.gatein.wsrp.endpoints;
+
+import org.gatein.wsrp.producer.WSRPProducer;
+import org.gatein.wsrp.servlet.ServletAccess;
+
+import javax.servlet.http.HttpSession;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris
Laprun</a>
+ * @version $Revision: 13313 $
+ * @since 2.4
+ */
+public class WSRPBaseEndpoint
+{
+ public WSRPBaseEndpoint()
+ {
+ producer = ProducerHolder.getProducer();
+ }
+
+ protected void forceSessionAccess()
+ {
+ // Check if there is a session associated with this thread
+ HttpSession portalSession = ServletAccess.getRequest().getSession(false);
+
+ // TODO: check if this is still needed
+ /*if (portalSession != null)
+ {
+ // force session access from context so that cookies will be properly tranmitted
to consumers. See JBWS-1515.
+ context.getHttpSession();
+ }*/
+ }
+
+ protected WSRPProducer producer;
+}
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/classes/wshandlers.xml
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/classes/wshandlers.xml
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/classes/wshandlers.xml 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+<javaee:handler-chains
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_...
+ <javaee:handler-chain>
+ <javaee:handler>
+ <javaee:handler-name>WSRP Extension Handler</javaee:handler-name>
+
<javaee:handler-class>org.gatein.wsrp.handler.WSRPExtensionHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+</javaee:handler-chains>
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/producer/config.xml
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/producer/config.xml
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/conf/producer/config.xml 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,40 @@
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<!--
+<!DOCTYPE producer-configuration PUBLIC "-//JBoss Portal//DTD WSRP Local Producer
Configuration 2.6//EN"
+ "http://www.jboss.org/portal/dtd/jboss-wsrp-producer_2_6.dtd">
+-->
+
+<!-- Configuration using registration with default registration property validator.
-->
+<producer-configuration xmlns="urn:jboss:portal:wsrp:producer:v2_7"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:portal:wsrp:producer:v2_7
http://www.jboss.org/portal/xsd/jboss-wsrp-producer_2_7.xsd">
+ <registration-configuration
fullServiceDescriptionRequiresRegistration="true">
+
<registration-property-validator>org.gatein.registration.policies.DefaultRegistrationPropertyValidator
+ </registration-property-validator>
+ </registration-configuration>
+</producer-configuration>
+
+ <!-- Configuration without registration -->
+ <!--<producer-configuration/>-->
\ No newline at end of file
Added: components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/context.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/context.xml
(rev 0)
+++ components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/context.xml 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<Context privileged="true"/>
\ No newline at end of file
Added: components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/web.xml
===================================================================
--- components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++ components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/web.xml 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <!-- Filter to put request and response in ServletAccess -->
+ <!-- <filter>
+ <filter-name>ServletAccessFilter</filter-name>
+
<filter-class>org.jboss.portal.wsrp.servlet.ServletAccessFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ServletAccessFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>-->
+
+ <!-- Wraps WSRP requests in transactions -->
+ <!--<filter>
+ <filter-name>TransactionFilter</filter-name>
+
<filter-class>org.jboss.portal.wsrp.servlet.TransactionFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>TransactionFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>-->
+
+ <!-- To listen to portlet deployments -->
+ <!--<servlet>
+ <servlet-name>ContainerServlet</servlet-name>
+
<servlet-class>org.jboss.portal.web.impl.tomcat.TC6ContainerServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>-->
+ <!--<listener>
+
<listener-class>org.jboss.portal.wsrp.exo.KernelListener</listener-class>
+ </listener>
+ <servlet>
+ <servlet-name>WSRPExoInt</servlet-name>
+
<servlet-class>org.jboss.portal.wsrp.exo.ExoKernelIntegration</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>-->
+
+
+ <!-- WSRP Endpoints -->
+ <servlet>
+ <servlet-name>ServiceDescriptionService</servlet-name>
+
<servlet-class>org.gatein.wsrp.endpoints.ServiceDescriptionEndpoint</servlet-class>
+ <init-param>
+ <param-name>wsrp-interface</param-name>
+
<param-value>org.oasis.wsrp.v1.WSRPV1ServiceDescriptionPortType</param-value>
+ </init-param>
+ </servlet>
+ <servlet>
+ <servlet-name>MarkupService</servlet-name>
+
<servlet-class>org.gatein.wsrp.endpoints.MarkupEndpoint</servlet-class>
+ <init-param>
+ <param-name>wsrp-interface</param-name>
+ <param-value>org.oasis.wsrp.v1.WSRPV1MarkupPortType</param-value>
+ </init-param>
+ </servlet>
+ <servlet>
+ <servlet-name>RegistrationService</servlet-name>
+
<servlet-class>org.gatein.wsrp.endpoints.RegistrationEndpoint</servlet-class>
+ <init-param>
+ <param-name>wsrp-interface</param-name>
+
<param-value>org.oasis.wsrp.v1.WSRPV1RegistrationPortType</param-value>
+ </init-param>
+ </servlet>
+ <servlet>
+ <servlet-name>PortletManagementService</servlet-name>
+
<servlet-class>org.gatein.wsrp.endpoints.PortletManagementEndpoint</servlet-class>
+ <init-param>
+ <param-name>wsrp-interface</param-name>
+
<param-value>org.oasis.wsrp.v1.WSRPV1PortletManagementPortType</param-value>
+ </init-param>
+ </servlet>
+
+ <!-- WSRP endpoint mappings -->
+ <servlet-mapping>
+ <servlet-name>ServiceDescriptionService</servlet-name>
+ <url-pattern>/ServiceDescriptionService</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>MarkupService</servlet-name>
+ <url-pattern>/MarkupService</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>RegistrationService</servlet-name>
+ <url-pattern>/RegistrationService</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>PortletManagementService</servlet-name>
+ <url-pattern>/PortletManagementService</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
+
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_services.wsdl
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_services.wsdl
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_services.wsdl 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
+ xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
+ xmlns:tns="urn:oasis:names:tc:wsrp:v1:wsdl">
+
+ <import namespace="urn:oasis:names:tc:wsrp:v1:bind"
location="wsrp_v1_bindings.wsdl"/>
+
+ <wsdl:service name="WSRPV1Service">
+ <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
name="WSRPMarkupService">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
name="WSRPServiceDescriptionService">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP"
name="WSRPRegistrationService">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
name="WSRPPortletManagementService">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <!--
+ Uncomment to use HTTP+SSL after activating the appropriate Tomcat Connector and
comment out the above service
+ definition. Adapt host name and port as appropriate.
+ <wsdl:service name="WSRPService">
+ <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP"
name="WSRPBaseService">
+ <soap:address
location="https://localhost:8443/portal-wsrp/ServiceDescriptionService"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP"
name="WSRPServiceDescriptionService">
+ <soap:address
location="https://localhost:8443/portal-wsrp/MarkupService"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP"
name="WSRPRegistrationService">
+ <soap:address
location="https://localhost:8443/portal-wsrp/RegistrationService"/>
+ </wsdl:port>
+
+ <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP"
name="WSRPPortletManagementService">
+ <soap:address
location="https://localhost:8443/portal-wsrp/PortletManagementService"/>
+ </wsdl:port>
+ </wsdl:service>-->
+</wsdl:definitions>
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_bindings.wsdl
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_bindings.wsdl
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_bindings.wsdl 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,440 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:bind"
+ xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
+ xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <!-- This file reflects v1.0 of the specification -->
+
+
+ <import namespace="urn:oasis:names:tc:wsrp:v1:intf"
+ location="wsrp_v1_interfaces.wsdl"/>
+
+ <wsdl:binding name="WSRP_v1_Markup_Binding_SOAP"
type="intf:WSRP_v1_Markup_PortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="getMarkup">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:getMarkup"/>
+ <wsdl:input name="getMarkup">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getMarkupResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidCookie">
+ <soap:fault name="InvalidCookie" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidSession">
+ <soap:fault name="InvalidSession" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedMode">
+ <soap:fault name="UnsupportedMode" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedWindowState">
+ <soap:fault name="UnsupportedWindowState"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedLocale">
+ <soap:fault name="UnsupportedLocale"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedMimeType">
+ <soap:fault name="UnsupportedMimeType"
use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="performBlockingInteraction">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"/>
+ <wsdl:input name="performBlockingInteraction">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="performBlockingInteractionResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="PortletStateChangeRequired">
+ <soap:fault name="PortletStateChangeRequired"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidCookie">
+ <soap:fault name="InvalidCookie" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidSession">
+ <soap:fault name="InvalidSession" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedMode">
+ <soap:fault name="UnsupportedMode" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedWindowState">
+ <soap:fault name="UnsupportedWindowState"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedLocale">
+ <soap:fault name="UnsupportedLocale"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="UnsupportedMimeType">
+ <soap:fault name="UnsupportedMimeType"
use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="releaseSessions">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:releaseSessions"/>
+ <wsdl:input name="releaseSessions">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="releaseSessionsResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="initCookie">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:initCookie"/>
+ <wsdl:input name="initCookie">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="initCookieResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+
+
+ <wsdl:binding name="WSRP_v1_ServiceDescription_Binding_SOAP"
type="intf:WSRP_v1_ServiceDescription_PortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="getServiceDescription">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:getServiceDescription"/>
+ <wsdl:input name="getServiceDescription">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getServiceDescriptionResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="WSRP_v1_PortletManagement_Binding_SOAP"
type="intf:WSRP_v1_PortletManagement_PortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="getPortletDescription">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:getPortletDescription"/>
+ <wsdl:input name="getPortletDescription">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getPortletDescriptionResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="clonePortlet">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:clonePortlet"/>
+ <wsdl:input name="clonePortlet">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="clonePortletResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="destroyPortlets">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:destroyPortlets"/>
+ <wsdl:input name="destroyPortlets">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="destroyPortletsResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="setPortletProperties">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:setPortletProperties"/>
+ <wsdl:input name="setPortletProperties">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="setPortletPropertiesResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="getPortletProperties">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:getPortletProperties"/>
+ <wsdl:input name="getPortletProperties">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getPortletPropertiesResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="getPortletPropertyDescription">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:getPortletPropertyDescription"/>
+ <wsdl:input name="getPortletPropertyDescription">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="getPortletPropertyDescriptionResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="AccessDenied">
+ <soap:fault name="AccessDenied" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidUserCategory">
+ <soap:fault name="InvalidUserCategory"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InconsistentParameters">
+ <soap:fault name="InconsistentParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="InvalidHandle">
+ <soap:fault name="InvalidHandle" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="WSRP_v1_Registration_Binding_SOAP"
type="intf:WSRP_v1_Registration_PortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="register">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:register"/>
+ <wsdl:input name="register">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="registerResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="deregister">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:deregister"/>
+ <wsdl:input name="deregister">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="deregisterResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+
+ <wsdl:operation name="modifyRegistration">
+ <soap:operation
soapAction="urn:oasis:names:tc:wsrp:v1:modifyRegistration"/>
+ <wsdl:input name="modifyRegistration">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="modifyRegistrationResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="InvalidRegistration">
+ <soap:fault name="InvalidRegistration"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="MissingParameters">
+ <soap:fault name="MissingParameters"
use="literal"/>
+ </wsdl:fault>
+ <wsdl:fault name="OperationFailed">
+ <soap:fault name="OperationFailed" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+</wsdl:definitions>
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_interfaces.wsdl
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_interfaces.wsdl
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_interfaces.wsdl 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,372 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:intf"
+ xmlns:types="urn:oasis:names:tc:wsrp:v1:types"
+ xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
+
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
+
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ >
+
+ <!-- This file reflects v1.0 of the specification -->
+
+ <wsdl:types>
+ <schema targetNamespace="urn:oasis:names:tc:wsrp:v1:intf"
+
xmlns="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <import namespace="urn:oasis:names:tc:wsrp:v1:types"
schemaLocation="wsrp_v1_types.xsd"/>
+
+ </schema>
+ </wsdl:types>
+
+
+ <!-- - - - - - - - - -->
+ <!-- fault messages -->
+ <!-- - - - - - - - - -->
+
+ <wsdl:message name="AccessDenied">
+ <wsdl:part name="fault" element="types:AccessDenied"/>
+ </wsdl:message>
+
+ <wsdl:message name="InvalidUserCategory">
+ <wsdl:part name="fault"
element="types:InvalidUserCategory"/>
+ </wsdl:message>
+
+ <wsdl:message name="InconsistentParameters">
+ <wsdl:part name="fault"
element="types:InconsistentParameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="InvalidRegistration">
+ <wsdl:part name="fault"
element="types:InvalidRegistration"/>
+ </wsdl:message>
+
+ <wsdl:message name="MissingParameters">
+ <wsdl:part name="fault"
element="types:MissingParameters"/>
+ </wsdl:message>
+
+ <wsdl:message name="OperationFailed">
+ <wsdl:part name="fault"
element="types:OperationFailed"/>
+ </wsdl:message>
+
+ <wsdl:message name="InvalidHandle">
+ <wsdl:part name="fault" element="types:InvalidHandle"/>
+ </wsdl:message>
+
+ <wsdl:message name="PortletStateChangeRequired">
+ <wsdl:part name="fault"
element="types:PortletStateChangeRequired"/>
+ </wsdl:message>
+
+ <wsdl:message name="InvalidCookie">
+ <wsdl:part name="fault" element="types:InvalidCookie"/>
+ </wsdl:message>
+
+ <wsdl:message name="InvalidSession">
+ <wsdl:part name="fault" element="types:InvalidSession"/>
+ </wsdl:message>
+
+ <wsdl:message name="UnsupportedMode">
+ <wsdl:part name="fault"
element="types:UnsupportedMode"/>
+ </wsdl:message>
+
+ <wsdl:message name="UnsupportedWindowState">
+ <wsdl:part name="fault"
element="types:UnsupportedWindowState"/>
+ </wsdl:message>
+
+ <wsdl:message name="UnsupportedLocale">
+ <wsdl:part name="fault"
element="types:UnsupportedLocale"/>
+ </wsdl:message>
+
+ <wsdl:message name="UnsupportedMimeType">
+ <wsdl:part name="fault"
element="types:UnsupportedMimeType"/>
+ </wsdl:message>
+
+
+ <!-- - - - - - - - - - - -->
+ <!-- Operations messages -->
+ <!-- - - - - - - - - - - -->
+
+ <wsdl:message name="getMarkup">
+ <wsdl:part name="getMarkup" element="types:getMarkup"/>
+ </wsdl:message>
+ <wsdl:message name="getMarkupResponse">
+ <wsdl:part name="getMarkupResponse"
element="types:getMarkupResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="performBlockingInteraction">
+ <wsdl:part name="performBlockingInteraction"
element="types:performBlockingInteraction"/>
+ </wsdl:message>
+ <wsdl:message name="performBlockingInteractionResponse">
+ <wsdl:part name="performBlockingInteractionResponse"
element="types:performBlockingInteractionResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="getServiceDescription">
+ <wsdl:part name="getServiceDescription"
element="types:getServiceDescription"/>
+ </wsdl:message>
+ <wsdl:message name="getServiceDescriptionResponse">
+ <wsdl:part name="getServiceDescriptionResponse"
element="types:getServiceDescriptionResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="register">
+ <wsdl:part name="register" element="types:register"/>
+ </wsdl:message>
+ <wsdl:message name="registerResponse">
+ <wsdl:part name="registerResponse"
element="types:registerResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="deregister">
+ <wsdl:part name="deregister"
element="types:deregister"/>
+ </wsdl:message>
+ <wsdl:message name="deregisterResponse">
+ <wsdl:part name="deregisterResponse"
element="types:deregisterResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="modifyRegistration">
+ <wsdl:part name="modifyRegistration"
element="types:modifyRegistration"/>
+ </wsdl:message>
+ <wsdl:message name="modifyRegistrationResponse">
+ <wsdl:part name="modifyRegistrationResponse"
element="types:modifyRegistrationResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="getPortletDescription">
+ <wsdl:part name="getPortletDescription"
element="types:getPortletDescription"/>
+ </wsdl:message>
+ <wsdl:message name="getPortletDescriptionResponse">
+ <wsdl:part name="getPortletDescriptionResponse"
element="types:getPortletDescriptionResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="clonePortlet">
+ <wsdl:part name="clonePortlet"
element="types:clonePortlet"/>
+ </wsdl:message>
+ <wsdl:message name="clonePortletResponse">
+ <wsdl:part name="clonePortletResponse"
element="types:clonePortletResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="destroyPortlets">
+ <wsdl:part name="destroyPortlets"
element="types:destroyPortlets"/>
+ </wsdl:message>
+ <wsdl:message name="destroyPortletsResponse">
+ <wsdl:part name="destroyPortletsResponse"
element="types:destroyPortletsResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="setPortletProperties">
+ <wsdl:part name="setPortletProperties"
element="types:setPortletProperties"/>
+ </wsdl:message>
+ <wsdl:message name="setPortletPropertiesResponse">
+ <wsdl:part name="setPortletPropertiesResponse"
element="types:setPortletPropertiesResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="getPortletProperties">
+ <wsdl:part name="getPortletProperties"
element="types:getPortletProperties"/>
+ </wsdl:message>
+ <wsdl:message name="getPortletPropertiesResponse">
+ <wsdl:part name="getPortletPropertiesResponse"
element="types:getPortletPropertiesResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="getPortletPropertyDescription">
+ <wsdl:part name="getPortletPropertyDescription"
element="types:getPortletPropertyDescription"/>
+ </wsdl:message>
+ <wsdl:message name="getPortletPropertyDescriptionResponse">
+ <wsdl:part name="getPortletPropertyDescriptionResponse"
element="types:getPortletPropertyDescriptionResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="releaseSessions">
+ <wsdl:part name="releaseSessions"
element="types:releaseSessions"/>
+ </wsdl:message>
+ <wsdl:message name="releaseSessionsResponse">
+ <wsdl:part name="releaseSessionsResponse"
element="types:releaseSessionsResponse"/>
+ </wsdl:message>
+
+ <wsdl:message name="initCookie">
+ <wsdl:part name="initCookie"
element="types:initCookie"/>
+ </wsdl:message>
+ <wsdl:message name="initCookieResponse">
+ <wsdl:part name="initCookieResponse"
element="types:initCookieResponse"/>
+ </wsdl:message>
+
+ <wsdl:portType name="WSRP_v1_Markup_PortType">
+ <wsdl:operation name="getMarkup">
+ <wsdl:input message="intf:getMarkup"
name="getMarkup"/>
+ <wsdl:output message="intf:getMarkupResponse"
name="getMarkupResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ <wsdl:fault message="intf:InvalidCookie"
name="InvalidCookie"/>
+ <wsdl:fault message="intf:InvalidSession"
name="InvalidSession"/>
+ <wsdl:fault message="intf:UnsupportedMode"
name="UnsupportedMode"/>
+ <wsdl:fault message="intf:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ <wsdl:fault message="intf:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <wsdl:fault message="intf:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="performBlockingInteraction">
+ <wsdl:input message="intf:performBlockingInteraction"
name="performBlockingInteraction"/>
+ <wsdl:output message="intf:performBlockingInteractionResponse"
name="performBlockingInteractionResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ <wsdl:fault message="intf:PortletStateChangeRequired"
name="PortletStateChangeRequired"/>
+ <wsdl:fault message="intf:InvalidCookie"
name="InvalidCookie"/>
+ <wsdl:fault message="intf:InvalidSession"
name="InvalidSession"/>
+ <wsdl:fault message="intf:UnsupportedMode"
name="UnsupportedMode"/>
+ <wsdl:fault message="intf:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ <wsdl:fault message="intf:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <wsdl:fault message="intf:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="releaseSessions">
+ <wsdl:input message="intf:releaseSessions"
name="releaseSessions"/>
+ <wsdl:output message="intf:releaseSessionsResponse"
name="releaseSessionsResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="initCookie">
+ <wsdl:input message="intf:initCookie"
name="initCookie"/>
+ <wsdl:output message="intf:initCookieResponse"
name="initCookieResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name="WSRP_v1_ServiceDescription_PortType">
+ <wsdl:operation name="getServiceDescription">
+ <wsdl:input message="intf:getServiceDescription"
name="getServiceDescription"/>
+ <wsdl:output message="intf:getServiceDescriptionResponse"
name="getServiceDescriptionResponse"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name="WSRP_v1_Registration_PortType">
+ <wsdl:operation name="register">
+ <wsdl:input message="intf:register" name="register"/>
+ <wsdl:output message="intf:registerResponse"
name="registerResponse"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="deregister">
+ <wsdl:input message="intf:deregister"
name="deregister"/>
+ <wsdl:output message="intf:deregisterResponse"
name="deregisterResponse"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="modifyRegistration">
+ <wsdl:input message="intf:modifyRegistration"
name="modifyRegistration"/>
+ <wsdl:output message="intf:modifyRegistrationResponse"
name="modifyRegistrationResponse"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name="WSRP_v1_PortletManagement_PortType">
+ <wsdl:operation name="getPortletDescription">
+ <wsdl:input message="intf:getPortletDescription"
name="getPortletDescription"/>
+ <wsdl:output message="intf:getPortletDescriptionResponse"
name="getPortletDescriptionResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="clonePortlet">
+ <wsdl:input message="intf:clonePortlet"
name="clonePortlet"/>
+ <wsdl:output message="intf:clonePortletResponse"
name="clonePortletResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="destroyPortlets">
+ <wsdl:input message="intf:destroyPortlets"
name="destroyPortlets"/>
+ <wsdl:output message="intf:destroyPortletsResponse"
name="destroyPortletsResponse"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="setPortletProperties">
+ <wsdl:input message="intf:setPortletProperties"
name="setPortletProperties"/>
+ <wsdl:output message="intf:setPortletPropertiesResponse"
name="setPortletPropertiesResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="getPortletProperties">
+ <wsdl:input message="intf:getPortletProperties"
name="getPortletProperties"/>
+ <wsdl:output message="intf:getPortletPropertiesResponse"
name="getPortletPropertiesResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ </wsdl:operation>
+
+ <wsdl:operation name="getPortletPropertyDescription">
+ <wsdl:input message="intf:getPortletPropertyDescription"
name="getPortletPropertyDescription"/>
+ <wsdl:output message="intf:getPortletPropertyDescriptionResponse"
+ name="getPortletPropertyDescriptionResponse"/>
+ <wsdl:fault message="intf:AccessDenied"
name="AccessDenied"/>
+ <wsdl:fault message="intf:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <wsdl:fault message="intf:InconsistentParameters"
name="InconsistentParameters"/>
+ <wsdl:fault message="intf:InvalidRegistration"
name="InvalidRegistration"/>
+ <wsdl:fault message="intf:MissingParameters"
name="MissingParameters"/>
+ <wsdl:fault message="intf:OperationFailed"
name="OperationFailed"/>
+ <wsdl:fault message="intf:InvalidHandle"
name="InvalidHandle"/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Added:
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_types.xsd
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_types.xsd
(rev 0)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/webapp/WEB-INF/wsdl/wsrp_v1_types.xsd 2009-09-28
22:21:33 UTC (rev 207)
@@ -0,0 +1,878 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<schema targetNamespace="urn:oasis:names:tc:wsrp:v1:types"
+ xmlns:types="urn:oasis:names:tc:wsrp:v1:types"
+
+
xmlns="http://www.w3.org/2001/XMLSchema"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
+ elementFormDefault="qualified">
+
+ <!-- This file reflects v1.0 of the specification -->
+
+ <import
namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+ <!-- - - - - - - - - - - - - - - - - -->
+ <!-- General types used throughout -->
+ <!-- - - - - - - - - - - - - - - - - -->
+
+ <!-- This definition matches the WSRP v1 specification, but is not used throughout
the
+ rest of these definitions as not all stacks are able to handle restrictions on
strings
+ -->
+ <simpleType name="Handle">
+ <restriction base="xsd:string">
+ <xsd:minLength value="1"/>
+ <xsd:maxLength value="255"/>
+ </restriction>
+ </simpleType>
+ <element name="Handle" type="types:Handle"/>
+
+ <!-- This definition matches the WSRP v1 specification, but is not used throughout
the
+ rest of these definitions as not all stacks are able to handle restrictions on
strings
+ -->
+ <simpleType name="ID">
+ <restriction base="xsd:string">
+ <xsd:minLength value="1"/>
+ <xsd:maxLength value="4096"/>
+ </restriction>
+ </simpleType>
+ <element name="ID" type="types:ID"/>
+
+ <!-- This definition matches the WSRP v1 specification, but is not used throughout
the
+ rest of these definitions as not all stacks are able to handle restrictions on
strings
+ -->
+ <simpleType name="Key">
+ <restriction base="xsd:string">
+ <xsd:minLength value="1"/>
+ <xsd:maxLength value="255"/>
+ </restriction>
+ </simpleType>
+ <element name="Key" type="types:Key"/>
+
+ <complexType name="Extension">
+ <sequence>
+ <!-- JBoss modification: added processContents="skip" to better
process extensions. -->
+ <any namespace="##other" processContents="skip"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="LocalizedString">
+ <sequence>
+ <element name="value" type="xsd:string"/>
+ </sequence>
+ <attribute ref="xml:lang" use="required"/>
+ <attribute name="resourceName" type="xsd:string"/>
+ </complexType>
+
+ <complexType name="ResourceList">
+ <sequence>
+ <element name="resources" type="types:Resource"
maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Resource">
+ <sequence>
+ <element name="values" type="types:ResourceValue"
maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="resourceName" type="xsd:string"
use="required"/>
+ </complexType>
+
+ <complexType name="ResourceValue">
+ <sequence>
+ <element name="value" type="xsd:string"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute ref="xml:lang" use="required"/>
+ </complexType>
+
+ <complexType name="StringArray">
+ <sequence>
+ <element name="String" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="StringArray" type="types:StringArray"/>
+
+ <complexType name="NamedString">
+ <sequence>
+ <element name="value" type="xsd:string"/>
+ </sequence>
+ <attribute name="name" type="xsd:string"
use="required"/>
+ </complexType>
+
+ <complexType name="NamedStringArray">
+ <sequence>
+ <element name="NamedString" type="types:NamedString"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="NamedStringArray"
type="types:NamedStringArray"/>
+
+ <!-- - - - - - - - - -->
+ <!-- Producer types -->
+ <!-- - - - - - - - - -->
+
+ <complexType name="RegistrationData">
+ <sequence>
+ <element name="consumerName" type="xsd:string"/>
+ <element name="consumerAgent" type="xsd:string"/>
+ <element name="methodGetSupported"
type="xsd:boolean"/>
+ <element name="consumerModes" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="consumerWindowStates" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="consumerUserScopes" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="customUserProfileData" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="registrationProperties"
type="types:Property" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="RegistrationData"
type="types:RegistrationData"/>
+
+ <complexType name="RegistrationState">
+ <sequence>
+ <element name="registrationState" type="xsd:base64Binary"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="RegistrationState"
type="types:RegistrationState"/>
+
+ <complexType name="RegistrationContext">
+ <sequence>
+ <!-- <element name="registrationHandle"
type="types:Handle"/>
+ JAX-RPC RI doesn't handle restrictions on xsd:string
+ -->
+ <element name="registrationHandle"
type="xsd:string"/>
+ <element name="registrationState" type="xsd:base64Binary"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="RegistrationContext"
type="types:RegistrationContext"/>
+
+ <complexType name="SessionContext">
+ <sequence>
+ <element name="sessionID" type="xsd:string"/>
+ <element name="expires" type="xsd:int"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="SessionContext"
type="types:SessionContext"/>
+
+ <complexType name="RuntimeContext">
+ <sequence>
+ <element name="userAuthentication"
type="xsd:string"/>
+ <element name="portletInstanceKey" type="xsd:string"
minOccurs="0"/>
+ <element name="namespacePrefix" type="xsd:string"
minOccurs="0"/>
+ <element name="templates" type="types:Templates"
minOccurs="0"/>
+ <element name="sessionID" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="RuntimeContext"
type="types:RuntimeContext"/>
+
+ <complexType name="ItemDescription">
+ <sequence>
+ <element name="description"
type="types:LocalizedString"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="itemName" type="xsd:string"
use="required"/>
+ </complexType>
+
+ <simpleType name="CookieProtocol">
+ <restriction base="xsd:string">
+ <enumeration value="none"/>
+ <enumeration value="perUser"/>
+ <enumeration value="perGroup"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="ServiceDescription">
+ <sequence>
+ <element name="requiresRegistration"
type="xsd:boolean"/>
+ <element name="offeredPortlets"
type="types:PortletDescription" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="userCategoryDescriptions"
type="types:ItemDescription" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="customUserProfileItemDescriptions"
type="types:ItemDescription" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <element name="customWindowStateDescriptions"
type="types:ItemDescription" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <element name="customModeDescriptions"
type="types:ItemDescription" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="requiresInitCookie"
type="types:CookieProtocol" default="none"
minOccurs="0"/>
+ <element name="registrationPropertyDescription"
type="types:ModelDescription" minOccurs="0"/>
+ <element name="locales" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="resourceList" type="types:ResourceList"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="ServiceDescription"
type="types:ServiceDescription"/>
+
+
+ <!-- - - - - - - - - - - - - - - - - - - -->
+ <!-- Portlet types (metadata and runtime) -->
+ <!-- - - - - - - - - - - - - - - - - - - -->
+
+ <complexType name="MarkupType">
+ <sequence>
+ <element name="mimeType" type="xsd:string"/>
+ <element name="modes" type="xsd:string"
maxOccurs="unbounded"/>
+ <element name="windowStates" type="xsd:string"
maxOccurs="unbounded"/>
+ <element name="locales" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="PortletDescription">
+ <sequence>
+ <!-- <element name="portletHandle"
type="types:Handle"/> -->
+ <element name="portletHandle" type="xsd:string"/>
+ <element name="markupTypes" type="types:MarkupType"
maxOccurs="unbounded"/>
+ <element name="groupID" type="xsd:string"
minOccurs="0"/>
+ <element name="description" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="shortTitle" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="title" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="displayName" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="keywords" type="types:LocalizedString"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="userCategories" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="userProfileItems" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="usesMethodGet" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="defaultMarkupSecure" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="onlySecure" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="userContextStoredInSession"
type="xsd:boolean" default="false" minOccurs="0"/>
+ <element name="templatesStoredInSession"
type="xsd:boolean" default="false" minOccurs="0"/>
+ <element name="hasUserSpecificState" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="doesUrlTemplateProcessing"
type="xsd:boolean" default="false" minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="PortletDescriptionResponse">
+ <sequence>
+ <element name="portletDescription"
type="types:PortletDescription"/>
+ <element name="resourceList" type="types:ResourceList"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="PortletContext">
+ <sequence>
+ <!-- <element name="portletHandle"
type="types:Handle"/> -->
+ <element name="portletHandle" type="xsd:string"/>
+ <element name="portletState" type="xsd:base64Binary"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="PortletContext"
type="types:PortletContext"/>
+
+ <complexType name="DestroyFailed">
+ <sequence>
+ <element name="portletHandle" type="xsd:string"/>
+ <element name="reason" type="xsd:string"/>
+ </sequence>
+ </complexType>
+
+ <!-- - - - - - - - - - - - -->
+ <!-- Markup oriented types -->
+ <!-- - - - - - - - - - - - -->
+
+ <complexType name="ClientData">
+ <sequence>
+ <element name="userAgent" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="ClientData" type="types:ClientData"/>
+
+ <complexType name="CacheControl">
+ <sequence>
+ <element name="expires" type="xsd:int"/>
+ <element name="userScope" type="xsd:string"/>
+ <element name="validateTag" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Templates">
+ <sequence>
+ <element name="defaultTemplate" type="xsd:string"
nillable="true"/>
+ <element name="blockingActionTemplate" type="xsd:string"
minOccurs="0"/>
+ <element name="renderTemplate" type="xsd:string"
minOccurs="0"/>
+ <element name="resourceTemplate" type="xsd:string"
minOccurs="0"/>
+ <element name="secureDefaultTemplate" type="xsd:string"
nillable="true"/>
+ <element name="secureBlockingActionTemplate"
type="xsd:string" minOccurs="0"/>
+ <element name="secureRenderTemplate" type="xsd:string"
minOccurs="0"/>
+ <element name="secureResourceTemplate" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="Templates" type="types:Templates"/>
+
+ <complexType name="MarkupParams">
+ <sequence>
+ <element name="secureClientCommunication"
type="xsd:boolean"/>
+ <element name="locales" type="xsd:string"
maxOccurs="unbounded"/>
+ <element name="mimeTypes" type="xsd:string"
maxOccurs="unbounded"/>
+ <element name="mode" type="xsd:string"/>
+ <element name="windowState" type="xsd:string"/>
+ <element name="clientData" type="types:ClientData"
minOccurs="0"/>
+ <element name="navigationalState" type="xsd:string"
minOccurs="0"/>
+ <element name="markupCharacterSets" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="validateTag" type="xsd:string"
minOccurs="0"/>
+ <element name="validNewModes" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="validNewWindowStates" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="MarkupParams" type="types:MarkupParams"/>
+
+ <complexType name="MarkupResponse">
+ <sequence>
+ <element name="markupContext"
type="types:MarkupContext"/>
+ <element name="sessionContext"
type="types:SessionContext" minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="MarkupContext">
+ <sequence>
+ <element name="useCachedMarkup" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="mimeType" type="xsd:string"
minOccurs="0"/>
+ <element name="markupString" type="xsd:string"
minOccurs="0"/>
+ <element name="markupBinary" type="xsd:base64Binary"
minOccurs="0"/>
+ <element name="locale" type="xsd:string"
minOccurs="0"/>
+ <element name="requiresUrlRewriting" type="xsd:boolean"
default="false" minOccurs="0"/>
+ <element name="cacheControl" type="types:CacheControl"
minOccurs="0"/>
+ <element name="preferredTitle" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <!-- - - - - - - - - - - - - - - -->
+ <!-- Interaction oriented types -->
+ <!-- - - - - - - - - - - - - - - -->
+
+ <simpleType name="StateChange">
+ <restriction base="xsd:string">
+ <enumeration value="readWrite"/>
+ <enumeration value="cloneBeforeWrite"/>
+ <enumeration value="readOnly"/>
+ </restriction>
+ </simpleType>
+
+ <complexType name="UploadContext">
+ <sequence>
+ <element name="mimeType" type="xsd:string"/>
+ <element name="uploadData" type="xsd:base64Binary"/>
+ <element name="mimeAttributes" type="types:NamedString"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="InteractionParams">
+ <sequence>
+ <element name="portletStateChange"
type="types:StateChange"/>
+ <element name="interactionState" type="xsd:string"
minOccurs="0"/>
+ <element name="formParameters" type="types:NamedString"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="uploadContexts" type="types:UploadContext"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="InteractionParams"
type="types:InteractionParams"/>
+
+ <complexType name="UpdateResponse">
+ <sequence>
+ <element name="sessionContext"
type="types:SessionContext" minOccurs="0"/>
+ <element name="portletContext"
type="types:PortletContext" minOccurs="0"/>
+ <element name="markupContext" type="types:MarkupContext"
minOccurs="0"/>
+ <element name="navigationalState" type="xsd:string"
nillable="true"/>
+ <element name="newWindowState" type="xsd:string"
minOccurs="0"/>
+ <element name="newMode" type="xsd:string"
minOccurs="0"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="BlockingInteractionResponse">
+ <sequence>
+ <!-- Would prefer this to be a choice ... Axis and JAX-RPC failed to handle
that -->
+ <element name="updateResponse"
type="types:UpdateResponse" minOccurs="0"/>
+ <element name="redirectURL" type="xsd:string"
minOccurs="0"/>
+ <!-- end prefer this to be a choice -->
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="BlockingInteractionResponse"
type="types:BlockingInteractionResponse"/>
+
+ <!-- - - - - - - - - - - -->
+ <!-- User Profile types -->
+ <!-- - - - - - - - - - - -->
+
+ <complexType name="Postal">
+ <sequence>
+ <element name="name" type="xsd:string"
minOccurs="0"/>
+ <element name="street" type="xsd:string"
minOccurs="0"/>
+ <element name="city" type="xsd:string"
minOccurs="0"/>
+ <element name="stateprov" type="xsd:string"
minOccurs="0"/>
+ <element name="postalcode" type="xsd:string"
minOccurs="0"/>
+ <element name="country" type="xsd:string"
minOccurs="0"/>
+ <element name="organization" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="TelephoneNum">
+ <sequence>
+ <element name="intcode" type="xsd:string"
minOccurs="0"/>
+ <element name="loccode" type="xsd:string"
minOccurs="0"/>
+ <element name="number" type="xsd:string"
minOccurs="0"/>
+ <element name="ext" type="xsd:string"
minOccurs="0"/>
+ <element name="comment" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Telecom">
+ <sequence>
+ <element name="telephone" type="types:TelephoneNum"
minOccurs="0"/>
+ <element name="fax" type="types:TelephoneNum"
minOccurs="0"/>
+ <element name="mobile" type="types:TelephoneNum"
minOccurs="0"/>
+ <element name="pager" type="types:TelephoneNum"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Online">
+ <sequence>
+ <element name="email" type="xsd:string"
minOccurs="0"/>
+ <element name="uri" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="Contact">
+ <sequence>
+ <element name="postal" type="types:Postal"
minOccurs="0"/>
+ <element name="telecom" type="types:Telecom"
minOccurs="0"/>
+ <element name="online" type="types:Online"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="Contact" type="types:Contact"/>
+
+ <complexType name="EmployerInfo">
+ <sequence>
+ <element name="employer" type="xsd:string"
minOccurs="0"/>
+ <element name="department" type="xsd:string"
minOccurs="0"/>
+ <element name="jobtitle" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="PersonName">
+ <sequence>
+ <element name="prefix" type="xsd:string"
minOccurs="0"/>
+ <element name="given" type="xsd:string"
minOccurs="0"/>
+ <element name="family" type="xsd:string"
minOccurs="0"/>
+ <element name="middle" type="xsd:string"
minOccurs="0"/>
+ <element name="suffix" type="xsd:string"
minOccurs="0"/>
+ <element name="nickname" type="xsd:string"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="UserProfile">
+ <sequence>
+ <element name="name" type="types:PersonName"
minOccurs="0"/>
+ <element name="bdate" type="xsd:dateTime"
minOccurs="0"/>
+ <element name="gender" type="xsd:string"
minOccurs="0"/>
+ <element name="employerInfo" type="types:EmployerInfo"
minOccurs="0"/>
+ <element name="homeInfo" type="types:Contact"
minOccurs="0"/>
+ <element name="businessInfo" type="types:Contact"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="UserContext">
+ <sequence>
+ <element name="userContextKey" type="xsd:string"/>
+ <element name="userCategories" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="profile" type="types:UserProfile"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="UserContext" type="types:UserContext"/>
+
+ <!-- - - - - - - - - -->
+ <!-- Property types -->
+ <!-- - - - - - - - - -->
+
+ <complexType name="Property">
+ <sequence>
+ <!-- Would prefer this to be a choice ... Axis and JAX-RPC failed to handle
that -->
+ <element name="stringValue" type="xsd:string"
minOccurs="0"/>
+ <!-- JBoss modification: added processContents="skip" to better
process extensions. -->
+ <any namespace="##other" minOccurs="0"
maxOccurs="unbounded" processContents="skip"/>
+ <!-- end prefer this to be a choice -->
+ </sequence>
+ <attribute name="name" type="xsd:string"
use="required"/>
+ <attribute ref="xml:lang"/>
+ </complexType>
+
+ <complexType name="ResetProperty">
+ <sequence/>
+ <attribute name="name" type="xsd:string"
use="required"/>
+ </complexType>
+
+ <complexType name="PropertyList">
+ <sequence>
+ <element name="properties" type="types:Property"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="resetProperties"
type="types:ResetProperty" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="PropertyList" type="types:PropertyList"/>
+
+ <complexType name="PropertyDescription">
+ <sequence>
+ <element name="label" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="hint" type="types:LocalizedString"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="name" type="xsd:string"
use="required"/>
+ <attribute name="type" type="xsd:QName"
use="required"/>
+ </complexType>
+
+ <complexType name="ModelTypes">
+ <sequence>
+ <!-- JBoss modification: added processContents="skip" to better
process extensions. -->
+ <any namespace="##other" processContents="skip"/>
+ </sequence>
+ </complexType>
+
+ <complexType name="ModelDescription">
+ <sequence>
+ <element name="propertyDescriptions"
type="types:PropertyDescription" minOccurs="0"
maxOccurs="unbounded"/>
+ <element name="modelTypes" type="types:ModelTypes"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="ModelDescription"
type="types:ModelDescription"/>
+
+ <complexType name="PortletPropertyDescriptionResponse">
+ <sequence>
+ <element name="modelDescription"
type="types:ModelDescription" minOccurs="0"/>
+ <element name="resourceList" type="types:ResourceList"
minOccurs="0"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <!-- - - - - - - - - - - - - -->
+ <!-- operation message types -->
+ <!-- - - - - - - - - - - - - -->
+
+ <complexType name="ReturnAny">
+ <sequence>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+
+ <element name="getMarkup">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="runtimeContext"
type="types:RuntimeContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="markupParams"
type="types:MarkupParams"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getMarkupResponse"
type="types:MarkupResponse"/>
+
+ <element name="performBlockingInteraction">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="runtimeContext"
type="types:RuntimeContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="markupParams"
type="types:MarkupParams"/>
+ <element name="interactionParams"
type="types:InteractionParams"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="performBlockingInteractionResponse"
type="types:BlockingInteractionResponse"/>
+
+ <element name="getServiceDescription">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="desiredLocales" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getServiceDescriptionResponse"
type="types:ServiceDescription"/>
+
+ <element name="register" type="types:RegistrationData"/>
+ <element name="registerResponse"
type="types:RegistrationContext"/>
+
+ <element name="deregister"
type="types:RegistrationContext"/>
+ <element name="deregisterResponse" type="types:ReturnAny"/>
+
+ <element name="modifyRegistration">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="registrationData"
type="types:RegistrationData"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="modifyRegistrationResponse"
type="types:RegistrationState"/>
+
+ <element name="getPortletDescription">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="desiredLocales" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getPortletDescriptionResponse"
type="types:PortletDescriptionResponse"/>
+
+ <element name="clonePortlet">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="clonePortletResponse"
type="types:PortletContext"/>
+
+ <element name="destroyPortlets">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletHandles" type="xsd:string"
maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <complexType name="DestroyPortletsResponse">
+ <sequence>
+ <element name="destroyFailed" type="types:DestroyFailed"
minOccurs="0" maxOccurs="unbounded"/>
+ <element name="extensions" type="types:Extension"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ <element name="destroyPortletsResponse"
type="types:DestroyPortletsResponse"/>
+
+ <element name="setPortletProperties">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="propertyList"
type="types:PropertyList"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="setPortletPropertiesResponse"
type="types:PortletContext"/>
+
+ <element name="getPortletProperties">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="names" type="xsd:string"
nillable="true" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getPortletPropertiesResponse"
type="types:PropertyList"/>
+
+ <element name="getPortletPropertyDescription">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="portletContext"
type="types:PortletContext"/>
+ <element name="userContext" type="types:UserContext"
nillable="true"/>
+ <element name="desiredLocales" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="getPortletPropertyDescriptionResponse"
type="types:PortletPropertyDescriptionResponse"/>
+
+ <element name="releaseSessions">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ <element name="sessionIDs" type="xsd:string"
maxOccurs="unbounded"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="releaseSessionsResponse"
type="types:ReturnAny"/>
+
+ <element name="initCookie">
+ <complexType>
+ <sequence>
+ <element name="registrationContext"
type="types:RegistrationContext" nillable="true"/>
+ </sequence>
+ </complexType>
+ </element>
+ <element name="initCookieResponse" type="types:ReturnAny"/>
+
+ <!-- - - - - - - -->
+ <!-- fault types -->
+ <!-- - - - - - - -->
+
+ <complexType name="Fault">
+ <sequence/>
+ </complexType>
+
+ <complexType name="AccessDeniedFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="AccessDenied"
type="types:AccessDeniedFault"/>
+
+ <complexType name="InconsistentParametersFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="InconsistentParameters"
type="types:InconsistentParametersFault"/>
+
+ <complexType name="InvalidRegistrationFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="InvalidRegistration"
type="types:InvalidRegistrationFault"/>
+
+ <complexType name="MissingParametersFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="MissingParameters"
type="types:MissingParametersFault"/>
+
+ <complexType name="OperationFailedFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="OperationFailed"
type="types:OperationFailedFault"/>
+
+ <complexType name="InvalidHandleFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="InvalidHandle"
type="types:InvalidHandleFault"/>
+
+ <complexType name="InvalidUserCategoryFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="InvalidUserCategory"
type="types:InvalidUserCategoryFault"/>
+
+ <complexType name="PortletStateChangeRequiredFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="PortletStateChangeRequired"
type="types:PortletStateChangeRequiredFault"/>
+
+ <complexType name="InvalidCookieFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="InvalidCookie"
type="types:InvalidCookieFault"/>
+
+ <complexType name="InvalidSessionFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <element name="InvalidSession"
type="types:InvalidSessionFault"/>
+
+ <complexType name="UnsupportedModeFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="UnsupportedMode"
type="types:UnsupportedModeFault"/>
+
+ <complexType name="UnsupportedWindowStateFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="UnsupportedWindowState"
type="types:UnsupportedWindowStateFault"/>
+
+ <complexType name="UnsupportedLocaleFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="UnsupportedLocale"
type="types:UnsupportedLocaleFault"/>
+
+ <complexType name="UnsupportedMimeTypeFault">
+ <complexContent>
+ <extension base="types:Fault">
+ <sequence/>
+ </extension>
+ </complexContent>
+ </complexType>
+ <element name="UnsupportedMimeType"
type="types:UnsupportedMimeTypeFault"/>
+</schema>
Modified: components/wsrp/trunk/wsrp1-ws/pom.xml
===================================================================
--- components/wsrp/trunk/wsrp1-ws/pom.xml 2009-09-25 13:07:49 UTC (rev 206)
+++ components/wsrp/trunk/wsrp1-ws/pom.xml 2009-09-28 22:21:33 UTC (rev 207)
@@ -30,7 +30,7 @@
<relativePath>../build/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>wsrp1-ws</artifactId>
+ <artifactId>wsrp-wsrp1-ws</artifactId>
<packaging>jar</packaging>
<name>GateIn WSRP Generated JAX-WS Classes</name>
@@ -44,7 +44,6 @@
</dependencies>
<build>
- <finalName>wsrp1-ws</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>