wsdl实例
1 <?xml version='1.0' encoding='UTF-8'?>
2 <wsdl:definitions name="HelloWorldService"
3 targetNamespace="http://test.demo1/"
4 xmlns:ns1="http://schemas.xmlsoap.org/soap/http"
5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6 xmlns:tns="http://test.demo1/"
7 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8 xmlns:xsd="http://www.w3.org/2001/XMLSchema">
9 <wsdl:types>
10 <xs:schema elementFormDefault="unqualified" targetNamespace="http://test.demo1/" version="1.0" xmlns:tns="http://test.demo1/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
11 <xs:element name="sayHello" type="tns:sayHello"/>
12 <xs:element name="sayHelloResponse" type="tns:sayHelloResponse"/>
13 <xs:complexType name="sayHello">
14 <xs:sequence>
15 <xs:element minOccurs="0" name="arg0" type="xs:string"/>
16 </xs:sequence>
17 </xs:complexType>
18 <xs:complexType name="sayHelloResponse">
19 <xs:sequence>
20 <xs:element minOccurs="0" name="return" type="xs:string"/>
21 </xs:sequence>
22 </xs:complexType>
23 </xs:schema>
24 </wsdl:types>
25
26 <wsdl:message name="sayHelloResponse">
27 <wsdl:part element="tns:sayHelloResponse" name="parameters"></wsdl:part>
28 </wsdl:message>
29 <wsdl:message name="sayHello">
30 <wsdl:part element="tns:sayHello" name="parameters"></wsdl:part>
31 </wsdl:message>
32
33 <wsdl:portType name="HelloWorld">
34 <wsdl:operation name="sayHello">
35 <wsdl:input message="tns:sayHello" name="sayHello"></wsdl:input>
36 <wsdl:output message="tns:sayHelloResponse" name="sayHelloResponse"></wsdl:output>
37 </wsdl:operation>
38 </wsdl:portType>
39
40 <wsdl:binding name="HelloWorldServiceSoapBinding" type="tns:HelloWorld">
41 <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
42 <wsdl:operation name="sayHello">
43 <soap:operation soapAction="" style="document"/>
44 <wsdl:input name="sayHello">
45 <soap:body use="literal"/>
46 </wsdl:input>
47 <wsdl:output name="sayHelloResponse">
48 <soap:body use="literal"/>
49 </wsdl:output>
50 </wsdl:operation>
51 </wsdl:binding>
52
53 <wsdl:service name="HelloWorldService">
54 <wsdl:port binding="tns:HelloWorldServiceSoapBinding" name="HelloWorldPort">
55 <soap:address location="http://localhost:8080/helloWorld"/>
56 </wsdl:port>
57 </wsdl:service>
58 </wsdl:definitions>
wsdl实例的更多相关文章
- WSDL实例解析
WSDL的主要文档元素 WSDL文档可以分为两部分.顶部分由抽象定义组成,而底部分则由具体描述组成.抽象部分以独立于平台和语言的方式定义SOAP消息,它们并不包含任何随 机器或语言而变的元素.这就定义 ...
- Atitit wsdl的原理attilax总结
Atitit wsdl的原理attilax总结 1.1. 在 W3C 的 WSDL 发展史1 1.2. 获取wsdl,可能需要url后面加wsdl,也可能直接url1 1.3. Wsdl的作用2 1. ...
- webservice wsdl语法基础
XML-WSDL基础知识 WSDL 1.1. WSDL 简介 1.1.1. 概述 WSDL 指网络服务描述语言 (Web Services Description Language) WSDL ...
- WSDL语法
<什么是WSDL语言> WSDL(网络服务描述语言,Web Services Description Language)是一门基于 XML 的语言,用于描述 Web Services 以及 ...
- WSDL入门
WSDL: 网络服务描述语言, 是Web Service的描述语言,它全名:Web Services Description Language,是一门基于 XML 的语言,用于描述 Web Servi ...
- 全国人口 信息(NCIIC)接口开发纪要
阶段一:根据wsdl2java命令解析https://ws.nciic.org.cn/nciic_ws/services/NciicServices?wsdl以生成接口调用的对象类: wsdl2jav ...
- cxf方式实现webservice接口笔记
1.配置cxf的jar包依赖: 因maven中央仓库会自带cxf的相关依赖jar,故去maven官网搜索并获取pom配置到本地pom.xml文件即可,maven中央仓库搜索引擎地址:http://se ...
- soapUI学习文档(转载)
soapUI 学习文档不是前言的前言记得一个搞开发的同事突然跑来叫能不能做个WebService 性能测试,当时我就凌乱了,不淡定啊,因为我是做测试的,以前连WebService 是什么不知道,毕竟咱 ...
- 最近学习工作流 推荐一个activiti 的教程文档
全文地址:http://www.mossle.com/docs/activiti/ Activiti 5.15 用户手册 Table of Contents 1. 简介 协议 下载 源码 必要的软件 ...
随机推荐
- Java8新特性Stream流应用示例
Java8新特性介绍 过滤集合 List<String> newList = list.stream().filter(item -> item != null).collect(C ...
- Part 15 AngularJS ng init directive
The ng-init directive allows you to evaluate an expression in the current scope. In the following e ...
- python实现图像二值化
1.什么是图像二值化 彩色图像: 有blue,green,red三个通道,取值范围均为0-255 灰度图:只有一个通道0-255,所以一共有256种颜色 二值图像:只有两种颜色,黑色和白色,二值化就是 ...
- Arduino uno r3 使用 ESP8266 UART-WiFi 透传模块
一.所需硬件材料 1.ESP8266:01s某宝上3.5块钱 2.杜邦线:某宝几块钱一组40P,这里只需要三根,用于连接 树莓派与继电器 3.烧录器 二.ESP8266 AT固件烧录 ESP8266主 ...
- [luogu5163]WD与地图
将删边改为插边,如果是无向图直接线段树合并即可,考虑如何将有向边转换为无向边 令$t_{i}$表示当插入到第$t_{i}$条边时恰好满足$x_{i}$与$y_{i}$在同一个强连通分量中,然后分类讨论 ...
- 宝藏好物gRPCurl
宝物简介 grpcur是一个与grpc服务器交互的命令行工具,可认为是gRPC的curl工具. grpcurl用于从命令行调用gRPC服务器支持的RPC方法,gRPC使用二进制编码(protobuf) ...
- 获取客户端Mac地址
近期有个需求,需要获取客户端Mac地址作为白名单验证的依据.使用.net,B/S架构.先百度找了一些获取mac地址的方法, using System; using System.Collections ...
- IPv6 寻址方式简介
在计算机网络中,寻址模式是指在网络上托管地址的机制.IPv6 提供了多种类型的模式,可以通过这些模式对单个主机进行寻址.也可以同时对多个主机进行寻址或者寻址最近距离的主机. 单播寻址 在单播寻址方式 ...
- 城市防汛应急管理智慧 Web GIS 可视化平台
前言 今年第 17 号台风"狮子山"(热带风暴级)登陆海南岛,受"狮子山"影响,海南岛北半部地区出现暴雨到大暴雨.局地特大暴雨.台风带来的强风雨导致海南岛多地树 ...
- [JSC2021 A~D + F]
半小时打完了\(A~D\),想要一发\(F\)冲进前\(100\),结果平衡树常数大\(T\)了.据说\(G\)是矩阵树定. \(A\) 放代码吧. A // code by Dix_ #includ ...