附实例a
<?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>
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器