Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        m_BusinessID = "All";
        if (!String.IsNullOrEmpty(Request["BusinessID"]))
        {
            m_BusinessID = Request["BusinessID"];
        }

        m_BusinessServiceVersion = m_ContractSerivce.GetPublishServiceVersion(m_BusinessID);
    }
Exemplo n.º 2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        m_BusinessID = "All";
        if (!String.IsNullOrEmpty(Request["BusinessID"]))
        {
            m_BusinessID = Request["BusinessID"];
        }

        if (m_BusinessID == "All")
        {
            m_ServiceName = "MBSOA_Demo";
            m_MethodName  = "Echo";
        }
        else
        {
            m_BusinessServiceVersion = m_ContractSerivce.GetPublishServiceVersion(m_BusinessID);
            if (m_BusinessServiceVersion.Length > 0)
            {
                m_ServiceName = m_BusinessServiceVersion[0].ServiceName;
            }
        }
    }