|
From: <pka...@us...> - 2009-07-31 21:40:19
|
Revision: 411
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=411&view=rev
Author: pkasprzak
Date: 2009-07-31 21:40:08 +0000 (Fri, 31 Jul 2009)
Log Message:
-----------
* Added get*Context() + WS-Interface
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl
trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl 2009-07-31 09:38:55 UTC (rev 410)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl 2009-07-31 21:40:08 UTC (rev 411)
@@ -9,7 +9,7 @@
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://cse.campussource.de/ejb/EntityManager"
name="EntityManagerWSService">
-
+
<ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_updateAttributes_WSAT_Policy">
<ns1:ExactlyOne>
<ns1:All>
@@ -43,7 +43,7 @@
</ns13:All>
</ns13:ExactlyOne>
</ns13:Policy>
- <ns17:Policy xmlns:ns17="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistCategory_WSAT_Policy">
+ <ns17:Policy xmlns:ns17="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_getCategoryContext_WSAT_Policy">
<ns17:ExactlyOne>
<ns17:All>
@@ -52,7 +52,7 @@
</ns17:All>
</ns17:ExactlyOne>
</ns17:Policy>
- <ns21:Policy xmlns:ns21="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistAccount_WSAT_Policy">
+ <ns21:Policy xmlns:ns21="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_getAccountContext_WSAT_Policy">
<ns21:ExactlyOne>
<ns21:All>
<ns22:ATAlwaysCapability xmlns:ns22="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns22:ATAlwaysCapability>
@@ -60,6 +60,32 @@
</ns21:All>
</ns21:ExactlyOne>
</ns21:Policy>
+ <ns25:Policy xmlns:ns25="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_getCourseContext_WSAT_Policy">
+ <ns25:ExactlyOne>
+
+ <ns25:All>
+ <ns26:ATAlwaysCapability xmlns:ns26="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns26:ATAlwaysCapability>
+ <ns27:ATAssertion xmlns:ns28="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns27="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns25:Optional="true" ns28:Optional="true"></ns27:ATAssertion>
+ </ns25:All>
+ </ns25:ExactlyOne>
+ </ns25:Policy>
+ <ns29:Policy xmlns:ns29="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistCategory_WSAT_Policy">
+ <ns29:ExactlyOne>
+ <ns29:All>
+ <ns30:ATAlwaysCapability xmlns:ns30="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns30:ATAlwaysCapability>
+ <ns31:ATAssertion xmlns:ns32="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns31="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns29:Optional="true" ns32:Optional="true"></ns31:ATAssertion>
+ </ns29:All>
+ </ns29:ExactlyOne>
+ </ns29:Policy>
+ <ns33:Policy xmlns:ns33="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistAccount_WSAT_Policy">
+ <ns33:ExactlyOne>
+ <ns33:All>
+
+ <ns34:ATAlwaysCapability xmlns:ns34="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns34:ATAlwaysCapability>
+ <ns35:ATAssertion xmlns:ns36="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns35="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns33:Optional="true" ns36:Optional="true"></ns35:ATAssertion>
+ </ns33:All>
+ </ns33:ExactlyOne>
+ </ns33:Policy>
<types>
<xsd:schema>
<xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="CDDM.xsd"></xsd:import>
@@ -72,18 +98,25 @@
<part name="parameters" element="tns:exists"></part>
</message>
<message name="existsResponse">
+
<part name="parameters" element="tns:existsResponse"></part>
</message>
+ <message name="updateAttributes">
+ <part name="parameters" element="tns:updateAttributes"></part>
+ </message>
+ <message name="updateAttributesResponse">
+ <part name="parameters" element="tns:updateAttributesResponse"></part>
+ </message>
<message name="persistAccount">
<part name="parameters" element="tns:persistAccount"></part>
</message>
<message name="persistAccountResponse">
<part name="parameters" element="tns:persistAccountResponse"></part>
-
</message>
<message name="persistCourse">
<part name="parameters" element="tns:persistCourse"></part>
</message>
+
<message name="persistCourseResponse">
<part name="parameters" element="tns:persistCourseResponse"></part>
</message>
@@ -97,30 +130,47 @@
<part name="parameters" element="tns:persistProxy"></part>
</message>
<message name="persistProxyResponse">
-
<part name="parameters" element="tns:persistProxyResponse"></part>
</message>
- <message name="updateAttributes">
- <part name="parameters" element="tns:updateAttributes"></part>
+ <message name="getAccountContext">
+ <part name="parameters" element="tns:getAccountContext"></part>
+
</message>
- <message name="updateAttributesResponse">
- <part name="parameters" element="tns:updateAttributesResponse"></part>
+ <message name="getAccountContextResponse">
+ <part name="parameters" element="tns:getAccountContextResponse"></part>
</message>
+ <message name="getCourseContext">
+ <part name="parameters" element="tns:getCourseContext"></part>
+ </message>
+ <message name="getCourseContextResponse">
+ <part name="parameters" element="tns:getCourseContextResponse"></part>
+ </message>
+ <message name="getCategoryContext">
+ <part name="parameters" element="tns:getCategoryContext"></part>
+ </message>
+ <message name="getCategoryContextResponse">
+ <part name="parameters" element="tns:getCategoryContextResponse"></part>
+ </message>
<portType name="EntityManager">
+
<operation name="exists">
<input message="tns:exists"></input>
<output message="tns:existsResponse"></output>
</operation>
+ <operation name="updateAttributes">
+ <input message="tns:updateAttributes"></input>
+ <output message="tns:updateAttributesResponse"></output>
+ </operation>
<operation name="persistAccount">
<input message="tns:persistAccount"></input>
<output message="tns:persistAccountResponse"></output>
</operation>
-
<operation name="persistCourse">
<input message="tns:persistCourse"></input>
<output message="tns:persistCourseResponse"></output>
</operation>
<operation name="persistCategory">
+
<input message="tns:persistCategory"></input>
<output message="tns:persistCategoryResponse"></output>
</operation>
@@ -128,16 +178,24 @@
<input message="tns:persistProxy"></input>
<output message="tns:persistProxyResponse"></output>
</operation>
- <operation name="updateAttributes">
- <input message="tns:updateAttributes"></input>
- <output message="tns:updateAttributesResponse"></output>
+ <operation name="getAccountContext">
+ <input message="tns:getAccountContext"></input>
+ <output message="tns:getAccountContextResponse"></output>
</operation>
+ <operation name="getCourseContext">
+ <input message="tns:getCourseContext"></input>
+ <output message="tns:getCourseContextResponse"></output>
+ </operation>
+ <operation name="getCategoryContext">
+ <input message="tns:getCategoryContext"></input>
+
+ <output message="tns:getCategoryContextResponse"></output>
+ </operation>
</portType>
-
<binding name="EntityManagerPortBinding" type="tns:EntityManager">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
<operation name="exists">
- <ns25:PolicyReference xmlns:ns25="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_exists_WSAT_Policy"></ns25:PolicyReference>
+ <ns37:PolicyReference xmlns:ns37="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_exists_WSAT_Policy"></ns37:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -146,19 +204,30 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
+ <operation name="updateAttributes">
+ <ns38:PolicyReference xmlns:ns38="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_updateAttributes_WSAT_Policy"></ns38:PolicyReference>
+
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
+ </operation>
<operation name="persistAccount">
- <ns26:PolicyReference xmlns:ns26="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistAccount_WSAT_Policy"></ns26:PolicyReference>
+ <ns39:PolicyReference xmlns:ns39="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistAccount_WSAT_Policy"></ns39:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
-
</input>
<output>
<soap:body use="literal"></soap:body>
</output>
+
</operation>
<operation name="persistCourse">
- <ns27:PolicyReference xmlns:ns27="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCourse_WSAT_Policy"></ns27:PolicyReference>
+ <ns40:PolicyReference xmlns:ns40="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCourse_WSAT_Policy"></ns40:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -168,18 +237,18 @@
</output>
</operation>
<operation name="persistCategory">
- <ns28:PolicyReference xmlns:ns28="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCategory_WSAT_Policy"></ns28:PolicyReference>
-
+ <ns41:PolicyReference xmlns:ns41="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCategory_WSAT_Policy"></ns41:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
+
<output>
<soap:body use="literal"></soap:body>
</output>
</operation>
<operation name="persistProxy">
- <ns29:PolicyReference xmlns:ns29="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistProxy_WSAT_Policy"></ns29:PolicyReference>
+ <ns42:PolicyReference xmlns:ns42="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistProxy_WSAT_Policy"></ns42:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -187,10 +256,20 @@
<output>
<soap:body use="literal"></soap:body>
</output>
+ </operation>
+ <operation name="getAccountContext">
+ <ns43:PolicyReference xmlns:ns43="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_getAccountContext_WSAT_Policy"></ns43:PolicyReference>
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
</operation>
- <operation name="updateAttributes">
- <ns30:PolicyReference xmlns:ns30="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_updateAttributes_WSAT_Policy"></ns30:PolicyReference>
+ <operation name="getCourseContext">
+ <ns44:PolicyReference xmlns:ns44="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_getCourseContext_WSAT_Policy"></ns44:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -199,6 +278,17 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
+
+ <operation name="getCategoryContext">
+ <ns45:PolicyReference xmlns:ns45="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_getCategoryContext_WSAT_Policy"></ns45:PolicyReference>
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
+ </operation>
</binding>
<service name="EntityManagerWSService">
<port name="EntityManagerPort" binding="tns:EntityManagerPortBinding">
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd 2009-07-31 09:38:55 UTC (rev 410)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd 2009-07-31 21:40:08 UTC (rev 411)
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
-<xs:schema xmlns:tns="http://cse.campussource.de/ejb/EntityManager" xmlns:ns1="http://cse.campussource.de/schema/DataTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://cse.campussource.de/ejb/EntityManager">
+<xs:schema xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
+ xmlns:ns1="http://cse.campussource.de/schema/DataTypes"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ version="1.0"
+ targetNamespace="http://cse.campussource.de/ejb/EntityManager">
<xs:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="CDDM.xsd"></xs:import>
@@ -8,6 +12,18 @@
<xs:element name="existsResponse" type="tns:existsResponse"></xs:element>
+ <xs:element name="getAccountContext" type="tns:getAccountContext"></xs:element>
+
+ <xs:element name="getAccountContextResponse" type="tns:getAccountContextResponse"></xs:element>
+
+ <xs:element name="getCategoryContext" type="tns:getCategoryContext"></xs:element>
+
+ <xs:element name="getCategoryContextResponse" type="tns:getCategoryContextResponse"></xs:element>
+
+ <xs:element name="getCourseContext" type="tns:getCourseContext"></xs:element>
+
+ <xs:element name="getCourseContextResponse" type="tns:getCourseContextResponse"></xs:element>
+
<xs:element name="persistAccount" type="tns:persistAccount"></xs:element>
<xs:element name="persistAccountResponse" type="tns:persistAccountResponse"></xs:element>
@@ -40,9 +56,23 @@
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="getCategoryContext">
+ <xs:sequence>
+ <xs:element name="entityId" type="xs:int"></xs:element>
+ <xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="getCategoryContextResponse">
+ <xs:sequence>
+ <xs:element name="return" type="ns1:categoryType" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
<xs:complexType name="persistCategory">
<xs:sequence>
<xs:element name="category" type="ns1:categoryType" minOccurs="0"></xs:element>
+
</xs:sequence>
</xs:complexType>
@@ -60,6 +90,7 @@
<xs:complexType name="persistCourseResponse">
<xs:sequence>
+
<xs:element name="return" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
@@ -68,7 +99,6 @@
<xs:sequence>
<xs:element name="entity" type="ns1:entityType" minOccurs="0"></xs:element>
</xs:sequence>
-
</xs:complexType>
<xs:complexType name="updateAttributesResponse">
@@ -78,6 +108,7 @@
</xs:complexType>
<xs:complexType name="exists">
+
<xs:sequence>
<xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="systemId" type="xs:string" minOccurs="0"></xs:element>
@@ -86,11 +117,24 @@
<xs:complexType name="existsResponse">
<xs:sequence>
-
<xs:element name="return" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="getCourseContext">
+ <xs:sequence>
+ <xs:element name="entityId" type="xs:int"></xs:element>
+ <xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
+ </xs:sequence>
+
+ </xs:complexType>
+
+ <xs:complexType name="getCourseContextResponse">
+ <xs:sequence>
+ <xs:element name="return" type="ns1:courseType" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
<xs:complexType name="persistAccount">
<xs:sequence>
<xs:element name="account" type="ns1:accountType" minOccurs="0"></xs:element>
@@ -100,6 +144,20 @@
<xs:complexType name="persistAccountResponse">
<xs:sequence>
<xs:element name="return" type="xs:int"></xs:element>
+
</xs:sequence>
</xs:complexType>
+
+ <xs:complexType name="getAccountContext">
+ <xs:sequence>
+ <xs:element name="entityId" type="xs:int"></xs:element>
+ <xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="getAccountContextResponse">
+ <xs:sequence>
+ <xs:element name="return" type="ns1:accountType" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|