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. k8s入坑之路(2)kubernetes架构详解

    每个微服务通过 Docker 进行发布,随着业务的发展,系统中遍布着各种各样的容器.于是,容器的资源调度,部署运行,扩容缩容就是我们要面临的问题.   基于 Kubernetes 作为容器集群的管理平 ...

  2. github上传和删除文件(三)

    上传文件: git init git add * git commit -m "description" //git remote rm origin 或查看当前 git remo ...

  3. Mysql教程:(五)多表查询

    多表查询 select name,student.class,student.number,maths,chinese,english from student,score where student ...

  4. 解决IntelliJ IDEA的Plugins无法访问Marketplace去下载插件

    本文图文讲解如何解决IntelliJ IDEA的Plugins无法访问Marketplace去下载插件. 默认打开IDEA的Plugins会加载很久,最后什么也没加载出来. 这时我们可以给插件市场设置 ...

  5. C#生成新浪微博短网址 示例源码

    using System; using System.Collections.Generic; using System.Linq; using System.Text;     using DotN ...

  6. Django笔记&教程 4-2 模型(models)中的Field(字段)

    Django 自学笔记兼学习教程第4章第2节--模型(models)中的Field(字段) 点击查看教程总目录 参考:https://docs.djangoproject.com/en/2.2/ref ...

  7. silky微服务的应用服务和服务条目

    目录 服务的定义 服务条目 根据服务条目生成WebAPI 服务条目的治理特性 缓存拦截 服务条目的例子 服务的实现 开源地址 在线文档 服务的定义 服务接口是微服务定义服务的基本单位,定义的应用服务接 ...

  8. [源码解析] PyTorch 分布式(8) -------- DistributedDataParallel之论文篇

    [源码解析] PyTorch 分布式(8) -------- DistributedDataParallel之论文篇 目录 [源码解析] PyTorch 分布式(8) -------- Distrib ...

  9. [atAGC051C]Flipper

    对于这一个平面用$a_{x,y}$来表示,即$(x,y)$为黑色则$a_{x,y}=1$,否则$a_{x,y}=0$,之后定义$a$能生成$b$当且仅当$a$能够通过若干次操作后得到$b$ 令$p_{ ...

  10. [bzoj1042]硬币购物

    先预处理出没有上限的方案数,然后容斥,然后将所有东西的范围都变为[0,+oo),即可用预处理出的dp数组计算 1 #include<bits/stdc++.h> 2 using names ...