You are on page 1of 6

<?xml version="1.0" encoding="UTF-8" standalone="no"?

>
<!-- ========================================================
    Changes
    02.06.2017  Initial Version
                AddDescription added    (Mantis 0589976)
    04.07.2017  CreateTicket added      (Mantis 0604710)
============================================================= -->
<wsdl:definitions name="ValuemationSystemApiExternalWS"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.canda.com/
mule/ticket/valuemation/external"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.canda
.com/mule/ticket/valuemation/external">
    <wsdl:types>
        <xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.canda.com/
mule/ticket/valuemation/external" xmlns:tns="http://www.canda.com/mule/ticket/value
mation/external"
            elementFormDefault="qualified">
            <!-- ======================================
            Currently implemented:
            - 0604710: Valuemation to Mule: create Ticket
            - 0589976: Valuemation to Mule: Add Description
            - 0634102: Valuemation to Mule: Info that status of Valumation Ticket
has changed
            - 0634101: Valuemation to Mule: Info that prio of Valumation Ticket has
changed
            ========================================-->
            <!-- ======================================
                request elements
            ========================================-->
            <xsd:element name="AddDescriptionRequest"
type="tns:AddDescriptionRequestType" />
            <xsd:element name="CreateTicketRequest"
type="tns:CreateTicketRequestType" />
            <xsd:element name="StatusChangeRequest"
type="tns:StatusChangeRequest" />
            <xsd:element name="PriorityChangeRequest"
type="tns:PriorityChangeRequest" />
            <!-- ======================================
            response elements
            ========================================-->
            <xsd:element name="AddDescriptionResponse"
type="tns:AddDescriptionResponseType" />
            <xsd:element name="CreateTicketResponse"
type="tns:CreateTicketResponseType" />
            <xsd:element name="StatusChangeResponse"
type="tns:StatusChangeResponseType" />
            <xsd:element name="PriorityChangeResponse"
type="tns:PriorityChangeResponseType" />
            <!-- ======================================
                complex types
            ========================================-->
            <xsd:complexType name="CreateTicketRequestType">
                <xsd:sequence>
                    <xsd:element name="ValuemationTicketReference"
type="tns:StringMaxLength_M20" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ReportedBy" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ReportedByUserID"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1" />
                    <!--new -->
                    <xsd:element name="ReportedForUserID"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <xsd:element name="ReportedForEmail"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <xsd:element name="ReportedForName"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <xsd:element name="CurrentStatus"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <xsd:element name="CurrentSupportGroup"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <xsd:element name="ValuemationLink"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1"/>
                    <!--new end-->
                    <xsd:element name="Summary" type="tns:StringMaxLength_M254"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="1"
maxOccurs="1" />
                    <xsd:element name="TicketClass" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="TicketType" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Category" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="SubCategory" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Priority" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Impact" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="Urgency" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="TargetTicketSystem"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Service" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="System" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="VMTicketLinkUrl"
type="tns:StringMaxLength_M2048" minOccurs="0" maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="CreateTicketResponseType">
                <xsd:sequence>
                    <xsd:element name="ValuemationTicketReference"
type="tns:StringMaxLength_M20" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketSystem"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference1"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference2"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1" />
                    <xsd:element name="HTML_Link" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="ExternalTicketCategory" type="xsd:string" />
                    <xsd:element name="ExternalStatus" type="xsd:string" />
                    <xsd:element name="ResponseStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="AddDescriptionRequestType">
                <xsd:sequence>
                    <xsd:element name="ExternalTicketSystem"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference1"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference2"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1" />
                    <xsd:element name="ValuemationTicketReference"
type="tns:StringMaxLength_M20" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Type" type="tns:StringMaxLength_M250"
minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Summary" type="tns:StringMaxLength_M254"
minOccurs="0" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="1"
maxOccurs="1" />
                    <xsd:element name="ReportedBy" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="AddDescriptionResponseType">
                <xsd:sequence>
                    <xsd:element name="ResponseStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="StatusChangeRequest">
                <xsd:sequence>
                    <xsd:element name="ExternalTicketSystem"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference1"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference2"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1" />
                    <xsd:element name="ValuemationTicketReference"
type="tns:StringMaxLength_M20" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ValuemationStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Summary" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                    <xsd:element name="ReportedBy" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                    <xsd:element minOccurs="0" name="SupportGroup"
type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="StatusChangeResponseType">
                <xsd:sequence>
                    <xsd:element name="ExternalStatus" type="xsd:string" />
                    <xsd:element name="ResponseStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                    <xsd:element minOccurs="0" name="SupportGroup"
type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="PriorityChangeRequest">
                <xsd:sequence>
                    <xsd:element name="ExternalTicketSystem"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference1"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalTicketReference2"
type="tns:StringMaxLength_O250" minOccurs="0" maxOccurs="1" />
                    <xsd:element name="ValuemationTicketReference"
