<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"
              name="report1" pageWidth="700" pageHeight="842" columnWidth="660" leftMargin="20"
              rightMargin="20"
              topMargin="20" bottomMargin="20">
    <property name="ireport.zoom" value="1.0"/>
    <property name="ireport.x" value="0"/>
    <property name="ireport.y" value="0"/>
    <field name="serviceGroupName" class="java.lang.String"/>
    <field name="serviceName" class="java.lang.String"/>
    <field name="serviceScope" class="java.lang.String"/>
    <field name="serviceType" class="java.lang.String"/>
    <field name="serviceDescription" class="java.lang.String"/>
    <field name="endPointOne" class="java.lang.String"/>
    <field name="endPointTwo" class="java.lang.String"/>
    <field name="mtomStatus" class="java.lang.String"/>
    <field name="resource" class="java.lang.String"/>
    <field name="active" class="java.lang.String"/>
    <field name="disTryIt" class="java.lang.String"/>
    <background>
        <band splitType="Stretch"/>
    </background>
    <title>
        <band height="29" splitType="Stretch"/>
    </title>
    <pageHeader>
        <band height="24" splitType="Stretch">
            <rectangle>
                <reportElement x="0" y="2" width="660" height="20" forecolor="#000000"
                               backcolor="#E8EBDC"/>
            </rectangle>
            <staticText>
                <reportElement x="230" y="3" width="192" height="20"/>
                <textElement textAlignment="Center" verticalAlignment="Middle">
                    <font isBold="true"/>
                </textElement>
                <text><![CDATA[Deployed Services Details]]></text>
            </staticText>
        </band>
    </pageHeader>
    <columnHeader>
        <band height="24" splitType="Stretch">
            <rectangle>
                <reportElement x="0" y="2" width="660" height="20" forecolor="#000000"
                               backcolor="#CED1BE"/>
            </rectangle>
            <staticText>
                <reportElement x="15" y="3" width="160" height="20"/>
                <textElement/>
                <text><![CDATA[Service Group Name]]></text>
            </staticText>
            <staticText>
                <reportElement x="175" y="3" width="156" height="20"/>
                <textElement/>
                <text><![CDATA[Service Name]]></text>
            </staticText>
            <staticText>
                <reportElement x="331" y="2" width="113" height="20"/>
                <textElement/>
                <text><![CDATA[Service Type]]></text>
            </staticText>
            <staticText>
                <reportElement x="444" y="3" width="110" height="20"/>
                <textElement/>
                <text><![CDATA[Service Scope]]></text>
            </staticText>
            <staticText>
                <reportElement x="554" y="2" width="106" height="20"/>
                <textElement/>
                <text><![CDATA[Mtom Sattus]]></text>
            </staticText>
        </band>
    </columnHeader>
    <detail>
        <band height="123" splitType="Stretch">
            <rectangle>
                <reportElement x="0" y="21" width="660" height="101" forecolor="#000000"
                               backcolor="#E8EBDC"/>
            </rectangle>
            <rectangle radius="10">
                <reportElement x="323" y="30" width="327" height="84" backcolor="#E3E6E0"/>
            </rectangle>
            <textField>
                <reportElement x="331" y="30" width="314" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{endPointOne}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="331" y="50" width="314" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{endPointTwo}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="331" y="81" width="312" height="33"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{serviceDescription}]]></textFieldExpression>
            </textField>
            <rectangle>
                <reportElement x="0" y="2" width="660" height="20" backcolor="#E3E6E0"/>
            </rectangle>
            <textField>
                <reportElement isPrintRepeatedValues="false" x="3" y="2" width="172" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{serviceGroupName}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="175" y="4" width="156" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{serviceName}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="331" y="4" width="113" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{serviceType}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="444" y="4" width="110" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{serviceScope}]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="554" y="4" width="106" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[$F{mtomStatus}]]></textFieldExpression>
            </textField>
        </band>
    </detail>
    <columnFooter>
        <band height="32" splitType="Stretch"/>
    </columnFooter>
    <pageFooter>
        <band height="28" splitType="Stretch">
            <rectangle>
                <reportElement x="0" y="2" width="660" height="24" backcolor="#CED1BE"/>
            </rectangle>
            <textField pattern="dd/MM/yyyy h.mm a">
                <reportElement x="3" y="3" width="172" height="20"/>
                <textElement/>
                <textFieldExpression class="java.util.Date">
                    <![CDATA[new java.util.Date()]]></textFieldExpression>
            </textField>
            <textField>
                <reportElement x="252" y="5" width="80" height="20"/>
                <textElement textAlignment="Right"/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
            </textField>
            <textField evaluationTime="Report">
                <reportElement x="332" y="5" width="40" height="20"/>
                <textElement/>
                <textFieldExpression class="java.lang.String">
                    <![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
            </textField>
        </band>
    </pageFooter>
    <summary>
        <band height="42" splitType="Stretch"/>
    </summary>
</jasperReport>
