文献:http://www.verydemo.com/demo_c134_i2734.html
前面二篇文章都是以这个网址为基础进行分析的,http://www.ripedevelopment.com/webservices/LocalTime.asmx
但有时, 我们可能没有这个网址,只有一个wsdl文件, 怎么办呢, 其实读一下这个wsdl文件, 也是可以知道其中的接口以及调用方式。
我们先看一下上面这个网址的wsdl会是什么样的,
点击上面这个网址的左边: Service Description. 可以看到如下内容:
xs:schema elementFormDefault="" targetNamespace=""
xmlns:xs=""
xs:element minOccurs="" maxOccurs="" name=""
type=""
xs:element name="" nillable="" type=""
part name="" element=""
part name="" type=""
part name="" type=""
operation name=""
wsdl:documentation xmlns:wsdl=""
operation name="&quo…………………………………………………………………………