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. Allure 生成测试报表

    Allure官方文档参考地址:https://docs.qameta.io/allure/#_testng 1.在maven中添加依赖并进行相应的配置: <!-- 实现版本控制 --> & ...

  2. oracle合并列的函数wm_concat的使用详解

    oracle wm_concat(column)函数使我们经常会使用到的,下面就教您如何使用oracle wm_concat(column)函数实现字段合并,如果您对oracle wm_concat( ...

  3. Java学习(十五)

    下棋又被暴打 所以心态有点爆炸,学完习又去打云顶,忘记写博客了... 所以今天也有点水了,这下棋真是搞崩我心态了. Java学了函数重载 大概的要点在这 还有Web的学习,否定伪类. 如 p:not( ...

  4. Spark面试题(五)——数据倾斜调优

    1.数据倾斜 数据倾斜指的是,并行处理的数据集中,某一部分(如Spark或Kafka的一个Partition)的数据显著多于其它部分,从而使得该部分的处理速度成为整个数据集处理的瓶颈. 数据倾斜俩大直 ...

  5. 团队内部密码共享方案:KeePassXC+微盘(企业微信)

    目录 需求描述 适用场景 安装使用 KeePassXC初始化 浏览器插件安装设置 1.火狐 2.Edge 3.Chrome 软件-插件的链接 登陆网站并保存密码 (企业微信)微盘共享内部数据库 其他 ...

  6. 通过python来获取网页状态

    #!/usr/bin/python import sys,httplibfrom optparse import OptionParserusageString = "Usage: %pro ...

  7. 修改eclipse中注释字体而不影响代码字体

    eclipse的注释字体大小如何修改?不改变代码的字体 貌似没有直接的办法,但是可以取个巧: Window --> Preferences --> General --> Appea ...

  8. [cf1495F]Squares

    令$nex_{i}=\min_{i<j,p_{i}<p_{j}}j$(即$i$的第2类边),若不存在此类$j$则$nex_{i}=n+1$ 建一棵树,其以0为根,且$1\le i\le n ...

  9. Docker极简入门:使用Docker运行Java程序

    运行简单的Java程序 先在当前目录创建App.java文件 public class App{ public static void main(String[] args){ String os = ...

  10. 待办事项-redis

    package com.easyagu.liwei.util;import redis.clients.jedis.BinaryClient;import redis.clients.jedis.Je ...