<?xml version="1.0" encoding="UTF-8"?>
<!--
Portions of this file Copyright 1999-2005 University of Chicago
Portions of this file Copyright 1999-2005 The University of Southern California.

This file or a portion of this file is licensed under the
terms of the Globus Toolkit Public License, found at
http://www.globus.org/toolkit/download/license.html.
If you redistribute this file, with or without
modifications, you must include this notice in the file.
-->
<wsdl:definitions name="ServiceGroupFactory" targetNamespace="http://mds.globus.org/2004/10/servicegroupfactory" xmlns:wsbfw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.wsdl" xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" xmlns:tns="http://mds.globus.org/2004/10/servicegroupfactory" xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.wsdl" location="../../wsrf/faults/WS-BaseFaults.wsdl"/>
  <wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../../wsrf/properties/WS-ResourceProperties.wsdl"/>
  <wsdl:types>
    <xsd:schema targetNamespace="http://mds.globus.org/2004/10/servicegroupfactory" xmlns:tns="http://mds.globus.org/2004/10/servicegroupfactory" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

            <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../../ws/addressing/WS-Addressing.xsd"/>
            
            <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd" schemaLocation="../../wsrf/faults/WS-BaseFaults.xsd"/>

            <xsd:element name="create">
               <xsd:complexType/>
            </xsd:element>

            <xsd:element name="createResponse">
               <xsd:complexType>
                 <xsd:sequence> 
                   <xsd:element ref="wsa:EndpointReference"/>
                 </xsd:sequence>
              </xsd:complexType>
            </xsd:element>

            <xsd:element name="ServiceGroupFactoryCreateFaultType">
              <xsd:complexType>
                <xsd:complexContent>
                    <xsd:extension base="wsbf:BaseFaultType"/>
                </xsd:complexContent>
              </xsd:complexType>
            </xsd:element>

        </xsd:schema>
  </wsdl:types>
  <wsdl:message name="createServiceGroupFaultMessage">
    <wsdl:part name="fault" element="tns:ServiceGroupFactoryCreateFaultType"/>
  </wsdl:message>
  <wsdl:message name="create">
    <wsdl:part name="request" element="tns:create"/>
  </wsdl:message>
  <wsdl:message name="createResponse">
    <wsdl:part name="response" element="tns:createResponse"/>
  </wsdl:message>
  <wsdl:portType name="ServiceGroupFactoryPortType">
    <wsdl:operation name="create">
      <wsdl:input message="tns:create"/>
      <wsdl:output message="tns:createResponse"/>
      <wsdl:fault name="CreateServiceGroupFault" message="tns:createServiceGroupFaultMessage"/>
    </wsdl:operation>
  </wsdl:portType>
</wsdl:definitions>
