<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="ServicesTest.aspx.cs" Inherits="IntegrationService.ServicesTest" ValidateRequest="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" rel="Stylesheet" href="../../style/ServiceTest.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="body">
        <h2>
            Web Services Test</h2>
        <div>
            <small>Testing Utility: Paste the XML message content and invoke the corresponding Service</small>
            <hr />
        </div>
        <div id="left">
            <div>
                <strong>Services &nbsp; </strong>
                <asp:DropDownList runat="server" ID="TestTypeList" AutoPostBack="true">
                    <asp:ListItem Text="nTelos Claim Status" Value="nTelosClaimStatus"></asp:ListItem>
                    <asp:ListItem Text="IVR Authentication" Value="IVRAuthentication"></asp:ListItem>
                    <asp:ListItem Text="IVR Get Claim Status" Value="IVRGetClaimStatus"></asp:ListItem>
                    <asp:ListItem Text="IVR Get Shipping Address" Value="IVRGetShippingAddress"></asp:ListItem>
                    <asp:ListItem Text="IVR Charge User" Value="IVRChargeUser"></asp:ListItem>
                    <asp:ListItem Text="B2B Select Carriers" Value="B2BSelectCarriers"></asp:ListItem>
                    <asp:ListItem Text="B2B Get Carrier Info" Value="B2BGetCarrierInfo"></asp:ListItem>
                    <asp:ListItem Text="RA Get Subscriber Info" Value="RAGetSubscriberInfo"></asp:ListItem>
                </asp:DropDownList>
            </div>
            <hr />
            <div>
                <asp:MultiView runat="server" ID="MultiTestView" ActiveViewIndex="0">
                    <asp:View ID="ClaimStatusView" runat="server">
                        <h4>Authentication</h4>
                        CompanyId:<br />
                        <asp:TextBox runat="server" id="CompanyIdInput"></asp:TextBox><br />
                        Login: <br />
                        <asp:TextBox runat="server" id="Login"></asp:TextBox><br />
                        Password: <br />
                        <asp:TextBox runat="server" id="Password" TextMode="Password"></asp:TextBox><br />
                         <h4>Query parameters</h4>                         
                        Claim Number:<br />
                        <asp:TextBox runat="server" id="ClaimNumberInput"></asp:TextBox><br />
                        MDN: <br />
                        <asp:TextBox runat="server" id="MDNInput"></asp:TextBox><br />
                        Claim Date <span style="font-size:x-small">(MM/DD/YYYY):</span> <br />
                        <asp:TextBox runat="server" id="ClaimDateInput"></asp:TextBox><br />
                        <asp:Button runat="server" id="InputGeneratorAction" Text="Generate request"></asp:Button><br />
                        <asp:LinkButton ID="SampleRequestAction" runat="server">Add Request Sample</asp:LinkButton><br /> 
                        <Hr />
                        <br />
                        <asp:Button ID="WSAction" runat="server" Text="Get Claim Info Via Web Service" Width="200px" />
                        <br />
                        <br />
                        <asp:Button ID="POXAction" runat="server" Text="Get Claim Info Via POX" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="WestIVR_Authentication" runat="server">
                        <h4>Authentication</h4>
                        ClaimId:<br />
                        <asp:TextBox runat="server" id="AuthClaimIdInput"></asp:TextBox><br />
                        MDN: <br />
                        <asp:TextBox runat="server" id="AuthMDNInput"></asp:TextBox><br />
                        ClaimDate: <br />
                        <asp:TextBox runat="server" id="AuthClaimDateInput"></asp:TextBox><br />
                        Postal Code:<br />
                        <asp:TextBox runat="server" id="AuthZipCodeInput"></asp:TextBox><br />
                        <br />
                        <Hr />
                        <br />
                        <asp:Button ID="AuthenticationAction" runat="server" Text="Authenticate Subscriber" Width="200px" />
                        <%--<br />
                        <br />
                        <asp:Button ID="Button3" runat="server" Text="Get Claim Info Via POX" Width="200px" />--%>
                        <br />
                    </asp:View>
                    <asp:View ID="WestIVR_GetClaimStatus" runat="server">
                        <h4>IVR Get Claim Status</h4>
                        ClaimId:<br />
                        <asp:TextBox runat="server" id="IVRClaimIdInput"></asp:TextBox><br />
                        <br />
                        <Hr />
                        <br />
                        <asp:Button ID="IVRGetClaimStatusAction" runat="server" Text="Get IVR Claim Status" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="WestIVR_GetShippingAddress" runat="server">
                        <h4>IVR Get Claim Status</h4>
                        ClaimId:<br />
                        <asp:TextBox runat="server" id="IVRShippingAddressClaimIdInput"></asp:TextBox><br />
                        <br />
                        <Hr />
                        <br />
                        <asp:Button ID="IVRGetShippingAddressAction" runat="server" Text="Get IVR Shipping Address" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="View1" runat="server">
                        <h4>IVR Charge User</h4>
                        ClaimId:<br />
                        <asp:TextBox runat="server" id="IVRChargeUserClaimIdInput"></asp:TextBox><br />
                        Credit Card Number: <br />
                        <asp:TextBox runat="server" id="IVRChargeUserCrditCardNumberInput"></asp:TextBox><br />
                        Card Type: <br />
                        <asp:DropDownList runat="server" id="CardTypeList">
                            <asp:ListItem Text="Visa" Value="98"></asp:ListItem>
                            <asp:ListItem Text="Master" Value="97"></asp:ListItem>
                            <asp:ListItem Text="AMEX" Value="115"></asp:ListItem>
                            <asp:ListItem Text="Discover" Value="99"></asp:ListItem>
                        </asp:DropDownList><br />
                        Expiration Month:<br />
                        <asp:TextBox runat="server" id="IVRCCExpirationMonthInput"></asp:TextBox>(1-12)<br />
                         Expiration Year:<br />
                        <asp:TextBox runat="server" id="IVRCCExpirationYearInput"></asp:TextBox>(YYYY)<br />
                        Security Code:<br />
                        <asp:TextBox runat="server" id="IVRCCSecCodeInput"></asp:TextBox><br />
                        <Hr />
                        <br />
                        <asp:Button ID="IVRChargeUserAction" runat="server" Text="IVR Charge User" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="B2B_SelectCarriers" runat="server">
                        <h4>B2B - Select Carriers</h4>
                        Login: <br />
                        <asp:TextBox runat="server" id="SelectCarrierLoginTxt"></asp:TextBox><br />
                        Password: <br />
                        <asp:TextBox runat="server" id="SelectCarrierPasswordTxt" TextMode="Password"></asp:TextBox><br />
                        <Hr />
                        <br />
                        <asp:Button ID="B2BSelectCarriersAction" runat="server" Text="Select Carriers" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="B2B_GetCarrierInfo" runat="server">
                        <h4>B2B - Get Carrier Info</h4>
                        Login: <br />
                        <asp:TextBox runat="server" id="B2B_GetCarrierInfo_Login"></asp:TextBox><br />
                        Password: <br />
                        <asp:TextBox runat="server" id="B2B_GetCarrierInfo_Password" TextMode="Password"></asp:TextBox><br />
                        Carrier ID: <br />
                        <asp:TextBox runat="server" id="B2B_GetCarrierInfo_CarrierId"></asp:TextBox><br />
                        <Hr />
                        <br />
                        <asp:Button ID="B2BGetCarrierInfoAction" runat="server" Text="Get Carrier Info" Width="200px" />
                        <br />
                    </asp:View>
                    <asp:View ID="RA_GetSubscriberInfo" runat="server">
                        <h4>B2B - Get Carrier Info</h4>
                        Login: <br />
                        <asp:TextBox runat="server" id="RA_GetSubscriberInfo_Login"></asp:TextBox><br />
                        Password: <br />
                        <asp:TextBox runat="server" id="RA_GetSubscriberInfo_Password" TextMode="Password"></asp:TextBox><br />
                        MDN: <br />
                        <asp:TextBox runat="server" id="RA_GetSubscriberInfo_MDN"></asp:TextBox><br />
                        Account Number: <br />
                        <asp:TextBox runat="server" id="RA_GetSubscriberInfo_Account_Number"></asp:TextBox><br />
                        <Hr />
                        <br />
                        <asp:Button ID="RAGetSubscriberInfoAction" runat="server" Text="RA Get Carrier Info" Width="200px" />
                        <br />
                    </asp:View>
                </asp:MultiView>
            </div>
            <br />
        </div>
        <div id="right">
            <asp:TextBox ID="txtData" runat="server" Height="640px" TextMode="MultiLine" Width="640px"></asp:TextBox>
        </div>
    </div>
    </form>
</body>
</html>
