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实例的更多相关文章

  1. WSDL实例解析

    WSDL的主要文档元素 WSDL文档可以分为两部分.顶部分由抽象定义组成,而底部分则由具体描述组成.抽象部分以独立于平台和语言的方式定义SOAP消息,它们并不包含任何随 机器或语言而变的元素.这就定义 ...

  2. Atitit wsdl的原理attilax总结

    Atitit wsdl的原理attilax总结 1.1. 在 W3C 的 WSDL 发展史1 1.2. 获取wsdl,可能需要url后面加wsdl,也可能直接url1 1.3. Wsdl的作用2 1. ...

  3. webservice wsdl语法基础

    XML-WSDL基础知识 WSDL 1.1. WSDL 简介 1.1.1.    概述 WSDL 指网络服务描述语言 (Web Services Description Language) WSDL ...

  4. WSDL语法

    <什么是WSDL语言> WSDL(网络服务描述语言,Web Services Description Language)是一门基于 XML 的语言,用于描述 Web Services 以及 ...

  5. WSDL入门

    WSDL: 网络服务描述语言, 是Web Service的描述语言,它全名:Web Services Description Language,是一门基于 XML 的语言,用于描述 Web Servi ...

  6. 全国人口 信息(NCIIC)接口开发纪要

    阶段一:根据wsdl2java命令解析https://ws.nciic.org.cn/nciic_ws/services/NciicServices?wsdl以生成接口调用的对象类: wsdl2jav ...

  7. cxf方式实现webservice接口笔记

    1.配置cxf的jar包依赖: 因maven中央仓库会自带cxf的相关依赖jar,故去maven官网搜索并获取pom配置到本地pom.xml文件即可,maven中央仓库搜索引擎地址:http://se ...

  8. soapUI学习文档(转载)

    soapUI 学习文档不是前言的前言记得一个搞开发的同事突然跑来叫能不能做个WebService 性能测试,当时我就凌乱了,不淡定啊,因为我是做测试的,以前连WebService 是什么不知道,毕竟咱 ...

  9. 最近学习工作流 推荐一个activiti 的教程文档

    全文地址:http://www.mossle.com/docs/activiti/ Activiti 5.15 用户手册 Table of Contents 1. 简介 协议 下载 源码 必要的软件 ...

随机推荐

  1. Typecho 反序列化漏洞 分析及复现

    0x00 漏洞简介 CVE-2018-18753 漏洞概述: typecho 是一款非常简洁快速博客 CMS,前台 install.php 文件存在反序列化漏洞,通过构造的反序列化字符串注入可以执行任 ...

  2. List<String>转List<Integer>

    List<Integer> intList = strList.stream().map(Integer::parseInt).collect(Collectors.toList()); ...

  3. 在代码生成工具Database2Sharp中增加Vue&Element 工作流页面的快速生成

    在我们基于框架开发系统的时候,往往对一些应用场景的页面对进行了归纳总结,因此对大多数情况下的页面呈现逻辑都做了清晰的分析,因此在我们基于框架的基础上,增量式开发业务功能的时候,能够事半功倍.代码生成工 ...

  4. SpringBoot 居然有 44 种应用启动器

    啥是应用启动器?SpringBoot集成了spring的很多模块,比如tomcat.redis等等.你用SpringBoot搭建项目,只需要在pom.xml引入相关的依赖,和在配置文件中简单的配置就可 ...

  5. celery kill task

    from celery.task.control import revokerevoke(task_id, terminate=True) https://stackoverflow.com/ques ...

  6. Vue组件传值prop验证方式

    在Vue组件开发过程中,父组件要经常给子组件传递数据,在传递数据的过程中,子组件可以使用prop来接收父组件传递的值,同时呢,我们可以为组件的 prop 指定验证要求,例如你知道的这些类型.如果有一个 ...

  7. nginx 支持websocket

    nginx 反向代理websocket nginx配置 请求地址及路径:ws://x.x.x.x/web/springws/websocket.ws 解析 map 指令 上面 nginx.conf 配 ...

  8. [luogu4318]完全平方数

    首先,我们肯定要用到二分答案. 这道题目就是统计第k个μ不是0的数,线性筛显然会炸飞的,但当二分出一个数而统计有多少个小于等于他的合法数时,就可以容斥一下,即:1^2的倍数都不合法,2^2的倍数都不合 ...

  9. [luogu7116]微信步数

    先判定无解,当且仅当存在一个位置使得移动$n$步后没有结束且仍在原地 暴力枚举移动的步数,记$S_{i}$为移动$i$步(后)未离开范围的点个数,则恰好移动$i$步的人数为$S_{i-1}-S_{i} ...

  10. 关于前端项目cookie的获取

    最近项目在做切换,2.0要升级到3.0,遇到跨域问题,使用的是nginx 进行对端口拦截请求其他地址,另外有的服务还要登录权限,之前没看到有这个,后来加上获取cookie的请求 var v3_toke ...