initial import
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 25 Nov 2004 15:20:10 +0000 (15:20 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 25 Nov 2004 15:20:10 +0000 (15:20 +0000)
org.glite.lb.ws-interface/.Makefile.swp [new file with mode: 0644]
org.glite.lb.ws-interface/.cvsignore [new file with mode: 0755]
org.glite.lb.ws-interface/LICENSE [new file with mode: 0755]
org.glite.lb.ws-interface/Makefile [new file with mode: 0644]
org.glite.lb.ws-interface/build.xml [new file with mode: 0644]
org.glite.lb.ws-interface/interface/LB.wsdl [new file with mode: 0755]
org.glite.lb.ws-interface/project/build.properties [new file with mode: 0755]
org.glite.lb.ws-interface/project/configure.properties.xml [new file with mode: 0644]
org.glite.lb.ws-interface/project/properties.xml [new file with mode: 0644]
org.glite.lb.ws-interface/project/version.properties [new file with mode: 0755]

diff --git a/org.glite.lb.ws-interface/.Makefile.swp b/org.glite.lb.ws-interface/.Makefile.swp
new file mode 100644 (file)
index 0000000..15a25d6
Binary files /dev/null and b/org.glite.lb.ws-interface/.Makefile.swp differ
diff --git a/org.glite.lb.ws-interface/.cvsignore b/org.glite.lb.ws-interface/.cvsignore
new file mode 100755 (executable)
index 0000000..1df717b
--- /dev/null
@@ -0,0 +1,2 @@
+.project
+.cdtproject
\ No newline at end of file
diff --git a/org.glite.lb.ws-interface/LICENSE b/org.glite.lb.ws-interface/LICENSE
new file mode 100755 (executable)
index 0000000..01b973b
--- /dev/null
@@ -0,0 +1,69 @@
+LICENSE file for EGEE Middleware
+================================
+
+Copyright (c) 2004 on behalf of the EU EGEE Project: 
+The European Organization for Nuclear Research (CERN), 
+Istituto Nazionale di Fisica Nucleare (INFN), Italy
+Datamat Spa, Italy
+Centre National de la Recherche Scientifique (CNRS), France
+CS Systeme d'Information (CSSI), France
+Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
+Universiteit van Amsterdam (UvA), Netherlands
+University of Helsinki (UH.HIP), Finlan
+University of Bergen (UiB), Norway
+Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met: 
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. The end-user documentation included with the redistribution, if
+any, must include the following acknowledgment: "This product includes
+software developed by The EU EGEE Project (http://cern.ch/eu-egee/)."
+Alternatively, this acknowledgment may appear in the software itself, if
+and wherever such third-party acknowledgments normally appear.
+
+4. The names EGEE and the EU EGEE Project must not be
+used to endorse or promote products derived from this software without
+prior written permission. For written permission, please contact
+<email address>.
+
+5. You are under no obligation whatsoever to provide anyone with any
+bug fixes, patches, or upgrades to the features, functionality or
+performance of the Software ("Enhancements") that you may develop over
+time; however, if you choose to provide your Enhancements to The EU
+EGEE Project, or if you choose to otherwise publish or distribute your
+Enhancements, in source code form without contemporaneously requiring
+end users of The EU EGEE Proejct to enter into a separate written license
+agreement for such Enhancements, then you hereby grant The EU EGEE Project
+a non-exclusive, royalty-free perpetual license to install, use, copy,
+modify, prepare derivative works, incorporate into the EGEE Middleware
+or any other computer software, distribute, and sublicense your
+Enhancements or derivative works thereof, in binary and source code
+form (if any), whether developed by The EU EGEE Project or third parties.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL PROJECT OR ITS CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the EU EGEE Prject. For more information on The
+EU EGEE Project, please see http://cern.ch/eu-egee/. For more information on
+EGEE Middleware, please see http://egee-jra1.web.cern.ch/egee-jra1/
+
+
diff --git a/org.glite.lb.ws-interface/Makefile b/org.glite.lb.ws-interface/Makefile
new file mode 100644 (file)
index 0000000..051fdeb
--- /dev/null
@@ -0,0 +1,49 @@
+# Default values
+top_srcdir=.
+builddir=build
+top_builddir=${top_srcdir}/${builddir}
+stagedir=.
+distdir=.
+globalprefix=glite
+lbprefix=lb
+package=glite-lb-ws-interface
+version=0.0.0
+PREFIX=/opt/glite
+
+-include Makefile.inc
+
+VPATH=${top_srcdir}/interface
+STAGETO=interface
+
+WSDL=LB.wsdl
+
+all compile:
+
+check: 
+       @echo No unit test required for interface-only module.
+
+stage:
+       $(MAKE) install PREFIX=${stagedir}
+
+dist: distsrc distbin
+
+distsrc:
+       mkdir -p ${top_srcdir}/${package}-${version}
+       cd ${top_srcdir} && GLOBIGNORE="${package}-${version}" && cp -Rf * ${package}-${version}
+       cd ${top_srcdir} && tar -czf ${distdir}/${package}-${version}_src.tar.gz --exclude-from=project/tar_exclude ${package}-${version}
+       rm -rf ${top_srcdir}/${package}-${version}
+
+distbin:
+       $(MAKE) install PREFIX=${top_srcdir}/tmpbuilddir
+       cd ${top_srcdir}/tmpbuilddir && tar -czf ${top_srcdir}/${distdir}/${package}-${version}_bin.tar.gz *
+       rm -rf ${top_srcdir}/tmpbuilddir
+       
+install:
+       -mkdir -p ${PREFIX}/${STAGETO}
+       -mkdir -p ${PREFIX}/share/doc/${package}-${version}
+       install -m 644 ${top_srcdir}/LICENSE ${PREFIX}/share/doc/${package}-${version}
+       cd ${top_srcdir}/interface && install -m 644 ${WSDL} ${PREFIX}/${STAGETO}
+
+clean:
+       rm -f *.h
+       
diff --git a/org.glite.lb.ws-interface/build.xml b/org.glite.lb.ws-interface/build.xml
new file mode 100644 (file)
index 0000000..b412fb1
--- /dev/null
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+       Copyright (c) 2004 on behalf of the EU EGEE Project: 
+       The European Organization for Nuclear Research (CERN), 
+       Istituto Nazionale di Fisica Nucleare (INFN), Italy
+       Datamat Spa, Italy
+       Centre National de la Recherche Scientifique (CNRS), France
+       CS Systeme d'Information (CSSI), France
+       Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
+       Universiteit van Amsterdam (UvA), Netherlands
+       University of Helsinki (UH.HIP), Finland
+       University of Bergen (UiB), Norway
+       Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
+
+       Build file for the GLite lb ws-interface component
+       
+       Authors: Joachim Flammer <Joachim.Flammer@Cern.ch>      
+       Version info: $Id$
+       Release: $Name$
+
+       Revision history:
+       $Log$
+       Revision 1.5  2004/07/20 16:08:30  flammer
+       Changed incorrect my_... instead of .._template entries for subsystem and component.
+       
+       Revision 1.4  2004/07/16 16:32:53  flammer
+       Added comment where to add language target.
+       
+       Revision 1.3  2004/07/16 14:56:55  flammer
+       Corrected input path of build.properties.
+       
+       Revision 1.2  2004/07/06 20:43:19  flammer
+       Update of configure & targets.
+       
+       Revision 1.1.1.1  2004/06/18 12:40:17  flammer
+       Added general component template.
+       
+       
+-->
+
+<project name="ws-interface" default="dist">
+
+       <!-- ==============================================
+             Builds the GLite lb ws-interface component
+            ============================================== -->
+       
+       <!-- =========================================
+             Import properties (order is important)
+            ========================================= -->
+       
+       <!-- Import baseline properties & user properties -->
+       <import file="../org.glite/project/baseline.properties.xml" />
+
+       <!-- import component build properties,
+                       component properties &
+                       component common properties -->
+       <import file="./project/properties.xml"/>
+       
+       <!-- import subsystem build properties,
+                       subsystem properties &
+                       subsystem common properties -->
+       <import file="${subsystem.properties.file}"/>
+
+       <!-- import global build properties &
+                       global properties -->
+       <import file="${global.properties.file}" />
+               
+       <!-- =========================================
+             Load dependency property files (order is important)
+            ========================================= -->
+       <property file="${user.dependencies.file}"/>
+       <property file="${component.dependencies.file}" />
+       <property file="${subsystem.dependencies.file}" />
+       <property file="${global.dependencies.file}"/>
+
+       <!-- =========================================
+                 Load configuration definitions (order is important)
+             ========================================= -->
+        <import file="${global.configure.options.file}"/>
+        <import file="${component.configure.options.file}"/>
+       
+       <!-- =========================================
+             Import task definitions (order is important)
+            ========================================= -->
+       <import file="${subsystem.taskdefs.file}" />
+       <import file="${global.taskdefs.file}" />
+       
+       <!-- =========================================
+                Load common targets
+            ========================================= -->
+       <!-- Put your language target (java/c++-ant/c++-autotool/perl) here -->
+       <import file="${global.targets-simple_make.file}" />
+               
+       <!-- =========================================
+                Load version file 
+            ========================================= -->
+       <property file="${module.version.file}"/>
+       
+       <!-- ==============================================
+                Local private targets
+            ============================================== -->
+       
+       <target name="localinit"
+               description="Module specific initialization tasks">
+               <antcall target="lbmakefiles" />
+       </target>
+       
+       <target name="localcompile"
+               description="Module specific compile tasks">
+       </target>
+
+       <target name="localclean"
+               description="Module specific cleaning tasks">
+       </target>
+       
+</project>             
diff --git a/org.glite.lb.ws-interface/interface/LB.wsdl b/org.glite.lb.ws-interface/interface/LB.wsdl
new file mode 100755 (executable)
index 0000000..dfbce26
--- /dev/null
@@ -0,0 +1,358 @@
+<!-- $Header$ -->
+
+<WSDL:definitions
+       xmlns:tns="http://glite.org/wsdl/services/lb"
+       xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
+       xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+       xmlns:glitensservices="http://glite.org/wsdl/services/lb"
+       xmlns:glitenstypes="http://glite.org/wsdl/types/lb"
+       xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
+       xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
+       xmlns="http://schemas.xmlsoap.org/wsdl/"
+       targetNamespace="http://glite.org/wsdl/services/lb"
+       name="LoggingAndBookkeeping">
+
+       <WSDL:types>
+               <schema
+                       targetNamespace="http://glite.org/wsdl/types/lb"
+                       xmlns="http://www.w3.org/2001/XMLSchema"
+                       elementFormDefault="unqualified"
+                       attributeFormDefault="unqualified">
+
+                       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       <simpleType name="QueryAttr">
+                               <restriction base="xsd:string">
+                                       <enumeration value="UNDEF"/>
+                                       <enumeration value="JOBID"/>
+                                       <enumeration value="OWNER"/>
+                                       <enumeration value="STATUS"/>
+                                       <enumeration value="LOCATION"/>
+                                       <enumeration value="DESTINATION"/>
+                                       <enumeration value="DONECODE"/>
+                                       <enumeration value="USERTAG"/>
+                                       <enumeration value="TIME"/>
+                                       <enumeration value="LEVEL"/>
+                                       <enumeration value="HOST"/>
+                                       <enumeration value="SOURCE"/>
+                                       <enumeration value="INSTANCE"/>
+                                       <enumeration value="EVENT-TYPE"/>
+                                       <enumeration value="CHKPT-TAG"/>
+                                       <enumeration value="RESUBMITTED"/>
+                                       <enumeration value="PARENT"/>
+                                       <enumeration value="EXITCODE"/>
+                               </restriction>
+                       </simpleType>
+                       <simpleType name="QueryOp">
+                               <restriction base="xsd:string">
+                                       <enumeration value="EQUAL"/>
+                                       <enumeration value="LESS"/>
+                                       <enumeration value="GREATER"/>
+                                       <enumeration value="WITHIN"/>
+                                       <enumeration value="UNEQUAL"/>
+                               </restriction>
+                       </simpleType>
+                       <simpleType name="JobStatCode">
+                               <restriction base="xsd:string">
+                                       <enumeration value="UNDEF"/>
+                                       <enumeration value="SUBMITTED"/>
+                                       <enumeration value="WAITING"/>
+                                       <enumeration value="READY"/>
+                                       <enumeration value="SCHEDULED"/>
+                                       <enumeration value="RUNNING"/>
+                                       <enumeration value="DONE"/>
+                                       <enumeration value="CLEARED"/>
+                                       <enumeration value="ABORTED"/>
+                                       <enumeration value="CANCELLED"/>
+                                       <enumeration value="UNKNOWN"/>
+                                       <enumeration value="PURGED"/>
+                               </restriction>
+                       </simpleType>
+                       <simpleType name="StatJobType">
+                               <restriction base="xsd:string">
+                                       <enumeration value="SIMPLE"/>
+                                       <enumeration value="DAG"/>
+                               </restriction>
+                       </simpleType>
+                       <simpleType name="StatDoneCode">
+                               <restriction base="xsd:string">
+                                       <enumeration value="OK"/>
+                                       <enumeration value="FAILED"/>
+                                       <enumeration value="CANCELLED"/>
+                               </restriction>
+                       </simpleType>
+                       <complexType name="timeval">
+                               <sequence>
+                                       <element name="tvSec" type="xsd:long" minOccurs="1" maxOccurs="1"/>
+                                       <element name="tvUsec" type="xsd:long" minOccurs="1" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="QueryRecAttrId">
+                               <sequence>
+                                       <element name="tag" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="state" type="glitenstypes:JobStatCode" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="QueryRecValue">
+                               <sequence>
+                                       <element name="i" type="xsd:int" minOccurs="0" maxOccurs="1"/>
+                                       <element name="c" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="t" type="glitenstypes:timeval" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="QueryRec">
+                               <sequence>
+                                       <element name="op" type="glitenstypes:QueryOp" minOccurs="1" maxOccurs="1"/>
+                                       <element name="attrid" type="glitenstypes:QueryRecAttrId" minOccurs="0" maxOccurs="1"/>
+                                       <element name="value1" type="glitenstypes:QueryRecValue" minOccurs="1" maxOccurs="1"/>
+                                       <element name="value2" type="glitenstypes:QueryRecValue" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="QueryCondition">
+                               <sequence>
+                                       <element name="attr" type="glitenstypes:QueryAttr" minOccurs="1" maxOccurs="1"/>
+                                       <element name="records" type="glitenstypes:QueryRec" minOccurs="1" maxOccurs="unbounded"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="QueryConditions">
+                               <sequence>
+                                       <element name="condition" type="glitenstypes:QueryCondition" minOccurs="1" maxOccurs="unbounded"/>
+                               </sequence>
+                       </complexType>
+                       <complexType  name="TagValue">
+                               <sequence>
+                                       <element name="tag" type="xsd:string" minOccurs="1" maxOccurs="1" />
+                                       <element name="value" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <simpleType name="JobStatFlag">
+                               <restriction base="xsd:string">
+                                       <enumeration value="CLASSADS"/>
+                                       <enumeration value="CHILDREN"/>
+                                       <enumeration value="CHILDSTAT"/>
+                               </restriction>
+                       </simpleType>
+                       <complexType name="JobStatFlags">
+                               <sequence>
+                                       <element name="flag" type="glitenstypes:JobStatFlag" minOccurs="0" maxOccurs="unbounded"/>
+                               </sequence>
+                       </complexType>
+                       <complexType name="JobStat">
+                               <sequence>
+                                       <element name="state" type="glitenstypes:JobStatCode" minOccurs="1" maxOccurs="1"/>
+                                       <element name="jobId" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+                                       <element name="owner" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
+                                       <element name="jobtype" type="glitenstypes:StatJobType" minOccurs="1" maxOccurs="1"/>
+                                       <element name="parentJob" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="seed" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="childrenNum" type="xsd:int" minOccurs="1" maxOccurs="1"/>
+                                       <element name="children" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+                                       <element name="childrenHist" type="xsd:int" minOccurs="0" maxOccurs="unbounded"/>
+                                       <element name="childrenStates" type="glitenstypes:JobStat" minOccurs="0" maxOccurs="unbounded"/>
+                                       <element name="condorId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="globusId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="localId" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="jdl" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="matchedJdl" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="destination" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="condorJdl" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="rsl" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="reason" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="location" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="ceNode" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="networkServer" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="subjobFailed" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
+                                       <element name="doneCode" type="glitenstypes:StatDoneCode" minOccurs="1" maxOccurs="1"/>
+                                       <element name="exitCode" type="xsd:int" minOccurs="1" maxOccurs="1"/>
+                                       <element name="resubmitted" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
+                                       <element name="cancelling" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
+                                       <element name="cancelReason" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="cpuTime" type="xsd:int" minOccurs="1" maxOccurs="1"/>
+                                       <element name="userTags" type="glitenstypes:TagValue" minOccurs="0" maxOccurs="unbounded"/>
+                                       <element name="stateEnterTime" type="glitenstypes:timeval" minOccurs="1" maxOccurs="1"/>
+                                       <element name="lastUpdateTime" type="glitenstypes:timeval" minOccurs="1" maxOccurs="1"/>
+                                       <element name="stateEnterTimes" type="xsd:int" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
+                                       <element name="expectUpdate" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
+                                       <element name="expectFrom" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="acl" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <complexType  name="jobsOut">
+                               <sequence>
+                                       <element name="jobs" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
+                               </sequence>
+                       </complexType>
+                       <complexType  name="statesOut">
+                               <sequence>
+                                       <element name="states" type="glitenstypes:JobStat" minOccurs="0" maxOccurs="unbounded" />
+                               </sequence>
+                       </complexType>
+                       <complexType name="GenericLBFaultType">
+                               <sequence>
+                                       <element name="source" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+                                       <element name="code" type="xsd:int" minOccurs="1" maxOccurs="1"/>
+                                       <element name="text" type="xsd:string" minOccurs="1" maxOccurs="1"/>
+                                       <element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
+                                       <element name="reason" type="glitenstypes:GenericLBFaultType" minOccurs="0" maxOccurs="1"/>
+                               </sequence>
+                       </complexType>
+                       <element name="GenericLBFault" type="glitenstypes:GenericLBFaultType"/>
+               </schema>
+       </WSDL:types>
+       <message name="GetVersionRequest">
+       </message>
+       <message name="GetVersionResponse">
+               <part name="version" type="xsd:string"/>
+       </message>
+       <message name="JobStatusRequest">
+               <part name="jobid" type="xsd:string"/>
+               <part name="flags" type="glitenstypes:JobStatFlags"/>
+       </message>
+       <message name="JobStatusResponse">
+               <part name="status" type="glitenstypes:JobStat"/>
+       </message>
+       <message name="QueryJobsRequest">
+               <part name="conditions" type="glitenstypes:QueryConditions"/>
+               <part name="flags" type="glitenstypes:JobStatFlags"/>
+       </message>
+       <message name="QueryJobsResponse">
+               <part name="jobs" type="glitenstypes:jobsOut"/>
+               <part name="states" type="glitenstypes:statesOut"/>
+       </message>
+       <message name="UserJobsRequest">
+       </message>
+       <message name="UserJobsResponse">
+               <part name="jobs" type="xsd:string"/>
+               <part name="states" type="glitenstypes:JobStat"/>
+       </message>
+
+       <message name="GenericLBFault">
+               <part name="fault" element="glitenstypes:GenericLBFault"/>
+       </message>
+
+       <portType name="LoggingAndBookkeeping_PortType">
+               <operation name="GetVersion">
+                       <documentation>Query the version of LB servere
+
+Input: no input
+
+Output: Version of LB server
+
+Faults: GenericLBFault
+                       </documentation>
+                       <input name="i" message="tns:GetVersionRequest"/>
+                       <output name="o" message="tns:GetVersionResponse"/>
+                       <fault name="f" message="tns:GenericLBFault"/>
+               </operation>
+               <operation name="JobStatus">
+                       <documentation>Retrieve state of a single job.
+
+Given a job id queries LB for detailed state of the job.
+
+
+Input:
+
+jobid: Id of the job
+
+flags: Which fields of the job state should be retrieved: zero or more of CLASSADS, CHILDREN, CHILDSTAT
+
+Output: state of the job
+
+Faults: GenericLBFault
+                       </documentation>
+                       <input name="i" message="tns:JobStatusRequest"/>
+                       <output name="o" message="tns:JobStatusResponse"/>
+                       <fault name="f" message="tns:GenericLBFault"/>
+               </operation>
+               <operation name="QueryJobs">
+                       <documentation>Query for jobs satisfying set of conditions.
+
+Intput:
+
+conditions: list of lists of query conditions. 
+       Elements of the inner lists refer to a single job attribute, the conditions are or-ed.
+       Elements of the outer list may refer to different job attributes, they are and-ed.
+
+flags: Which fields of the job state should be retrieved: see JobStatus
+
+Output: list of mathching jobs, including their states
+
+Faults: GenericLBFault
+                       </documentation>
+                       <input name="i" message="tns:QueryJobsRequest"/>
+                       <output name="o" message="tns:QueryJobsResponse"/>
+                       <fault name="f" message="tns:GenericLBFault"/>
+               </operation>
+               <operation name="UserJobs">
+                       <documentation>Query all jobs of the current user.
+
+Input: no input
+
+Output: list of all user's jobs, including their states
+
+Faults: GenericLBFault
+                       </documentation>
+                       <input name="i" message="tns:UserJobsRequest"/>
+                       <output name="o" message="tns:UserJobsResponse"/>
+                       <fault name="f" message="tns:GenericLBFault"/>
+               </operation>
+       </portType>
+       <binding name="LoggingAndBookkeeping" type="tns:LoggingAndBookkeeping_PortType">
+               <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+               <operation name="GetVersion">
+                       <SOAP:operation style="rpc"/>
+                       <input name="i">
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </input>
+                       <output name="o">
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </output>
+                       <fault name="f">
+                               <SOAP:fault name="f" use="literal"/>
+                       </fault>
+               </operation>
+               <operation name="JobStatus">
+                       <SOAP:operation style="rpc"/>
+                       <input name="i">
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </input>
+                       <output name="o">
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </output>
+                       <fault name="f">
+                               <SOAP:fault name="f" use="literal"/>
+                       </fault>
+               </operation>
+               <operation name="QueryJobs">
+                       <SOAP:operation style="rpc"/>
+                       <input>
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </input>
+                       <output>
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </output>
+                       <fault name="f">
+                               <SOAP:fault name="f" use="literal"/>
+                       </fault>
+               </operation>
+               <operation name="UserJobs">
+                       <SOAP:operation style="rpc"/>
+                       <input>
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </input>
+                       <output>
+                               <SOAP:body use="literal" namespace="http://glite.org/wsdl/services/lb"/>
+                       </output>
+                       <fault name="f">
+                               <SOAP:fault name="f" use="literal"/>
+                       </fault>
+               </operation>
+       </binding>
+       <service name="LoggingAndBookkeeping">
+               <documentation>Logging and Bookkeeping service</documentation>
+               <port name="LoggingAndBookkeeping" binding="tns:LoggingAndBookkeeping">
+                       <SOAP:address location="http://test.glite.org/lb:8080"/>
+               </port>
+       </service>
+</WSDL:definitions>
diff --git a/org.glite.lb.ws-interface/project/build.properties b/org.glite.lb.ws-interface/project/build.properties
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/org.glite.lb.ws-interface/project/configure.properties.xml b/org.glite.lb.ws-interface/project/configure.properties.xml
new file mode 100644 (file)
index 0000000..563b7bd
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+        Copyright (c) 2004 on behalf of the EU EGEE Project:
+        The European Organization for Nuclear Research (CERN),
+        Istituto Nazionale di Fisica Nucleare (INFN), Italy
+        Datamat Spa, Italy
+        Centre National de la Recherche Scientifique (CNRS), France
+        CS Systeme d'Information (CSSI), France
+        Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
+        Universiteit van Amsterdam (UvA), Netherlands
+        University of Helsinki (UH.HIP), Finland
+        University of Bergen (UiB), Norway
+        Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
+
+        Configuration build properties file for the GLite lb ws-interface component
+
+        Authors: Joachim Flammer <Joachim.Flammer@cern.ch>
+        Version info: $Id$
+        Release: $Name$
+
+        Revision history:
+        $Log$
+        Revision 1.3  2004/07/20 16:08:30  flammer
+        Changed incorrect my_... instead of .._template entries for subsystem and component.
+
+        Revision 1.2  2004/07/16 14:56:55  flammer
+        Corrected input path of build.properties.
+
+        Revision 1.1  2004/07/06 20:43:19  flammer
+        Update of configure & targets.
+
+
+
+-->
+<project name="lb ws-interface component configuration properties">
+       <target name="lbmakefiles">
+               <exec executable="ln" failonerror="true">
+                       <arg line="-fs ${component.dir}/Makefile ${module.build.dir}/Makefile"/>
+               </exec>
+               <echo file="${module.build.dir}/Makefile.inc">
+top_srcdir=..
+builddir=build
+stagedir=${stage.abs.dir}
+distdir=${dist.dir}
+globalprefix=${global.prefix}
+lbprefix=${subsystem.prefix}
+package=${module.package.name}
+PREFIX=${install.dir}
+version=${module.version}
+glite_location=${with.glite.location}
+               </echo>
+    </target>
+</project>
diff --git a/org.glite.lb.ws-interface/project/properties.xml b/org.glite.lb.ws-interface/project/properties.xml
new file mode 100644 (file)
index 0000000..736515e
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+       Copyright (c) 2004 on behalf of the EU EGEE Project: 
+       The European Organization for Nuclear Research (CERN), 
+       Istituto Nazionale di Fisica Nucleare (INFN), Italy
+       Datamat Spa, Italy
+       Centre National de la Recherche Scientifique (CNRS), France
+       CS Systeme d'Information (CSSI), France
+       Royal Institute of Technology, Center for Parallel Computers (KTH-PDC), Sweden
+       Universiteit van Amsterdam (UvA), Netherlands
+       University of Helsinki (UH.HIP), Finland
+       University of Bergen (UiB), Norway
+       Council for the Central Laboratory of the Research Councils (CCLRC), United Kingdom
+
+       Common build properties file for the GLite lb ws-interface component
+       
+       Authors: Joachim Flammer <Joachim.Flammer@cern.ch>
+       Version info: $Id$
+       Release: $Name$ 
+       
+       Revision history:
+       $Log$
+       Revision 1.4  2004/07/20 16:08:30  flammer
+       Changed incorrect my_... instead of .._template entries for subsystem and component.
+       
+       Revision 1.3  2004/07/16 14:56:55  flammer
+       Corrected input path of build.properties.
+       
+       Revision 1.2  2004/07/16 14:36:49  flammer
+       
+       Corrected build.properties include.
+       
+       Revision 1.1.1.1  2004/06/18 12:40:17  flammer
+       Added general component template.
+       
+       
+-->
+
+<project name="lb ws-interface component common properties">
+
+       <!-- Include build properties to allow overwriting 
+            of properties for subsystem                    -->
+       <property file="project/build.properties" />    
+
+       <!-- ======================================================
+              Define corresponding subsystem properties
+            ====================================================== -->
+
+       <!-- Subsystem name -->
+       <property name="subsystem.name" value="${lb.subsystem.name}"/>
+               
+       <!-- Subsystem prefix -->
+       <property name="subsystem.prefix" value="${lb.subsystem.prefix}"/>
+
+       <!-- ======================================================
+              Define component properties
+            ====================================================== -->
+                               
+       <!-- Component name prefix -->
+       <property name="component.prefix" value="ws-interface" />
+                       
+       <!-- ======================================================
+              Define general component properties
+            ====================================================== -->
+       
+       <import file="${component.general.properties.file}" />
+                                               
+       <!-- ======================================================
+             Define extra properties here ...
+            ====================================================== -->
+       
+               
+</project>
diff --git a/org.glite.lb.ws-interface/project/version.properties b/org.glite.lb.ws-interface/project/version.properties
new file mode 100755 (executable)
index 0000000..0bda8d2
--- /dev/null
@@ -0,0 +1,3 @@
+module.version = 0.1.0
+module.build = 0
+module.age = 0