<?xml version="1.0" encoding="UTF-8"?>

< mule xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xmlns:email="http://www.mulesoft.org/schema/mule/email"  xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:jdbc="http://www.mulesoft.org/schema/mule/jdbc" xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio"
xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml" xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" version="CE-3.3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/current/mule-vm.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd
http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/current/mule-cxf.xsd
http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/current/mule-jms.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
http://www.mulesoft.org/schema/mule/email http://www.mulesoft.org/schema/mule/email/current/mule-email.xsd
http://www.mulesoft.org/schema/mule/jdbc http://www.mulesoft.org/schema/mule/jdbc/current/mule-jdbc.xsd
http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/current/mule-stdio.xsd ">
    <mulexml:object-to-xml-transformer name="Object_to_XML" doc:name="Object to XML"/>
    <!-- 提供HTTP入口的数据更新服务  -->
    <flow name="dataUpdateByHttpFlow" doc:name="dataUpdateByHttpFlow">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="demo" doc:name="HTTP"
responseTransformer-refs="Object_to_XML"/>      
<flow-ref name="GetDataFlow" doc:name="Flow Reference"/>
    </flow>
    <!-- 通过数据抽取服务获取数据  -->
    <flow name="GetDataFlow" doc:name="GetDataFlow">
        <set-payload value="mule" doc:name="Parameters"/>
        <http:outbound-endpoint  address="computerA" responseTimeout="100000" doc:name="HTTP endpoint">
<!-- 可以根据wsdl进行相应的配置 -->
<cxf:jaxws-client operation="" clientClass="" port="" doc:name="SOAP"/>
        </http:outbound-endpoint>
       <byte-array-to-object-transformer doc:name="Byte Array to Object"/> 
        <vm:outbound-endpoint exchange-pattern="one-way" doc:name="VM" path="datas"/>
    </flow>
    <!-- 通过数据插入服务添加数据  -->
    <flow name="insertData" doc:name="insertData">
        <vm:inbound-endpoint exchange-pattern="one-way" path="datas" doc:name="VM"/>
        <custom-transformer class="yourTransformer" doc:name="Java"/>
<!-- 可以根据wsdl进行相应的配置 -->
        <cxf:jaxws-client operation="" clientClass="" port="" doc:name="SOAP"/>
        <http:outbound-endpoint address="computerB" responseTimeout="100000" doc:name="HTTP endpoint"/>
    </flow>
< /mule>
给你提供一个通过mule集成得到数据更新服务的一个模板你可以参考着这个进行添写,至于里面的operation就是wsdl中的operation而clientClass对应的就是你生成的本地Service类

mule 怎样集成外部的webservice相关推荐

  1. 使用CXF与Spring集成实现RESTFul WebService

    以下引用与网络中!!! 一种软件架构风格,设计风格而不是标准,只是提供了一组设计原则和约束条件.它主要用于客户端和服务器交互类的软件.基于这个风格设计的软件可以更简洁,更有层次,更易于实现缓存等机制. ...

  2. mule esb 集成_集成框架比较– Spring集成,Mule ESB或Apache Camel

    mule esb 集成 公司之间的数据交换增加了很多. 必须集成的应用程序数量也增加了. 这些接口使用不同的技术,协议和数据格式. 然而,这些应用程序的集成应以标准化的方式建模,有效实现并由自动测试支 ...

  3. Spring集成CXF发布WebService并在客户端调用

    Spring集成CXF发布WebService 1.导入jar包 因为官方下载的包里面有其他版本的sprring包,全导入会产生版本冲突,所以去掉spring的部分,然后在项目根目录下新建了一个CXF ...

  4. Home Assistant集成外部MQTT服务

    Home Assistant集成外部MQTT服务 目录 Home Assistant集成外部MQTT服务 1.下载mosquitto 2.安装启动MQTT 3.为MQTT设置用户名密码 4.测试MQT ...

  5. Spring boot集成axis2开发webservice 服务

    Spring boot集成axis2开发webservice 服务 1.新建Spring boot 项目 此处省略... 项目结构如下: 2.添加Axis2依赖 <!--axis2版本信息--& ...

  6. SAP 调用外部系统webservice接口(SOAP-XML)-SOAMANAGER

    SAP 调用外部系统webservice接口(SOAP-XML)-SOAMANAGER 文章目录 SAP 调用外部系统webservice接口(SOAP-XML)-SOAMANAGER 一.GUI客户 ...

  7. 一个CXF集成SPRING的WEBSERVICE完整实例

    分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 1 首先 ...

  8. 关于用SoapUI集成CXF生成WebService客户端,以及测试的流程和问题的解决

    项目环境 1.springBoot框架的web系统 2.jdk1.8 3.windows 10 集成 IDEA开发环境 4.SoapUI 5.4.0软件(直接去百度搜索下载) 5.apache-cxf ...

  9. ABAP 发布webservice调用外部webservice

    本文讲述了SAP如何发布一个webservice已经如何调用外部的webservice. 1.SE37创建一个函数并且开启远程启用模块 2.se80---->右键创建企业服务 3.SOAMANA ...

最新文章

  1. 用MXnet实战深度学习之一:安装GPU版mxnet并跑一个MNIST手写数字识别 (zz)
  2. python处理数据库_python操作数据库
  3. 一篇文章了解架构设计的本质
  4. Notepad++便签模式
  5. Spark源码分析之Master状态改变处理机制原理
  6. Software Testing Resource
  7. mysql hy000 2013_MySQLERROR2013(HY000)错误解决方法
  8. Asp.net MVC Pager分页实现
  9. 中国知名的12个股份制商业银行,你知道几个?
  10. day2_数据运算和类型、列表、元组、字典
  11. 机器人抢了我们的工作怎么办?
  12. python 创建高维数组列表
  13. oracle 11客户端精简版,oracle_11g精简版客户端配置
  14. Vue安装element ui踩坑
  15. (总结)什么是HTML语义化
  16. 【Nginx】Nginx服务器的作用
  17. 【java】java编写 if 时不带 else
  18. 超融合一体机概述及优势
  19. teradata 查看 表定义_teradata查询所有表
  20. 消除卡顿 mac MATLAB2022b m1/m2原生下载安装 教程

热门文章

  1. opencv学习笔记12:图像腐蚀和图像膨胀
  2. JAVA数据结构-稀疏数组
  3. Spring MVC开发RESTful风格的URI
  4. VTK:标量条形 Actor用法实战
  5. OpenCASCADE:Modeling Algorithms模块之Sweeping: Prism, Revolution and Pipe
  6. boost::typeindex::runtime_cast相关的测试程序
  7. boost::log::sinks::synchronous_sink用法的测试程序
  8. boost::format模块一些真实的、简单的测试
  9. boost::describe模块实现计算基础修饰符的测试程序
  10. boost::callable_traits下qualified_class_of的测试程序