From: <pka...@us...> - 2009-07-22 10:44:47
|
Revision: 342 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=342&view=rev Author: pkasprzak Date: 2009-07-22 10:44:43 +0000 (Wed, 22 Jul 2009) Log Message: ----------- * WS-Interface to RelationManager (for tests, using existing cddm.xsd data-model) * MASSIV casa updates * Tests don't work for now (will be migrated to soap-ui) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/Common/src/ConfigurationManager.wsdl Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd Modified: trunk/sandbox/lsf-adapter-demo/Common/src/ConfigurationManager.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/Common/src/ConfigurationManager.wsdl 2009-07-17 14:21:51 UTC (rev 341) +++ trunk/sandbox/lsf-adapter-demo/Common/src/ConfigurationManager.wsdl 2009-07-22 10:44:43 UTC (rev 342) @@ -45,7 +45,7 @@ </ns13:Policy> <types> <xsd:schema> - <xsd:import namespace="http://cse.campussource.de/ejb/ConfigurationManager" schemaLocation="http://localhost:8080/ConfigurationManagerWSService/ConfigurationManager?xsd=1"></xsd:import> + <xsd:import namespace="http://cse.campussource.de/ejb/ConfigurationManager" schemaLocation="ConfigurationManager.xsd"></xsd:import> </xsd:schema> </types> <message name="getSettingAsString"> Added: trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl 2009-07-22 10:44:43 UTC (rev 342) @@ -0,0 +1,101 @@ +<?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. --> +<!-- Generated 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. --> +<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" + xmlns:tns="http://cse.campussource.de/ejb/RelationManager" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + targetNamespace="http://cse.campussource.de/ejb/RelationManager" + name="RelationManagerWSService"> + + <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromCourse_WSAT_Policy"> + <ns1:ExactlyOne> + <ns1:All> + <ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability> + <ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion> + </ns1:All> + </ns1:ExactlyOne> + </ns1:Policy> + <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromAccount_WSAT_Policy"> + <ns5:ExactlyOne> + <ns5:All> + <ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability> + <ns7:ATAssertion xmlns:ns8="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns5:Optional="true" ns8:Optional="true"></ns7:ATAssertion> + </ns5:All> + </ns5:ExactlyOne> + </ns5:Policy> + + <ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromCategory_WSAT_Policy"> + <ns9:ExactlyOne> + <ns9:All> + <ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability> + <ns11:ATAssertion xmlns:ns12="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns11="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns9:Optional="true" ns12:Optional="true"></ns11:ATAssertion> + </ns9:All> + </ns9:ExactlyOne> + </ns9:Policy> + <types> + <xsd:schema> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="CDDM.xsd"></xsd:import> + </xsd:schema> + <xsd:schema> + <xsd:import namespace="http://cse.campussource.de/ejb/RelationManager" schemaLocation="RelationManager.xsd"></xsd:import> + </xsd:schema> + </types> + <message name="createRelationsFromAccount"> + + <part name="parameters" element="tns:createRelationsFromAccount"></part> + </message> + <message name="createRelationsFromCourse"> + <part name="parameters" element="tns:createRelationsFromCourse"></part> + </message> + <message name="createRelationsFromCategory"> + <part name="parameters" element="tns:createRelationsFromCategory"></part> + </message> + <portType name="RelationManager"> + <operation name="createRelationsFromAccount"> + <input message="tns:createRelationsFromAccount"></input> + </operation> + <operation name="createRelationsFromCourse"> + <input message="tns:createRelationsFromCourse"></input> + </operation> + <operation name="createRelationsFromCategory"> + <input message="tns:createRelationsFromCategory"></input> + + </operation> + </portType> + <binding name="RelationManagerPortBinding" type="tns:RelationManager"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding> + <operation name="createRelationsFromAccount"> + <ns13:PolicyReference xmlns:ns13="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromAccount_WSAT_Policy"></ns13:PolicyReference> + <soap:operation soapAction=""></soap:operation> + <input> + <soap:body use="literal"></soap:body> + </input> + </operation> + <operation name="createRelationsFromCourse"> + <ns14:PolicyReference xmlns:ns14="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromCourse_WSAT_Policy"></ns14:PolicyReference> + <soap:operation soapAction=""></soap:operation> + <input> + <soap:body use="literal"></soap:body> + </input> + + </operation> + <operation name="createRelationsFromCategory"> + <ns15:PolicyReference xmlns:ns15="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromCategory_WSAT_Policy"></ns15:PolicyReference> + <soap:operation soapAction=""></soap:operation> + <input> + <soap:body use="literal"></soap:body> + </input> + </operation> + </binding> + <service name="RelationManagerWSService"> + <port name="RelationManagerPort" binding="tns:RelationManagerPortBinding"> + <soap:address location="http://localhost:8080/RelationManagerWSService/RelationManager"></soap:address> + </port> + </service> + <plnk:partnerLinkType name="RelationManagerLinkType"> + <plnk:role name="RelationManagerRole" portType="tns:RelationManager"/> + </plnk:partnerLinkType> +</definitions> \ No newline at end of file Added: trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd (rev 0) +++ trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd 2009-07-22 10:44:43 UTC (rev 342) @@ -0,0 +1,40 @@ +<?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/RelationManager" + 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/RelationManager"> + + <xs:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="CDDM.xsd"></xs:import> + + <xs:element name="createRelationsFromAccount" type="tns:createRelationsFromAccount"></xs:element> + + <xs:element name="createRelationsFromCategory" type="tns:createRelationsFromCategory"></xs:element> + + <xs:element name="createRelationsFromCourse" type="tns:createRelationsFromCourse"></xs:element> + + <xs:complexType name="createRelationsFromCategory"> + <xs:sequence> + <xs:element name="cseId" type="xs:int"></xs:element> + <xs:element name="category" type="ns1:categoryType" minOccurs="0"></xs:element> + <xs:element name="system" type="xs:string" minOccurs="0"></xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="createRelationsFromCourse"> + <xs:sequence> + <xs:element name="cseId" type="xs:int"></xs:element> + <xs:element name="course" type="ns1:courseType" minOccurs="0"></xs:element> + <xs:element name="system" type="xs:string" minOccurs="0"></xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="createRelationsFromAccount"> + <xs:sequence> + <xs:element name="cseId" type="xs:int"></xs:element> + <xs:element name="account" type="ns1:accountType" minOccurs="0"></xs:element> + <xs:element name="system" type="xs:string" 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. |