type="tns:StringMaxLength_M20" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ValuemationPriority"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="ExternalPriority"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Summary" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                    <xsd:element name="ReportedBy" type="tns:StringMaxLength_O250"
minOccurs="0" maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="PriorityChangeResponseType">
                <xsd:sequence>
                    <xsd:element name="ResponseStatus"
type="tns:StringMaxLength_M250" minOccurs="1" maxOccurs="1" />
                    <xsd:element name="Description" type="xsd:string" minOccurs="0"
maxOccurs="1" />
                </xsd:sequence>
            </xsd:complexType>
            <!-- Mandatory Strings with max length -->
            <xsd:simpleType name="StringMaxLength_M20">
                <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1" />
                    <xsd:maxLength value="20" />
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType name="StringMaxLength_M254">
                <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1" />
                    <xsd:maxLength value="254" />
                </xsd:restriction>
            </xsd:simpleType>
            <!-- Mantis 0898717 - Technically speaking, your URL should never be
longer than 2,048 characters. Any long than this and Internet Explorer won’t be
able to load your page. -->
            <xsd:simpleType name="StringMaxLength_M2048">
                <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1" />
                    <xsd:maxLength value="2048" />
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType name="StringMaxLength_M250">
                <xsd:restriction base="xsd:string">
                    <xsd:minLength value="1" />
                    <xsd:maxLength value="250" />
                </xsd:restriction>
            </xsd:simpleType>
            <!-- Optional Strings with fix length -->
            <xsd:simpleType name="StringMaxLength_O250">
                <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="250" />
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:schema>
    </wsdl:types>
    <!--  Mantis 0589976 -->
    <wsdl:message name="AddDescriptionRequest">
        <wsdl:part element="tns:AddDescriptionRequest" name="parameters" />
    </wsdl:message>
    <wsdl:message name="AddDescriptionResponse">
        <wsdl:part element="tns:AddDescriptionResponse" name="parameters" />
    </wsdl:message>
    <!--  Mantis 0604710 -->
    <wsdl:message name="CreateTicketRequest">
        <wsdl:part element="tns:CreateTicketRequest" name="parameters" />
    </wsdl:message>
    <wsdl:message name="CreateTicketResponse">
        <wsdl:part element="tns:CreateTicketResponse" name="parameters" />
    </wsdl:message>
    <!--  Mantis 0634102 -->
    <wsdl:message name="StatusChangeRequest">
        <wsdl:part element="tns:StatusChangeRequest" name="parameters" />
    </wsdl:message>
    <wsdl:message name="StatusChangeResponse">
        <wsdl:part element="tns:StatusChangeResponse" name="parameters" />
    </wsdl:message>
    <!--  Mantis 0634101 -->
    <wsdl:message name="PriorityChangeRequest">
        <wsdl:part element="tns:PriorityChangeRequest" name="parameters" />
    </wsdl:message>
    <wsdl:message name="PriorityChangeResponse">
        <wsdl:part element="tns:PriorityChangeResponse" name="parameters" />
    </wsdl:message>
    <wsdl:portType name="ValuemationSystemApiExternalWS">
        <wsdl:operation name="AddDescription">
            <wsdl:input message="tns:AddDescriptionRequest" />
            <wsdl:output message="tns:AddDescriptionResponse" />
        </wsdl:operation>
        <wsdl:operation name="CreateTicket">
            <wsdl:input message="tns:CreateTicketRequest" />
            <wsdl:output message="tns:CreateTicketResponse" />
        </wsdl:operation>
        <wsdl:operation name="PriorityChange">
            <wsdl:input message="tns:PriorityChangeRequest" />
            <wsdl:output message="tns:PriorityChangeResponse" />
        </wsdl:operation>
        <wsdl:operation name="StatusChange">
            <wsdl:input message="tns:StatusChangeRequest" />
            <wsdl:output message="tns:StatusChangeResponse" />
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ValuemationSystemApiExternalWSSOAP"
type="tns:ValuemationSystemApiExternalWS">
        <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="AddDescription">
            <soap:operation
soapAction="http://www.canda.com/mule/ticket/valuemation/external/AddDescription" /
>
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="CreateTicket">
            <soap:operation
soapAction="http://www.canda.com/mule/ticket/valuemation/external/CreateTicket" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="PriorityChange">
            <soap:operation
soapAction="http://www.canda.com/mule/ticket/valuemation/external/PriorityChange" /
>
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="StatusChange">
            <soap:operation
soapAction="http://www.canda.com/mule/ticket/valuemation/external/StatusChange" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ValuemationSystemApiExternalWS">
        <wsdl:port binding="tns:ValuemationSystemApiExternalWSSOAP"
name="ValuemationSystemApiExternalWSSOAP">
            <soap:address
location="http://www.canda.com/mule/ticket/valuemation/" />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

You might also like