怎样创建.NET Web Service(4)
点击次数:29 次 发布日期:2008-11-27 00:06:13 作者:源代码网
|
源代码网推荐 源代码网推荐 <?Xml version="1.0" ?> 源代码网推荐 <serviceDescription Xmlns:s0="http://tempuri.org/" name="SecurityWebService" targetNamespace="http://tempuri.org/" 源代码网推荐 Xmlns="urn:schemas-Xmlsoap-org:sdl.2000-01-25"> 源代码网推荐 <soap Xmlns="urn:schemas-Xmlsoap-org:soap-sdl-2000-01-25"> 源代码网推荐 <service> 源代码网推荐 <addresses> 源代码网推荐 <address uri="http://localhost/work/aspx/SampleService.asmx" /> 源代码网推荐 </addresses> 源代码网推荐 <requestResponse name="GetSecurityInfo" soapAction="http://tempuri.org/GetSecurityInfo"> 源代码网推荐 <request ref="s0:GetSecurityInfo" /> 源代码网推荐 <response ref="s0:GetSecurityInfoResult" /> 源代码网推荐 <info>This method call will get the company name and the price for a given security code.</info> 源代码网推荐 </requestResponse> 源代码网推荐 </service> 源代码网推荐 </soap> 源代码网推荐 <httppost Xmlns="urn:schemas-Xmlsoap-org:post-sdl-2000-01-25"> 源代码网推荐 <service> 源代码网推荐 <requestResponse name="GetSecurityInfo" href="http://localhost/work/aspx/SampleService.asmx/GetSecurityInfo"> 源代码网推荐 <request> 源代码网推荐 <form> 源代码网推荐 <input name="Code" /> 源代码网推荐 </form> 源代码网推荐 </request> 源代码网推荐 <response> 源代码网推荐 <mimeXml ref="s0:SecurityInfo" /> 源代码网推荐 </response> 源代码网推荐 <info>This method call will get the company name and the price for a given security code.</info> 源代码网推荐 </requestResponse> 源代码网推荐 </service> 源代码网推荐 </httppost> 源代码网推荐 <httpget Xmlns="urn:schemas-Xmlsoap-org:get-sdl-2000-01-25"> 源代码网推荐 <service> 源代码网推荐 <requestResponse name="GetSecurityInfo" href="http://localhost/work/aspx/SampleService.asmx/GetSecurityInfo"> 源代码网推荐 <request> 源代码网推荐 <param name="Code" /> 源代码网推荐 </request> 源代码网推荐 <response> 源代码网推荐 <mimeXml ref="s0:SecurityInfo" /> 源代码网推荐 </response> 源代码网推荐 <info>This method call will get the company name and the price for a given security code.</info> 源代码网推荐 </requestResponse> 源代码网推荐 </service> 源代码网推荐 </httpget> 源代码网推荐 <schema targetNamespace="http://tempuri.org/" attributeFormDefault="qualified" 源代码网推荐 elementFormDefault="qualified" Xmlns="http://www.w3.org/1999/XmlSchema"> 源代码网推荐 <element name="GetSecurityInfo"> 源代码网推荐 <complexType> 源代码网推荐 <all> 源代码网推荐 <element name="Code" Xmlns:q1="http://www.w3.org/1999/XmlSchema" type="q1:string" nullable="true" /> 源代码网推荐 </all> 源代码网推荐 </complexType> 源代码网推荐 </element> 源代码网推荐 <element name="GetSecurityInfoResult"> 源代码网推荐 <complexType> 源代码网推荐 <all> 源代码网推荐 <element name="result" type="s0:SecurityInfo" /> 源代码网推荐 </all> 源代码网推荐 </complexType> 源代码网推荐 </element> 源代码网推荐 <complexType name="SecurityInfo"> 源代码网推荐 <all> 源代码网推荐 <element name="Code" Xmlns:q2="http://www.w3.org/1999/XmlSchema" type="q2:string" nullable="true" /> 源代码网推荐 <element name="CompanyName" Xmlns:q3="http://www.w3.org/1999/XmlSchema" type="q3:string" nullable="true" /> 源代码网推荐 <element name="Price" Xmlns:q4="http://www.w3.org/1999/XmlSchema" type="q4:double" /> 源代码网推荐 </all> 源代码网推荐 </complexType> 源代码网推荐 <element name="SecurityInfo" type="s0:SecurityInfo" /> 源代码网推荐 </schema> 源代码网推荐 </serviceDescription> 源代码网推荐 源代码网推荐 源代码网供稿. |
