Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "RTforGGUS.wsdl"

From EGIWiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 13:06, 21 January 2015

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="https://rt.egi.eu/RTforGGUS" xmlns:impl="https://rt.egi.eu/RTforGGUS" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns1="https://rt.egi.eu/RTforGGUS">
<wsdl:message name="TicketCreateRequest">
    <wsdl:part name="GGUSTicketId" type="xsd:string">
        <wsdl:documentation>GGUS Ticket ID</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Requestor" type="xsd:string">
        <wsdl:documentation>Requestor of the ticket (will be prepended to the Message in the RT)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Subject" type="xsd:string">
        <wsdl:documentation>Subject of the ticket in RT (Short description in GGUS)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Correspondence" type="xsd:string">
        <wsdl:documentation>Initial correspondence for ticket in RT (Description in GGUS)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Priority" type="xsd:string">
        <wsdl:documentation>GGUS Ticket Priority</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="AffectedSite" type="xsd:string">
        <wsdl:documentation>The site that this ticket affects</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:message name="TicketCreateResponse">
    <wsdl:part name="s-gensym3" type="xsd:int">
        <wsdl:documentation>Return TicketID in the RT system</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="s-gensym5" type="xsd:string">
        <wsdl:documentation>Return originator of the response for the GGUS (egi)</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:message name="TicketModifyRequest">
    <wsdl:part name="RTTicketId" type="xsd:string">
        <wsdl:documentation>RT Ticket ID (Origin-ID in the GGUS)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Requestor" type="xsd:string">
        <wsdl:documentation>Requestor of the ticket (will be prepended to the correspondence in the RT)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Subject" type="xsd:string">
        <wsdl:documentation>Subject of the ticket in RT (Short description in GGUS)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Correspondence" type="xsd:string">
        <wsdl:documentation>New correspondence for ticket in RT (Description in GGUS)</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Status" type="xsd:string">
        <wsdl:documentation>GGUS Ticket Status</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="Priority" type="xsd:string">
        <wsdl:documentation>GGUS Ticket Priority</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:message name="TicketModifyResponse">
    <wsdl:part name="s-gensym3" type="xsd:int">
        <wsdl:documentation>Return RTTicketId if modification successfull</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="s-gensym5" type="xsd:string">
        <wsdl:documentation>Return originator of the response for the GGUS (egi)</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:message name="AddTicketAttachmentRequest">
    <wsdl:part name="GGUSTicketId" type="xsd:int">
        <wsdl:documentation>GGUS Ticket ID</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="AttachmentData" type="xsd:base64Binary">
        <wsdl:documentation>The data of the attachment</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="AttachmentName" type="xsd:string">
        <wsdl:documentation>The name of the attachment</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:message name="AddTicketAttachmentResponse">
    <wsdl:part name="s-gensym3" type="xsd:int">
        <wsdl:documentation>Return RTTicketId if attachment added  successfully</wsdl:documentation>
    </wsdl:part>
    <wsdl:part name="s-gensym5" type="xsd:string">
        <wsdl:documentation>Return originator of the response for the GGUS (egi)</wsdl:documentation>
    </wsdl:part>
</wsdl:message>
<wsdl:portType name="RTforGGUSHandler">
    <wsdl:operation name="TicketCreate" parameterOrder="GGUSTicketId Requestor Subject Correspondence Priority AffectedSite">
        <wsdl:input message="impl:TicketCreateRequest" name="TicketCreateRequest" />
        <wsdl:output message="impl:TicketCreateResponse" name="TicketCreateResponse" />
    </wsdl:operation>
    <wsdl:operation name="TicketModify" parameterOrder="RTTicketId Requestor Subject Correspondence Status Priority">
        <wsdl:input message="impl:TicketModifyRequest" name="TicketModifyRequest" />
        <wsdl:output message="impl:TicketModifyResponse" name="TicketModifyResponse" />
    </wsdl:operation>
    <wsdl:operation name="AddTicketAttachment" parameterOrder="GGUSTicketId AttachmentData AttachmentName">
        <wsdl:input message="impl:AddTicketAttachmentRequest" name="AddTicketAttachmentRequest" />
        <wsdl:output message="impl:AddTicketAttachmentResponse" name="AddTicketAttachmentResponse" />
    </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="RTforGGUSSoapBinding" type="impl:RTforGGUSHandler">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="TicketCreate">
    <wsdlsoap:operation soapAction="" />
        <wsdl:input name="TicketCreateRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:input>
        <wsdl:output name="TicketCreateResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="TicketModify">
    <wsdlsoap:operation soapAction="" />
        <wsdl:input name="TicketModifyRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:input>
        <wsdl:output name="TicketModifyResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="AddTicketAttachment">
        <wsdlsoap:operation soapAction="" />
        <wsdl:input name="AddTicketAttachmentRequest">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:input>
        <wsdl:output name="AddTicketAttachmentResponse">
            <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://rt.egi.eu/RTforGGUS" use="encoded" />
        </wsdl:output>
    </wsdl:operation>
</wsdl:binding>
<wsdl:service name="RTforGGUSHandlerService">
    <wsdl:port binding="impl:RTforGGUSSoapBinding" name="RTforGGUS">
        <wsdlsoap:address location="https://rt.egi.eu/rt/NoAuth/RTforGGUS/RTforGGUS.cgi" />
    </wsdl:port>
</wsdl:service>
</wsdl:definitions>