%-- // // DefaultWsdlHelpGenerator.aspx: // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // (C) 2003 Ximian, Inc. http://www.ximian.com // --%> <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Import Namespace="System.Xml.Serialization" %> <%@ Import Namespace="System.Xml" %> <%@ Import Namespace="System.Xml.Schema" %> <%@ Import Namespace="System.Web.Services.Description" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.Globalization" %> <%@ Import Namespace="System.Resources" %> <%@ Import Namespace="System.Diagnostics" %> <%@ Import Namespace="System.CodeDom" %> <%@ Import Namespace="System.CodeDom.Compiler" %> <%@ Import Namespace="Microsoft.CSharp" %> <%@ Import Namespace="Microsoft.VisualBasic" %> <%@ Import Namespace="System.Text" %> <%@ Import Namespace="System.Text.RegularExpressions" %> <%@ Import Namespace="System.Security.Cryptography.X509Certificates" %> <%@ Assembly name="System.Web.Services" %> <%@ Page debug="true" %>
Overview Service Description Client proxy |
<% if (CurrentPage == "main") {%>
Web Service Overview <%=WebServiceDescription%> <%} if (DefaultBinding == null) {%> This service does not contain any public web method. <%} else if (CurrentPage == "op") {%> <%=CurrentOperationName%><% WriteTabs (); %> <% if (CurrentTab == "main") { %> Input Parameters <% if (InParams.Count == 0) { %> No input parameters <% } else { %>
<% if (OutParams.Count > 0) { %> Output Parameters
<% } %> Remarks <%=OperationDocumentation%> Technical information Format: <%=CurrentOperationFormat%> Supported protocols: <%=CurrentOperationProtocols%> <% } %> <% if (CurrentTab == "test") { if (CurrentOperationSupportsTest) {%> Enter values for the parameters and click the 'Invoke' button to test this method: ">
The web service returned the following result:
<% } else {%>
The test form is not available for this operation because it has parameters with a complex structure.
<% } %>
<% } %>
<% if (CurrentTab == "msg") { %>
The following are sample SOAP requests and responses for each protocol supported by this method:
<%=GetTestResult()%>
<% if (IsOperationSupported ("Soap")) { %> Soap <%=GenerateOperationMessages ("Soap", true)%> <%=GenerateOperationMessages ("Soap", false)%> <% } %> <% if (IsOperationSupported ("HttpGet")) { %> HTTP Get <%=GenerateOperationMessages ("HttpGet", true)%> <%=GenerateOperationMessages ("HttpGet", false)%> <% } %> <% if (IsOperationSupported ("HttpPost")) { %> HTTP Post <%=GenerateOperationMessages ("HttpPost", true)%> <%=GenerateOperationMessages ("HttpPost", false)%> <% } %> <% } %> <%} else if (CurrentPage == "proxy") {%> <%=CurrentProxytName%> ">Download <%=GetProxyCode ()%>
<%=CurrentDocumentName%> ">Download <%=GenerateDocument ()%>
|