这样的文件是干什么的DpmsService.wsdl<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://localhost/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://localhost/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://localhost/">
<s:element name="CreateProject">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="pjCd" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="CreateProjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CreateProjectResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>又想这样的代码是什么意思啊?
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://localhost/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://localhost/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://localhost/">
<s:element name="CreateProject">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="pjCd" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="CreateProjectResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CreateProjectResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>又想这样的代码是什么意思啊?
当你注册业务的时候(注册和发布webservice)
业务注册中心需要这个
当有人查询你提供的服务时
他可以根据wsdl来查询的
并且wsdl中提供了什么样的操作,服务等
wsdl一般有以下部分:
type: 定义module
message: 定义该webservice 提供的方法所需的参数
portTypes: 定义该webservice 所提供的方法
bindings: 定义该webservice 的消息格式和服务协议细节
(2)it's a file of wsdl(web service description language)