Author: chris.laprun(a)jboss.com
Date: 2010-11-26 07:59:51 -0500 (Fri, 26 Nov 2010)
New Revision: 5292
Added:
components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-bindings.wsdl
components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-types.xsd
Modified:
components/wsrp/trunk/consumer/src/test/resources/wsdl/extra-ports.wsdl
Log:
- Fixed tests by removing references to internal test system and adding linked files.
Modified: components/wsrp/trunk/consumer/src/test/resources/wsdl/extra-ports.wsdl
===================================================================
--- components/wsrp/trunk/consumer/src/test/resources/wsdl/extra-ports.wsdl 2010-11-26
11:16:01 UTC (rev 5291)
+++ components/wsrp/trunk/consumer/src/test/resources/wsdl/extra-ports.wsdl 2010-11-26
12:59:51 UTC (rev 5292)
@@ -26,12 +26,8 @@
xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws...
xmlns:s2="urn:oasis:names:tc:wsrp:v2:bind"
xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s4="urn:bea:wsrp:ext:v2:bind"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
- <s0:import
-
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/markup?WSDL/wsrp-2.0-bindings.wsdl"
- namespace="urn:oasis:names:tc:wsrp:v2:bind"/>
- <s0:import
-
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/markup?WSDL/wlp-wsrp-2.0-bindings.wsdl"
- namespace="urn:bea:wsrp:ext:v2:bind"/>
+ <s0:import location="wsrp-2.0-bindings.wsdl"
namespace="urn:oasis:names:tc:wsrp:v2:bind"/>
+ <s0:import location="wlp-wsrp-2.0-bindings.wsdl"
namespace="urn:bea:wsrp:ext:v2:bind"/>
<wsp:UsingPolicy s0:Required="true"/>
<wsp:Policy s1:Id="ProducerDefaultPolicy">
<wsp:All>
@@ -49,20 +45,20 @@
</wsp:Policy>
<s0:service name="WSRP_v2_Service">
<s0:port binding="s2:WSRP_v2_Markup_Binding_SOAP"
name="WSRP_v2_Markup_Service">
- <s3:address
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/markup"/>
+ <s3:address
location="http://localhost:7001/wsrp/producer/wsrp-2.0/markup"/>
</s0:port>
<s0:port binding="s2:WSRP_v2_ServiceDescription_Binding_SOAP"
name="WSRP_v2_ServiceDescription_Service">
<s3:address
-
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/serviceDescription"/>
+
location="http://localhost:7001/wsrp/producer/wsrp-2.0/serviceDescription"/>
</s0:port>
<s0:port binding="s2:WSRP_v2_Registration_Binding_SOAP"
name="WSRP_v2_Registration_Service">
- <s3:address
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/registration"/>
+ <s3:address
location="http://localhost:7001/wsrp/producer/wsrp-2.0/registration"/>
</s0:port>
<s0:port binding="s2:WSRP_v2_PortletManagement_Binding_SOAP"
name="WSRP_v2_PortletManagement_Service">
- <s3:address
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-2.0/portletManagement"/>
+ <s3:address
location="http://localhost:7001/wsrp/producer/wsrp-2.0/portletManagement"/>
</s0:port>
<s0:port binding="s4:WLP_WSRP_v2_Markup_Ext_Binding_SOAP"
name="WLP_WSRP_v2_Ext_Service">
- <s3:address
location="http://stacks3.mw.lab.eng.bos.redhat.com:7001/wsrp/producer/wsrp-wlp-ext-2.0/markup"/>
+ <s3:address location="http://localhost
:7001/wsrp/producer/wsrp-wlp-ext-2.0/markup"/>
</s0:port>
</s0:service>
</s0:definitions>
\ No newline at end of file
Added: components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-bindings.wsdl
===================================================================
--- components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-bindings.wsdl
(rev 0)
+++
components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-bindings.wsdl 2010-11-26
12:59:51 UTC (rev 5292)
@@ -0,0 +1,573 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2010, 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.
+ -->
+
+<s0:definitions targetNamespace="urn:bea:wsrp:ext:v2:bind"
xmlns=""
xmlns:s0="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:s1="urn:oasis:names:tc:wsrp:v2:types"
xmlns:s2="urn:bea:wsrp:ext:v2:types"
+ xmlns:s3="urn:bea:wsrp:ext:v2:bind"
xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/"
+
xmlns:s5="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:s6="http://schemas.xmlsoap.org/wsdl/mime/"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import namespace="urn:bea:wsrp:ext:v2:types"
schemaLocation="wlp-wsrp-2.0-types.xsd"/>
+ <s0:message name="AccessDenied">
+ <s0:part element="s1:AccessDenied" name="fault"/>
+ </s0:message>
+ <s0:message name="InvalidUserCategory">
+ <s0:part element="s1:InvalidUserCategory" name="fault"/>
+ </s0:message>
+ <s0:message name="InconsistentParameters">
+ <s0:part element="s1:InconsistentParameters"
name="fault"/>
+ </s0:message>
+ <s0:message name="InvalidRegistration">
+ <s0:part element="s1:InvalidRegistration" name="fault"/>
+ </s0:message>
+ <s0:message name="ModifyRegistrationRequired">
+ <s0:part element="s1:ModifyRegistrationRequired"
name="fault"/>
+ </s0:message>
+ <s0:message name="MissingParameters">
+ <s0:part element="s1:MissingParameters" name="fault"/>
+ </s0:message>
+ <s0:message name="OperationFailed">
+ <s0:part element="s1:OperationFailed" name="fault"/>
+ </s0:message>
+ <s0:message name="OperationNotSupported">
+ <s0:part element="s1:OperationNotSupported"
name="fault"/>
+ </s0:message>
+ <s0:message name="InvalidHandle">
+ <s0:part element="s1:InvalidHandle" name="fault"/>
+ </s0:message>
+ <s0:message name="PortletStateChangeRequired">
+ <s0:part element="s1:PortletStateChangeRequired"
name="fault"/>
+ </s0:message>
+ <s0:message name="ResourceSuspended">
+ <s0:part element="s1:ResourceSuspended" name="fault"/>
+ </s0:message>
+ <s0:message name="InvalidCookie">
+ <s0:part element="s1:InvalidCookie" name="fault"/>
+ </s0:message>
+ <s0:message name="InvalidSession">
+ <s0:part element="s1:InvalidSession" name="fault"/>
+ </s0:message>
+ <s0:message name="UnsupportedMode">
+ <s0:part element="s1:UnsupportedMode" name="fault"/>
+ </s0:message>
+ <s0:message name="UnsupportedWindowState">
+ <s0:part element="s1:UnsupportedWindowState"
name="fault"/>
+ </s0:message>
+ <s0:message name="UnsupportedLocale">
+ <s0:part element="s1:UnsupportedLocale" name="fault"/>
+ </s0:message>
+ <s0:message name="UnsupportedMimeType">
+ <s0:part element="s1:UnsupportedMimeType" name="fault"/>
+ </s0:message>
+ <s0:message name="getMarkup">
+ <s0:part element="s1:getMarkup" name="getMarkup"/>
+ </s0:message>
+ <s0:message name="getMarkupResponse">
+ <s0:part element="s1:getMarkupResponse"
name="getMarkupResponse"/>
+ </s0:message>
+ <s0:message name="getResource">
+ <s0:part element="s1:getResource" name="getResource"/>
+ </s0:message>
+ <s0:message name="getResourceResponse">
+ <s0:part element="s1:getResourceResponse"
name="getResourceResponse"/>
+ <s0:part element="s2:Markup" name="markup"/>
+ </s0:message>
+ <s0:message name="performBlockingInteraction">
+ <s0:part element="s1:performBlockingInteraction"
name="performBlockingInteraction"/>
+ </s0:message>
+ <s0:message name="performBlockingInteractionResponse">
+ <s0:part element="s1:performBlockingInteractionResponse"
name="performBlockingInteractionResponse"/>
+ </s0:message>
+ <s0:message name="handleEvents">
+ <s0:part element="s1:handleEvents" name="handleEvents"/>
+ </s0:message>
+ <s0:message name="handleEventsResponse">
+ <s0:part element="s1:handleEventsResponse"
name="handleEventsResponse"/>
+ </s0:message>
+ <s0:message name="getRenderDependencies">
+ <s0:part element="s2:getRenderDependencies"
name="getRenderDependencies"/>
+ </s0:message>
+ <s0:message name="getRenderDependenciesResponse">
+ <s0:part element="s2:RenderDependenciesResponse"
name="getRenderDependenciesResponse"/>
+ </s0:message>
+ <s0:message name="releaseSessions">
+ <s0:part element="s1:releaseSessions"
name="releaseSessions"/>
+ </s0:message>
+ <s0:message name="releaseSessionsResponse">
+ <s0:part element="s1:releaseSessionsResponse"
name="releaseSessionsResponse"/>
+ </s0:message>
+ <s0:message name="initCookie">
+ <s0:part element="s1:initCookie" name="initCookie"/>
+ </s0:message>
+ <s0:message name="initCookieResponse">
+ <s0:part element="s1:initCookieResponse"
name="initCookieResponse"/>
+ </s0:message>
+ <s0:portType name="WLP_WSRP_v2_Markup_Ext_PortType">
+ <s0:operation name="getMarkup">
+ <s0:input message="s3:getMarkup" name="getMarkup"/>
+ <s0:output message="s3:getMarkupResponse"
name="getMarkupResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <s0:fault message="s3:InconsistentParameters"
name="InconsistentParameters"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ <s0:fault message="s3:InvalidHandle"
name="InvalidHandle"/>
+ <s0:fault message="s3:InvalidCookie"
name="InvalidCookie"/>
+ <s0:fault message="s3:InvalidSession"
name="InvalidSession"/>
+ <s0:fault message="s3:UnsupportedMode"
name="UnsupportedMode"/>
+ <s0:fault message="s3:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ <s0:fault message="s3:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <s0:fault message="s3:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ </s0:operation>
+ <s0:operation name="getResource">
+ <s0:input message="s3:getResource"
name="getResource"/>
+ <s0:output message="s3:getResourceResponse"
name="getResourceResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <s0:fault message="s3:InconsistentParameters"
name="InconsistentParameters"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ <s0:fault message="s3:InvalidHandle"
name="InvalidHandle"/>
+ <s0:fault message="s3:InvalidCookie"
name="InvalidCookie"/>
+ <s0:fault message="s3:InvalidSession"
name="InvalidSession"/>
+ <s0:fault message="s3:UnsupportedMode"
name="UnsupportedMode"/>
+ <s0:fault message="s3:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ <s0:fault message="s3:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <s0:fault message="s3:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ </s0:operation>
+ <s0:operation name="performBlockingInteraction">
+ <s0:input message="s3:performBlockingInteraction"
name="performBlockingInteraction"/>
+ <s0:output message="s3:performBlockingInteractionResponse"
name="performBlockingInteractionResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <s0:fault message="s3:InconsistentParameters"
name="InconsistentParameters"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ <s0:fault message="s3:InvalidHandle"
name="InvalidHandle"/>
+ <s0:fault message="s3:PortletStateChangeRequired"
name="PortletStateChangeRequired"/>
+ <s0:fault message="s3:InvalidCookie"
name="InvalidCookie"/>
+ <s0:fault message="s3:InvalidSession"
name="InvalidSession"/>
+ <s0:fault message="s3:UnsupportedMode"
name="UnsupportedMode"/>
+ <s0:fault message="s3:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ <s0:fault message="s3:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <s0:fault message="s3:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ </s0:operation>
+ <s0:operation name="releaseSessions">
+ <s0:input message="s3:releaseSessions"
name="releaseSessions"/>
+ <s0:output message="s3:releaseSessionsResponse"
name="releaseSessionsResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ </s0:operation>
+ <s0:operation name="initCookie">
+ <s0:input message="s3:initCookie" name="initCookie"/>
+ <s0:output message="s3:initCookieResponse"
name="initCookieResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ </s0:operation>
+ <s0:operation name="handleEvents">
+ <s0:input message="s3:handleEvents"/>
+ <s0:output message="s3:handleEventsResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InconsistentParameters"
name="InconsistentParameters"/>
+ <s0:fault message="s3:InvalidCookie"
name="InvalidCookie"/>
+ <s0:fault message="s3:InvalidHandle"
name="InvalidHandle"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:InvalidSession"
name="InvalidSession"/>
+ <s0:fault message="s3:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:ModifyRegistrationRequired"
name="ModifyRegistrationRequired"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ <s0:fault message="s3:OperationNotSupported"
name="OperationNotSupported"/>
+ <s0:fault message="s3:PortletStateChangeRequired"
name="PortletStateChangeRequired"/>
+ <s0:fault message="s3:ResourceSuspended"
name="ResourceSuspended"/>
+ <s0:fault message="s3:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <s0:fault message="s3:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ <s0:fault message="s3:UnsupportedMode"
name="UnsupportedMode"/>
+ <s0:fault message="s3:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ </s0:operation>
+ <s0:operation name="getRenderDependencies">
+ <s0:input message="s3:getRenderDependencies"/>
+ <s0:output message="s3:getRenderDependenciesResponse"/>
+ <s0:fault message="s3:AccessDenied"
name="AccessDenied"/>
+ <s0:fault message="s3:InconsistentParameters"
name="InconsistentParameters"/>
+ <s0:fault message="s3:InvalidCookie"
name="InvalidCookie"/>
+ <s0:fault message="s3:InvalidHandle"
name="InvalidHandle"/>
+ <s0:fault message="s3:InvalidRegistration"
name="InvalidRegistration"/>
+ <s0:fault message="s3:InvalidSession"
name="InvalidSession"/>
+ <s0:fault message="s3:InvalidUserCategory"
name="InvalidUserCategory"/>
+ <s0:fault message="s3:MissingParameters"
name="MissingParameters"/>
+ <s0:fault message="s3:ModifyRegistrationRequired"
name="ModifyRegistrationRequired"/>
+ <s0:fault message="s3:OperationFailed"
name="OperationFailed"/>
+ <s0:fault message="s3:ResourceSuspended"
name="ResourceSuspended"/>
+ <s0:fault message="s3:UnsupportedLocale"
name="UnsupportedLocale"/>
+ <s0:fault message="s3:UnsupportedMimeType"
name="UnsupportedMimeType"/>
+ <s0:fault message="s3:UnsupportedMode"
name="UnsupportedMode"/>
+ <s0:fault message="s3:UnsupportedWindowState"
name="UnsupportedWindowState"/>
+ </s0:operation>
+ </s0:portType>
+ <s0:binding name="WLP_WSRP_v2_Markup_Ext_Binding_SOAP"
type="s3:WLP_WSRP_v2_Markup_Ext_PortType">
+ <s4:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <s0:operation name="getMarkup">
+ <s4:operation soapAction="urn:bea:wsrp:ext:v2:getMarkup"/>
+ <s0:input name="getMarkup">
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output name="getMarkupResponse">
+ <s6:multipartRelated>
+ <s6:part>
+ <s4:body parts="getMarkupResponse"
use="literal"/>
+ </s6:part>
+ </s6:multipartRelated>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidUserCategory">
+ <s4:fault name="InvalidUserCategory"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InconsistentParameters">
+ <s4:fault name="InconsistentParameters"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidHandle">
+ <s4:fault name="InvalidHandle" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidCookie">
+ <s4:fault name="InvalidCookie" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidSession">
+ <s4:fault name="InvalidSession" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMode">
+ <s4:fault name="UnsupportedMode" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedWindowState">
+ <s4:fault name="UnsupportedWindowState"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedLocale">
+ <s4:fault name="UnsupportedLocale" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMimeType">
+ <s4:fault name="UnsupportedMimeType"
use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="getResource">
+ <s4:operation soapAction="urn:bea:wsrp:ext:v2:getResource"/>
+ <s0:input name="getResource">
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output name="getResourceResponse">
+ <s6:multipartRelated>
+ <s6:part>
+ <s4:body parts="getResourceResponse"
use="literal"/>
+ </s6:part>
+ <s6:part>
+ <s6:content part="markup"
type="application/octetstream"/>
+ </s6:part>
+ </s6:multipartRelated>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidUserCategory">
+ <s4:fault name="InvalidUserCategory"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InconsistentParameters">
+ <s4:fault name="InconsistentParameters"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidHandle">
+ <s4:fault name="InvalidHandle" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidCookie">
+ <s4:fault name="InvalidCookie" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidSession">
+ <s4:fault name="InvalidSession" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMode">
+ <s4:fault name="UnsupportedMode" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedWindowState">
+ <s4:fault name="UnsupportedWindowState"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedLocale">
+ <s4:fault name="UnsupportedLocale" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMimeType">
+ <s4:fault name="UnsupportedMimeType"
use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="performBlockingInteraction">
+ <s4:operation
soapAction="urn:bea:wsrp:ext:v2:performBlockingInteraction"/>
+ <s0:input name="performBlockingInteraction">
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s6:multipartRelated>
+ <s6:part>
+ <s4:body parts="performBlockingInteraction"
use="literal"/>
+ </s6:part>
+ </s6:multipartRelated>
+ </s0:input>
+ <s0:output name="performBlockingInteractionResponse">
+ <s4:body use="literal"/>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidUserCategory">
+ <s4:fault name="InvalidUserCategory"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InconsistentParameters">
+ <s4:fault name="InconsistentParameters"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidHandle">
+ <s4:fault name="InvalidHandle" use="literal"/>
+ </s0:fault>
+ <s0:fault name="PortletStateChangeRequired">
+ <s4:fault name="PortletStateChangeRequired"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidCookie">
+ <s4:fault name="InvalidCookie" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidSession">
+ <s4:fault name="InvalidSession" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMode">
+ <s4:fault name="UnsupportedMode" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedWindowState">
+ <s4:fault name="UnsupportedWindowState"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedLocale">
+ <s4:fault name="UnsupportedLocale" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMimeType">
+ <s4:fault name="UnsupportedMimeType"
use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="releaseSessions">
+ <s4:operation
soapAction="urn:bea:wsrp:ext:v2:releaseSessions"/>
+ <s0:input name="releaseSessions">
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output name="releaseSessionsResponse">
+ <s4:body use="literal"/>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="initCookie">
+ <s4:operation soapAction="urn:bea:wsrp:ext:v2:initCookie"/>
+ <s0:input name="initCookie">
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output name="initCookieResponse">
+ <s4:body use="literal"/>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="handleEvents">
+ <s4:operation soapAction="urn:bea:wsrp:ext:v2:handleEvents"/>
+ <s0:input>
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output>
+ <s4:body use="literal"/>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InconsistentParameters">
+ <s4:fault name="InconsistentParameters"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidCookie">
+ <s4:fault name="InvalidCookie" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidHandle">
+ <s4:fault name="InvalidHandle" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidSession">
+ <s4:fault name="InvalidSession" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidUserCategory">
+ <s4:fault name="InvalidUserCategory"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="ModifyRegistrationRequired">
+ <s4:fault name="ModifyRegistrationRequired"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationNotSupported">
+ <s4:fault name="OperationNotSupported"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="PortletStateChangeRequired">
+ <s4:fault name="PortletStateChangeRequired"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="ResourceSuspended">
+ <s4:fault name="ResourceSuspended" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedLocale">
+ <s4:fault name="UnsupportedLocale" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMimeType">
+ <s4:fault name="UnsupportedMimeType"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMode">
+ <s4:fault name="UnsupportedMode" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedWindowState">
+ <s4:fault name="UnsupportedWindowState"
use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ <s0:operation name="getRenderDependencies">
+ <s4:operation
soapAction="urn:bea:wsrp:ext:v2:getRenderDependencies"/>
+ <s0:input>
+ <s5:Policy>
+ <s5:PolicyReference URI="#ProducerDefaultPolicy"/>
+ </s5:Policy>
+ <s4:body use="literal"/>
+ </s0:input>
+ <s0:output>
+ <s4:body use="literal"/>
+ </s0:output>
+ <s0:fault name="AccessDenied">
+ <s4:fault name="AccessDenied" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InconsistentParameters">
+ <s4:fault name="InconsistentParameters"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidCookie">
+ <s4:fault name="InvalidCookie" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidHandle">
+ <s4:fault name="InvalidHandle" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidRegistration">
+ <s4:fault name="InvalidRegistration"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidSession">
+ <s4:fault name="InvalidSession" use="literal"/>
+ </s0:fault>
+ <s0:fault name="InvalidUserCategory">
+ <s4:fault name="InvalidUserCategory"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="MissingParameters">
+ <s4:fault name="MissingParameters" use="literal"/>
+ </s0:fault>
+ <s0:fault name="ModifyRegistrationRequired">
+ <s4:fault name="ModifyRegistrationRequired"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="OperationFailed">
+ <s4:fault name="OperationFailed" use="literal"/>
+ </s0:fault>
+ <s0:fault name="ResourceSuspended">
+ <s4:fault name="ResourceSuspended" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedLocale">
+ <s4:fault name="UnsupportedLocale" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMimeType">
+ <s4:fault name="UnsupportedMimeType"
use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedMode">
+ <s4:fault name="UnsupportedMode" use="literal"/>
+ </s0:fault>
+ <s0:fault name="UnsupportedWindowState">
+ <s4:fault name="UnsupportedWindowState"
use="literal"/>
+ </s0:fault>
+ </s0:operation>
+ </s0:binding>
+</s0:definitions>
\ No newline at end of file
Added: components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-types.xsd
===================================================================
--- components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-types.xsd
(rev 0)
+++
components/wsrp/trunk/consumer/src/test/resources/wsdl/wlp-wsrp-2.0-types.xsd 2010-11-26
12:59:51 UTC (rev 5292)
@@ -0,0 +1,600 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2010, 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.
+ -->
+
+<xs:schema elementFormDefault="qualified"
targetNamespace="urn:bea:wsrp:ext:v2:types"
+ xmlns:types="urn:oasis:names:tc:wsrp:v2:types"
xmlns:wlp-types="urn:bea:wsrp:ext:v2:types"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <!-- Import WSRP V2 Types -->
+ <xs:import namespace="urn:oasis:names:tc:wsrp:v2:types"
schemaLocation="wsrp-2.0-types.xsd"/>
+ <xs:element name="FaultDetail">
+ <xs:annotation>
+ <xs:documentation>Specifies fault detail</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="1" name="created"
type="xs:dateTime"/>
+ <xs:element minOccurs="1" name="trace"
type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Markup">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="binary" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Upload">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="binary" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <!-- This element descriptions an event handler in a portlet description-->
+ <xs:element name="EventDescription"
type="wlp-types:EventDescription"/>
+ <xs:complexType name="EventDescription">
+ <xs:sequence>
+ <xs:element name="eventName" type="xs:QName"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="alias" type="xs:QName"/>
+ <xs:element maxOccurs="1" minOccurs="0"
name="portalEventType" type="wlp-types:PortalEventType"/>
+ <xs:element minOccurs="0" name="description"
type="types:LocalizedString"/>
+ <xs:element minOccurs="0" name="handleEventDescription"
type="wlp-types:FrameworkEventDescription"/>
+ </xs:sequence>
+ <xs:attribute default="true" name="chainWildcardAliases"
type="xs:boolean"/>
+ </xs:complexType>
+ <xs:element name="portletEventDescriptions"
type="wlp-types:handledEvents"/>
+ <xs:complexType name="PortalEventType">
+ <xs:attribute name="type" type="xs:string"/>
+ </xs:complexType>
+ <!-- This element extends event descriptions in the service description -->
+ <xs:element name="EventInformation"
type="wlp-types:EventInformation"/>
+ <xs:complexType name="EventInformation">
+ <xs:attribute name="class" type="xs:string"
use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="handledEvents">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="event" type="wlp-types:EventDescription"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- This element describes an event -->
+ <xs:element name="eventSource"
type="wlp-types:EventSource"/>
+ <xs:complexType name="EventSource">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="sourceDefinitionLabel"
type="xs:string"/>
+ <xs:element minOccurs="0" name="sourceInstanceLabel"
type="xs:string"/>
+ <xs:element minOccurs="0" name="windowInfo"
type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string"
use="optional"/>
+ </xs:complexType>
+ <xs:complexType name="EventPayload">
+ <xs:sequence>
+ <xs:element name="binary" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="SimpleEventPayload">
+ <xs:sequence>
+ <xs:choice maxOccurs="1" minOccurs="0">
+ <xs:element name="boolean" type="xs:boolean"/>
+ <xs:element name="byte" type="xs:byte"/>
+ <xs:element name="short" type="xs:short"/>
+ <xs:element name="int" type="xs:int"/>
+ <xs:element name="long" type="xs:long"/>
+ <xs:element name="float" type="xs:float"/>
+ <xs:element name="double" type="xs:double"/>
+ <xs:element name="string" type="xs:string"/>
+ <xs:element name="integer" type="xs:integer"/>
+ <xs:element name="decimal" type="xs:decimal"/>
+ <xs:element name="QName" type="xs:QName"/>
+ <xs:element name="duration" type="xs:duration"/>
+ <xs:element name="dateTime" type="xs:dateTime"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="FrameworkEventDescription">
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="wlp-types:changeWindowState"/>
+ <xs:element ref="wlp-types:changeWindowMode"/>
+ <xs:element ref="wlp-types:activatePage"/>
+ <xs:element ref="wlp-types:invokePageFlowAction"/>
+ <xs:element ref="wlp-types:invokeStrutsAction"/>
+ <xs:element ref="wlp-types:fireCustomEvent"/>
+ <xs:element ref="wlp-types:fireEvent"/>
+ <xs:element ref="wlp-types:invokeBackingFileMethod"/>
+ <xs:element ref="wlp-types:dispatchToRemotePortlet"/>
+ <xs:element ref="wlp-types:invokeJavaPortletMethod"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="eventLabel" type="xs:string"/>
+ <!-- This restriction cannot be validated with XML Spy
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="(\p{L}|_|\$)(\p{L}|_|\$|\p{Nd})*"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ -->
+ <xs:attribute name="filterable" type="xs:boolean"/>
+ <xs:attribute name="onlyIfDisplayed" type="xs:boolean"/>
+ <xs:attribute name="sourceDefinitionLabels"
type="xs:string"/>
+ <xs:attribute name="fromSelfInstanceOnly"
type="xs:boolean"/>
+ <xs:attribute name="sourceDefinitionWildcard">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="this"/>
+ <xs:enumeration value="any"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <!-- <xs:attribute name="description"
type="xs:string"/>-->
+ </xs:complexType>
+ <xs:complexType name="FrameworkPortalEventDescription">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:FrameworkEventDescription">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="filterEvent" type="wlp-types:filterEventType"/>
+ </xs:sequence>
+ <xs:attribute name="event">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="onActivation"/>
+ <xs:enumeration value="onDeactivation"/>
+ <xs:enumeration value="onMinimize"/>
+ <xs:enumeration value="onMaximize"/>
+ <xs:enumeration value="onNormal"/>
+ <xs:enumeration value="onDelete"/>
+ <xs:enumeration value="onFloat"/>
+ <xs:enumeration value="onHelp"/>
+ <xs:enumeration value="onEdit"/>
+ <xs:enumeration value="onView"/>
+ <xs:enumeration value="onRefresh"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="FrameworkEventDescription"
type="wlp-types:FrameworkEventDescription"/>
+ <xs:element name="handlePortalEventDescription"
substitutionGroup="wlp-types:FrameworkEventDescription"
+ type="wlp-types:FrameworkPortalEventDescription"/>
+ <xs:complexType name="filterEventType">
+ <xs:attribute name="eventLabel" type="xs:string"/>
+ <!-- This restriction cannot be validated with XML Spy
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="(\p{L}|_|\$)(\p{L}|_|\$|\p{Nd})*"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ -->
+ <xs:attribute name="sourceInstanceLabels"
type="xs:string"/>
+ <xs:attribute name="sourceInstanceWildcard">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="this"/>
+ <xs:enumeration value="any"/>
+ <xs:enumeration value="none"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:element name="changeWindowState"
type="wlp-types:changeWindowStateType"/>
+ <xs:element name="changeWindowMode"
type="wlp-types:changeWindowModeType"/>
+ <xs:element name="activatePage"
type="wlp-types:activatePageType"/>
+ <xs:element name="invokePageFlowAction"
type="wlp-types:invokePageFlowActionType"/>
+ <xs:element name="invokeStrutsAction"
type="wlp-types:invokeStrutsActionType"/>
+ <xs:element name="fireEvent"
type="wlp-types:fireEventType"/>
+ <xs:element name="fireCustomEvent" type="xs:QName"/>
+ <xs:element name="invokeBackingFileMethod"
type="wlp-types:invokeBackingFileMethodType"/>
+ <xs:element name="invokeJavaPortletMethod"
type="wlp-types:invokeJavaPortletMethodType"/>
+ <xs:element name="dispatchToRemotePortlet"
type="wlp-types:dispatchToRemotePortletType"/>
+ <xs:complexType name="changeWindowStateType">
+ <xs:attribute name="newState">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="minimized"/>
+ <xs:enumeration value="maximized"/>
+ <xs:enumeration value="normal"/>
+ <xs:enumeration value="delete"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="changeWindowModeType">
+ <xs:attribute name="newMode" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="activatePageType"/>
+ <xs:complexType name="invokePageFlowActionType">
+ <xs:attribute name="action" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="invokeStrutsActionType">
+ <xs:attribute name="action" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="invokeBackingFileMethodType">
+ <xs:attribute name="method" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="invokeJavaPortletMethodType">
+ <xs:attribute name="method" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="fireEventType">
+ <xs:attribute name="event" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType name="dispatchToRemotePortletType"/>
+ <xs:element name="InteractionRequestState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="state" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="InteractionResponseState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="state" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="MarkupRequestState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="state" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="MarkupResponseState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="state" type="xs:base64Binary"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XmlMarkupRequestState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any maxOccurs="1" minOccurs="1"
processContents="skip"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XmlMarkupResponseState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any maxOccurs="1" minOccurs="1"
processContents="skip"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XmlInteractionRequestState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any maxOccurs="1" minOccurs="1"
processContents="skip"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="XmlInteractionResponseState">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any maxOccurs="1" minOccurs="1"
processContents="skip"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="MarkupRef">
+ <xs:annotation>
+ <xs:documentation>Specifies how markup is being
returned.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="refId">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="attachment"/>
+ <xs:enumeration value="stream"/>
+ <xs:enumeration value="inline"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LookAndFeelDescriptor">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="skeletonId" type="xs:string"/>
+ <xs:element name="skeletonPath" type="xs:string"/>
+ <xs:element name="skinId" type="xs:string"/>
+ <xs:element name="skinPath" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType abstract="true" name="ProxiableType">
+ <xs:attribute name="theme" type="xs:string"/>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="PlaceableType">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:ProxiableType">
+ <xs:attribute name="placeholder" type="xs:int"/>
+ <xs:attribute name="placement" type="xs:int"/>
+ <xs:attribute name="position" type="xs:int"/>
+ <xs:attribute name="alignment" type="xs:int"/>
+ <xs:attribute name="default" type="xs:boolean"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="NavigableType">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:PlaceableType">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="description"
type="types:LocalizedString"/>
+ <xs:element minOccurs="1" name="title"
type="types:LocalizedString"/>
+ </xs:sequence>
+ <xs:attribute name="hidden" type="xs:boolean"/>
+ <xs:attribute name="public" type="xs:boolean"/>
+ <xs:attribute name="active" type="xs:boolean"/>
+ <xs:attribute name="orientation"
type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="PageDescriptionType">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:NavigableType">
+ <xs:sequence>
+ <xs:element name="layout" type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="placeable" type="wlp-types:PlaceableType"/>
+ </xs:sequence>
+ <xs:attribute name="pageContentUri"
type="xs:string"/>
+ <xs:attribute name="pageHandle" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="PageDescription"
type="wlp-types:PageDescriptionType"/>
+ <!-- This is also navigable - but we cannot enforce it here -->
+ <xs:complexType name="BookDescriptionType">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:NavigableType">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="0"
name="menu" type="xs:string"/>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element name="PageDescription"
type="wlp-types:PageDescriptionType"/>
+ <xs:element name="BookDescription"
type="wlp-types:BookDescriptionType"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="bookHandle" type="xs:string"/>
+ <xs:attribute name="defaultPage"
type="xs:string"/>
+ <xs:attribute name="bookContentUri"
type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="BookDescription"
type="wlp-types:BookDescriptionType"/>
+ <xs:complexType name="PortletRefType">
+ <xs:complexContent>
+ <xs:extension base="wlp-types:PlaceableType">
+ <xs:sequence>
+ <xs:element name="title"
type="types:LocalizedString"/>
+ </xs:sequence>
+ <xs:attribute name="portletHandle"
type="xs:string"/>
+ <xs:attribute name="defaultMinimized"
type="xs:boolean"/>
+ <xs:attribute name="orientation"
type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="PortletRef"
type="wlp-types:PortletRefType"/>
+ <xs:complexType name="AbstractProperty">
+ <xs:attribute name="name" type="xs:string"
use="optional"/>
+ <!-- isList needed to differentiate a single value from a list of size 1 -->
+ <xs:attribute default="false" name="isList"
type="xs:boolean" use="optional"/>
+ </xs:complexType>
+ <xs:element name="stringProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:string"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="longProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:long"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="LongProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:long"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="doubleProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:double"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="DoubleProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:double"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="booleanProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="BooleanProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="dateTimeProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:dateTime"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="DateTimeProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="1"
name="value" type="xs:dateTime"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="emptyListProperty">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="wlp-types:AbstractProperty"/>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+ <!-- to fit it in a single extensions elsement -->
+ <xs:element name="propertyWrapper">
+ <xs:complexType>
+ <xs:sequence maxOccurs="unbounded" minOccurs="0">
+ <xs:choice>
+ <xs:element ref="wlp-types:stringProperty"/>
+ <xs:element ref="wlp-types:longProperty"/>
+ <xs:element ref="wlp-types:LongProperty"/>
+ <xs:element ref="wlp-types:doubleProperty"/>
+ <xs:element ref="wlp-types:DoubleProperty"/>
+ <xs:element ref="wlp-types:booleanProperty"/>
+ <xs:element ref="wlp-types:BooleanProperty"/>
+ <xs:element ref="wlp-types:dateTimeProperty"/>
+ <xs:element ref="wlp-types:DateTimeProperty"/>
+ <xs:element ref="wlp-types:emptyListProperty"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"
use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <!-- Describe look and feel dependencies -->
+ <xs:element name="renderDependenciesDescription">
+ <xs:complexType>
+ <xs:attribute default="false"
name="hasRenderDependencies" type="xs:boolean"/>
+ <!-- The consumer can cache dependencies information if this is enabled
-->
+ <xs:attribute default="true"
name="cacheRenderDependencies" type="xs:boolean"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:complexType name="DependenciesContext">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="tags" type="wlp-types:RenderDependencyTag"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="scripts" type="wlp-types:ScriptFragment"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="clientAttributes" type="types:NamedString"/>
+ <xs:element default="false" minOccurs="0"
name="requiresRewriting" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="preferredTitle"
type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="validNewModes" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="RenderDependencyTag">
+ <xs:sequence>
+ <xs:element name="text" nillable="true"
type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="attribute">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string"
use="required"/>
+ <xs:attribute name="value" type="xs:string"
use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"
use="required"/>
+ </xs:complexType>
+ <xs:complexType name="ScriptFragment">
+ <xs:sequence>
+ <!-- The eventHandler should better be an attribute. But does fails to
deserialize. -->
+ <xs:element minOccurs="1" name="eventHandler"
type="xs:string"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0"
name="fragment" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <!-- getRenderDependencies request -->
+ <xs:element name="getRenderDependencies">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="registrationContext" nillable="true"
type="types:RegistrationContext"/>
+ <xs:element name="portletContext"
type="types:PortletContext"/>
+ <xs:element name="runtimeContext"
type="types:RuntimeContext"/>
+ <xs:element name="userContext" nillable="true"
type="types:UserContext"/>
+ <xs:element name="markupParams"
type="types:MarkupParams"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <!-- getRenderDependencies response -->
+ <xs:complexType name="RenderDependenciesResponse">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="0"
name="dependenciesContext" type="wlp-types:DependenciesContext"/>
+ <xs:element maxOccurs="1" minOccurs="0"
name="sessionContext" type="types:SessionContext"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="RenderDependenciesResponse"
type="wlp-types:RenderDependenciesResponse"/>
+ <!-- getServiceDescription registration context extension -->
+ <xs:element name="getRegistrationPropertyValues">
+ <xs:complexType/>
+ </xs:element>
+ <!-- getResource status code -->
+ <xs:complexType name="ResourceStatus">
+ <xs:sequence>
+ <xs:element default="200" maxOccurs="1"
minOccurs="0" name="resourceStatusCode"
type="xs:integer"/>
+ <xs:element maxOccurs="1" minOccurs="0"
name="resourceStatusMessage" type="xs:string"/>
+ <xs:element maxOccurs="1" minOccurs="0"
name="resourceRedirectLocation" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:element name="ResourceStatus"
type="wlp-types:ResourceStatus"/>
+</xs:schema>