예제 #1
0
 protected void TestService2(object sender, EventArgs e)
 {
     xmlService.ServiceClient client = new xmlService.ServiceClient();
     if (wsdlurl.Text != "")
     {
         string searchWsdlResult = client.searchWsdl(wsdlurl.Text);
         result2.Text = searchWsdlResult;
     }
     else
     {
         result1.Text = "Empty url is not allowed!";
     }
 }
예제 #2
0
 protected void TestService1(object sender, EventArgs e)
 {
     xmlService.ServiceClient client = new xmlService.ServiceClient();
     if (xmlurl.Text != "" && xsdurl.Text != "")
     {
         string validationResult = client.verification(xmlurl.Text, xsdurl.Text);
         result1.Text = validationResult;
     }
     else
     {
         result1.Text = "Empty url is not allowed!";
     }
 }