WSO2_SOA套件_中文说明
- 格式:pdf
- 大小:1.11 MB
- 文档页数:19
SOA面向服务的体系架构概述SOA概述SOA——面向服务的体系结构,是一个组件模型,它将应用程序的不同功能单元(称为服务)通过这些服务之间定义良好的接口和契约联系起来。
接口是采用中立的方式进行定义的,它应该独立于实现服务的硬件平台、操作系统和编程语言。
这使得构建在各种这样的系统中的服务可以以一种统一和通用的方式进行交互。
SOA的目标使IT系统变得更有弹性,以便更灵活、更快地响应不断改变的企业业务需求,解决软件领域一直以来存在的“如何重用软件功能”问题。
采用SOA来构建信息平台,无疑是未来的发展方向。
SOA基本特征1.可重用的服务——一个服务创建后能用于多个应用和业务流程2.松散耦合——服务请求者到服务提供者的绑定与服务之间应该是松耦合的,服务请求者不需要知道服务提供者实现的技术细节。
3.标准化的服务接口——服务交互必须是明确定义的。
Web服务描述语言(Web ServicesDescription Language,WSDL)是用于描述服务请求者所要求的绑定到服务提供者的细节。
WSDL不包括服务实现的任何技术细节。
服务请求者不知道也不关心服务究竟是由哪种程序设计语言编写的。
4.无状态的服务设计-服务应该是独立的、自包含的请求,在实现时它不需要获取从一个请求到另一个请求的信息或状态。
服务不应该依赖于其他服务的上下文和状态。
当产生依赖时,它们可以定义成通用业务流程、函数和数据模型5.基于开放标准——当前SOA的实现形式是Web 服务,基于的是公开的W3C及其他公认标准.采用第一代Web服务定义的SOAP、WSDL和UDDI以及第二代Web服务定义的WS*来实现SOA。
6.支持各种消息模式——无状态的消息、有状态的消息、等幂消息7.可从企业外部访问8.随时可用9.粗粒度的服务接口分级SOA为软件功能重用提供的解决办法①服务之间通过简单、精确定义的接口进行通信,不涉及底层编程接口和通信模型。
②粗粒度性:粗粒度服务提供一项特定的业务功能,采用粗粒度服务接口的优点在于使用者和服务层之间不必再进行多次的往复,一次往复就足够了。
OPERATING INSTRUCTIONSH-2H-2WP SPEAKER SYSTEMPlease follow the instructions in this manual to obtain the optimum results from this unit.We also recommend that you keep this manual handy for future reference.TOA Corporation2 3 3 3 45 8 9 910 1011 11 1112 12TABLE OF CONTENTS1. SAFETY PRECAUTIONS2. GENERAL DESCRIPTION3. FEATURES4. HANDLING PRECAUTIONS5. NOMENCLATURE6. INSTALLATION6.1. Direct Wall/Ceiling Mounting6.2. Mounting the Speaker using an Electrical Box6.3. Mounting the Speaker using Supporting Rails6.4. Removing the Front Grille7. OUTDOOR USE (H-2WP ONLY)7.1. Waterproofing7.2. Speaker Mounting Angle8. REPAINTING THE GRILLE AND TRIM PIECE9. PROTECTION CIRCUITRY INFORMATION10. EQUALIZATION11. SPECIFICATIONSAccessories1. SAFETY PRECAUTIONS• Be sure to read the instructions in this section carefully before use.• Make sure to observe the instructions in this manual as the conventions of safety symbols and messages regarded as very important precautions are included.• We also recommend you keep this instruction manual handy for future reference.Safety Symbol and Message ConventionsSafety symbols and messages described below are used in this manual to prevent bodily injury and property damage which could result from mishandling. Before operating your product, read this manual first so you are thoroughly aware of the potential safety hazards as well as understand the safety symbols and messages.Indicates a potentially hazardous situation which, if mishandled,could result in death or serious personal injury.Indicates a potentially hazardous situation which, if mishandled,could result in moderate or minor personal injury, and/or propertydamage.WARNINGCAUTION WARNINGCAUTION When Installing the Unit• Install the unit only in a location that canstructurally support the weight of the unit and themounting bracket. Doing otherwise may result inthe speaker falling down and causing personalinjury and/or property damage.When the Unit is in Use • Do not operate the speaker for an extended period of time with the sound distorting. This is an indication of a malfunction, which in turn can cause heat to generate and result in a fire.When the Unit is in Use • Should the following irregularity be found duringuse, immediately stop operating the unit andcontact your nearest TOA dealer. Make no furtherattempt to operate the unit in this condition as thismay cause fire or electric shock.• If you detect smoke or a strange smell comingfrom the unit.• If water or any metallic object gets into the unit• If it is malfunctioning (no tone sounds.)22. GENERAL DESCRIPTIONTOA's H-2 and H-2WP are small, dome-shaped 2-way speakers featuring high sound quality. The H-2 is designed for indoor use, and the H-2WP is designed for outdoor use.Note: Protect the H-2WP from rain when installing. (Refer to P. 10 "7.1. Waterproofing".)3. FEATURES• The speaker's smooth curved surface allows it to blend in with the interiors of most modern buildings.• The speaker's small (10 cm) woofer features a magnetic circuit (employing a neodymium magnet) that ensures powerful low-frequency sound reproduction.• The one-inch balanced dome tweeter features ferro-fluid to ensure superb transient response characteristics for clear, high frequency sound output and high power-handling capabilities.• The speaker's built-in, crossover network circuitry features sharp cut-off characteristics that realize uniform energy radiation while suppressing unwanted input signals to the woofer or tweeter.• The speaker is designed with an emphasis on installation ease and safety, as well as easier conduit wiring when an electrical box is installed.• The speaker's round mounting base frame allows the speaker to be installed at any mounting angle. Note: When mounting the H-2WP speaker to a wall, to ensure its watertightness it must not be tilted any more than 45 degrees up from its downward-facing position.• A built-in matching transformer permits the speaker to be used for both high- and low-impedanceapplications. For low-impedance applications, either the 4 or 16 terminal can be selected. Impedance can be easily changed from outside the unit.• Detachable screw terminals facilitate connection. Dual positive and negative terminals also facilitate bridge connections.• The H-2's enclosure and front grille are made of fire-resistant ABS (UL Standard 94: V-0 Grade).• The structure of the speaker's front grille is specially designed for ease of refinishing and repainting.4. HANDLING PRECAUTIONS• Avoid using the speaker on the beach because the speaker's life can be greatly shortened by sea breezes.• The speakers are not magnetically shielded. Install them as far away as possible from television sets or computer's CRTs to avoid degradation in picture quality.35. NOMENCLATURE[Front Panel][Side Panel]Unit: mmFront grille (grille frame)Front grille (Grille)[Side Panel]Anti-slip pieceAccessory (Base frame)[Rear Panel]Aiming markerLock tab[Installation Example]4Detachable input connectorConnector for impedance selection(For mounting toan electrical box)6. INSTALLATION6.1. Direct Wall/Ceiling MountingStep 1. Base frame mounting1-1. Pull the cables out of the wall or ceiling through thehole in the center of the base frame, then strip theinsulation back about 5mm from the cable ends.Tip• Usable cable: Solid cable or stranded cable (0.2mm 2 - 2.5 mm 2) (Corresponding toAWG No. 24-14)• The base frame hole can also be used for 1/2EMT conduit fitting.1-2. Secure the base frame to the wall or ceiling panelwith screws at four places shown on the right.Notes• Use nuts and bolts (not supplied with the unit) thatare appropriate for the structure and composition ofthe wall or ceiling.• Protect the H-2WP from rain when installing. (Referto P. 10 "7.1. Waterproofing".)Step 2. Wiring and impedance changes2-1. Unplug the detachable input connector from thespeaker socket, and with a small slot screwdriver,loosen the screws of the terminals to use.51/2" EMT conduit fittingBase frame About 5 mm2-2. Insert the stripped cable ends into the inputconnector, and tighten the connector screws.NoteWhen not bridging connections, be sure to alsotighten the screws of the terminals not in use to avoidvibration or rattle noises.• When not bridging connections • When bridging connections To next speakerFrom amplifier2-3. Attach two impedance selector sockets to the 16-pinconnector to select the desired impedance. (Preset to12 W for 100 V line and 6 W for 70 V line.)NoteThe speakers are designed to be used for both 70 Vand 100 V line applications. When using the 100 Vline, do not select the "420 " impedance, since the speaker itself or power amplifier may be damaged.• When selecting 830(preset by the factory)• Whenselecting 4• When selecting 16Impedance selector socket2-4. Insert the detachable input connector into thespeaker socket.6Step 3. Speaker and grille mounting3-1. Rotate the three speaker lock tabs away from their locking position on the edge of speaker.3-2. After aligning the speaker with the base frame, rotate the three lock tabs back into position to clamp the speaker to the base frame. (Temporary fixing state.)NoteWhen mounting the speaker, do not touch its paper cone, as permanent damage to the speaker may result.3-3. Position the speaker and tighten the three locking screws.Lock tabBase frameBase frameSpeaker systemLocking screw Stud screw73-4. Set the front grille's aiming marker to the speakerSpeaker front Stud screw front (i.e. speaker orientation) so that the three studscrews align with the corresponding stud receptacles,then push the grille onto the speaker.Stud receptacleAiming marker6.2. Mounting the Speaker using a Electrical BoxThe speaker system can be mounted to walls or ceilings using a electrical box*. Mount the base frame to the electrical box using two holes shown in the figure below. Further mounting procedures are the same as detailed in Steps 2 and 3.* Distance between mounting holes: 69.9 mm (2 ¾), 83.3 mm (39/32) or 88.9 mm (3 ½)• Mounting example 1• Mounting example 2Base frameMemoElectrical box mounting screws are attached to the speaker.86.3. Mounting the Speaker using Supporting RailsThe speaker system can also be mounted to walls or ceilings using supporting rails. Mount the base frame to the rails using four holes shown in the figure below. Follow Steps 2 and 3.6.4. Removing the Front GrilleAnti-slip pieceBe sure to use the front grille's three anti-slip pieces whendetaching the grille from the speaker. First carefully pullthe grille by hand from two positions, and then detach fromthe one remaining position.CautionIf you raise only one or two of the three anti-slip pieces,the front grille may be broken. Be sure to pull its threepieces out evenly and gradually.97. OUTDOOR USE (H-2WP ONLY)7.1. WaterproofingThe H-2WP's base frame has a gasket for watertightness. To completely prevent water from getting into a gapbetween the base frame and wall or ceiling panel, apply caulking agent over the inside of the gasket before mounting the base frame.7.2. Speaker Mounting AngleWhen mounting the H-2WP speaker on a wall, to ensure its watertightness it must not be tilted any more than 45 degrees up from its downward-facing position.Notes• The H-2WP features drip-proof construction. However, do not dash water over it when cleaning as this may cause damage to the speaker components.• When installing the H-2WP outdoors in a snowy area, protect the speaker so that it is not covered with snow.Gasket Caulking agent108. REPAINTING THE FRONT GRILLEFollow the procedures below to change the color of the grille.1. Wipe dirt off the front grille with a soft cloth moistened with a detergent before painting. Do not use volatile liquids such as thinner.2. Uniformly spray a thin coating of paint over the grille changing the spraying positions gradually.Notes• Do not use a roller or brush to paint because the meshes of the grille could be clogged with paint.• Use paint that is appropriate for the composition of the front grille (grille and frame).[H-2]Grille: Rolled steel plateFrame: Fire-resistant ABS resin[H-2WP] Grille: Stainless steelFrame: AES resin• Follow the instructions on the paint when painting.3. After the paint dries, repeat Step 2 once or twice to repaint.Note: Be sure to repeat Step 2 at least twice.9. PROTECTION CIRCUITRY INFORMATION• The speaker has built-in overload protection circuitry.If there is an extremely high level input signal to the speaker, the overload protection circuitry is activated and cuts off the signal input to the speaker component.• A sudden drop of the sound volume level during speaker operation indicates that the overload protection circuitry has been activated. In such a case, reduce the amplifier volume and wait. The protection circuitry isautomatically reset after approximately 3-30 seconds. After the circuitry is reset, set the volume at a lowerlevel than before.Important NoteThis overload protection circuitry does not completely protect the speaker component. Depending on the nature of the excessive signal applied to the loudspeaker, there may be damage to the loudspeakercomponents before the protection circuitry can operate. Also, depending on the duration of the excessive inputsignal, the protection circuitry may be damaged and will not recover. Take special care that the excessive input is not applied to the speaker during use.10. EQUALIZATION• The H-2 and H-2WP are designed to provide good quality sound without additional equalization. However,by equalizing them as shown below, sounds can be made more powerful and intelligible.• Using a digital signal processor such as DP-0202 or DP-0204, make the following equalization setting.11Filter HPF PEQ PEQ PEQ LPFFrequency 63 Hz 100 Hz200 Hz5 kHz 15.8 kHz Gain —+10 dB -5dB + 1.5dB —QQ 0.707Q 1.871Q 1.414Q 0.305Q 0.50011. SPECIFICATIONSModel No.Enclosure Type Power Handling Rated InputRated ImpedanceOutput Sound Pressure Level Frequency Response Crossover Frequency Speaker Element Input Terminal Usable Cable Material and FinishDimensions Weight H-2Sealed type120 W (continuous program input, 4 loaded)40 W (continuous pink noise input, 4 loaded)*112 W (16or high impedance)4 , 1670 V line: 420 (12 W), 830 (6 W), 1.7 k (3 W), 3.3 k (1.5 W)100 V line: 830 (12 W), 1.7k (6 W), 3.3k (3 W )88 dB (1 W, 1 m, 2 loading)*2100 Hz to 20 kHz (—10 dB, 2 loading)5,000 HzLow frequency: 10 cm cone woofer (neodymium magnet)High frequency: Balanced dome tweeterDetachable screw terminal, (+)/(-) 2 each (for bridging connection)Solid cable or stranded cable: 0.2 mm 2 - 2.5 mm 2 (Corresponding toAWG No. 24-14)Enclosure: Fire-resistant ABS resin (UL 94V-0), black Grille frame: Fire-resistant ABS resin (UL 94V-0), white Grille: Rolled steel plate, white, paintBase frame: Rolled steel plate, pre-coating 268 x 111 mm2.1 kg (including base frame)Model No.Enclosure Type Power Handling Rated InputRated ImpedanceOutput Sound Pressure Level Frequency Response Crossover Frequency Speaker ElementInput Terminal Usable Cable Material and FinishDimensionsWeiqhtH-2WP Sealed type120 W (continuous program input, 4 loaded)40 W (continuous pink noise input, 4 loaded)*112 W (16 or high impedance)4 ,1670 V line: 420 (12 W ), 830 (6 W), 1.7 k (3 W), 3.3 k (1.5 W )100 V line: 830 (12 W), 1.7k (6 W), 3.3k (3 W)88 dB (1 W, 1m, 2 loading)*2100 Hz to 20 kHz (—10 dB, 2 loading)5,000 HzLow frequency: 10 cm cone woofer (neodymium magnet)High frequency: Balanced dome tweeterDetachable screw terminal, (+)/(-) 2 each (for bridging connection)Solid cable or stranded cable: 0.2 mm 2 - 2.5 mm 2 (Corresponding toAWG No. 24-14)Enclosure: Fire-resistant ABS resin (UL 94V-0), black Grille frame: AES resin, white Grille: Stainless steel, white, paint Base frame:Stainless steel 268 x 111 mm 2.1 kg (including base frame)*1Continuous 24 hours, band-limited pink noise (50 to 20,000 Hz)*2 Pink noise (1,000 Hz to 10,000 Hz)Note : The design and specifications are subject to change without notice for improvement.UNC No. 6-32 x 32 mm Spring washer Plain washer Printed in Japan 133-01-415-8ATOA Corporation• Accessories Base frameElectrical box mounting screw M4 x 25UNC No. 8-32 x 32 mm122222。
WS接⼝说明书BJDA药品物流实时监控系统项⽬⼆期项⽬⽂档北京市药监局药品物流实时监控系统 WS接⼝说明书V1.0⽬录1.功能描述: (3)2.单据上传流程: (3)3.本地系统建⽴的表 (5)4.WS接⼝标准: (8)5.SAP调⽤Web Service⽰例: (22)6.⽂档说明: (22)1.功能描述:北京市药监局药品物流实时监控系统(以下简称“监控系统”)开放了⼀组Web Service 接⼝,以便药品⽣产企业可以通过这种⽅式,将药品的物流信息上传到药监局监控系统中,并从监控系统中读取药监局下发的消息。
Web Service 接⼊⽅式的好处是⼀次开发,省去了⾃⼰上传的⼯作量,同时可以更有效的保证数据的准确性。
2.单据上传流程:单据上传流程图单据上传说明:2.2.1 调⽤“读取药监下发的消息”Web Service,查看是否有新消息,如果有,请将消息存储,展⽰给相关⼈员。
2.2.2 调⽤“读取最新版本号”Web Service ,系统返回的信息如下:OBJID COMID OBJBE EDION MDDAT001 M20000331 药品主数据对应表 2 2009-11-10002 M20000331 出⼊库类型对应表 1,3 2009-11-10003 M20000331 版本信息维护表 1,3 2009-11-10004 M20000331 供应商客户对应表 1,8 2009-11-05OBJID:对象标识COMID: 企业编码药批企业在监控系统上的编码OBJBE: 对象描述EDION: 版本号最新的版本号信息MDDAT: 最终版本⽇期记录对应版本信息的最后修改时间与本地系统存储的版本信息进⾏⽐较,如果监控系统内对象标识为“001”的版本号和本地系统内存储的版本号不⼀致,则进⾏ 2.2.3;如果监控系统内对象标识为“002”的版本号和本地系统内存储的版本号不⼀致,则进⾏2.2.4;对象标识为“004”同上;对象标识“003”可直接更新,或与本地系统内存储的版本号⽐对不⼀致后更新。
一个SOA架构技术概览SOA(Service-Oriented Architecture,面向服务的架构)是一种软件架构风格,它将应用程序的功能划分为可重用的服务,这些服务可以通过网络进行交互。
SOA架构的目标是实现应用程序和业务流程的松耦合。
SOA架构技术概览如下:1.服务描述:在SOA架构中,每个服务都需要有详细的描述,包括服务的名称、接口、操作、输入和输出等信息。
这些描述通常使用统一描述语言(如WSDL)来定义,以便服务提供者和服务消费者可以共享和理解服务的功能和操作。
2. 服务注册与发现:在SOA架构中,服务注册与发现非常重要。
服务提供者需要将其服务注册到服务注册中心,以便服务消费者可以在运行时动态地发现并调用服务。
常用的服务注册与发现机制包括UDDI (Universal Description, Discovery, and Integration)和Service Registry。
3. 服务组合:SOA架构中的服务是可以组合的,通过将多个服务按照特定的顺序或条件进行组合,可以创建更复杂的业务流程。
常用的服务组合技术包括BPEL(Business Process Execution Language)和ESB (Enterprise Service Bus)。
4. 服务编排:服务编排是指将多个服务按照特定的逻辑规则进行编排和调度,以实现特定的业务逻辑。
常见的服务编排技术包括业务流程管理工具(如jBPM)和规则引擎(如Drools)。
5.服务安全:由于SOA架构中的服务是通过网络进行交互的,因此服务安全是一个重要的问题。
常见的服务安全机制包括消息加密和签名、访问控制、身份验证和授权。
6.服务监控与管理:在SOA架构中,对于运行中的服务进行监控和管理是至关重要的。
常见的服务监控与管理技术包括服务性能监控、错误日志记录、故障恢复和负载均衡。
7.服务测试和部署:SOA架构中的服务需要经过充分的测试和部署,以确保其质量和可靠性。
测试SOAWebService工具介绍和使用SOAPUI和JMeter是两种常用的SOA WebService工具,用于测试和调试Web服务。
以下将详细介绍它们的功能和用法。
1.SOAPUISOAPUI是一种功能强大且易于使用的测试工具,用于测试和调试SOAP和RESTful Web服务。
它提供了许多功能,可以帮助开发人员测试和验证Web服务的功能和性能。
主要功能:- 创建和管理Web服务的测试用例和测试套件。
- 模拟和测试SOAP和RESTful请求。
- 断言和验证Web服务的响应。
-支持脚本和插件扩展。
-提供测试报告和结果分析。
使用步骤:2. 在SOAPUI中创建项目,输入Web服务的WSDL地址。
3.创建测试用例,添加测试步骤,包括请求和断言。
4.输入请求参数和消息体。
5.运行测试用例,查看响应和断言结果。
6.分析和导出测试报告。
优点:-提供直观的用户界面,易于使用。
- 支持多种协议和格式,如SOAP、RESTful、JSON等。
-可扩展性强,支持定制脚本和插件。
-提供详细的测试报告和结果分析。
缺点:-由于功能较多,对于初学者可能需要一些时间来熟悉和掌握。
-高级功能较复杂,对于非技术人员来说可能有一定难度。
2. JMeterJMeter是一种开源的性能测试工具,用于测试Web应用程序和Web 服务的性能和负载能力。
它可以模拟多个用户并发送并发请求,以便评估系统的性能水平。
主要功能:-创建和管理性能测试计划和场景。
-模拟多个用户并发送并发请求。
-支持性能监控和负载测试。
-分析和报告性能结果。
使用步骤:2.创建测试计划,设置线程组和请求。
3.配置请求参数和消息头。
4.启动测试,运行测试计划。
5.监控和分析性能结果。
6.生成测试报告和结果分析。
优点:-开源免费,易于获取和使用。
-强大的性能测试功能,能够模拟多个用户并发送大量并发请求。
-提供性能监控和分析工具,可快速识别性能瓶颈。
-支持多种协议和格式。
WSO2 ESB 使用手册一、简介WSO2 Enterprise Service Bus (ESB) 是一个开源的、易于使用的、功能丰富的平台,用于构建服务导向的架构(SOA) 和实现业务流程管理(BPM)。
WSO2 ESB 是一个轻量级的、高度集成的企业服务总线,它提供了在分布式环境中集成和中介服务的关键功能。
二、安装与配置2.1 安装准备在开始安装之前,请确保您已经满足了所有必需的系统要求。
2.2 下载和安装您可以从WSO2 官网下载适合您系统的WSO2 ESB 发行版。
一旦下载完成,您可以按照提供的安装指南进行安装。
2.3 配置安装完成后,您需要按照您的需求进行一些基础配置。
这包括设置数据源、配置网络端口以及启动和停止服务等。
三、基础概念3.1 ESB 基础ESB 是基于服务的架构(SOA) 的一个关键组件,它允许各种服务在复杂的业务流程中交互。
通过ESB,服务可以以松散耦合的方式进行交互,从而提高应用程序的灵活性。
3.2 消息传递ESB 使用基于消息的通信方式。
消息是通过接口进行传递的,可以是简单的数据结构或复杂的数据结构。
ESB 代理处理和转发这些消息。
四、ESB 工作原理ESB 的核心是一个消息代理,它接收传入的消息,执行必要的操作,然后将结果消息发送到指定的目的地。
在消息传递过程中,ESB 可以进行一系列操作,如消息转换、路由、聚合等。
五、ESB 核心组件5.1 Message BrokerMessage Broker 是ESB 的核心,负责接收、处理和转发消息。
它包含一系列代理服务,这些服务可以在消息传递过程中执行各种操作。
5.2 Proxy ServiceProxy Service 是ESB 的一个重要组件,它充当了服务的代理。
客户端发送请求到Proxy Service,然后Proxy Service 将请求路由到正确的目标服务或存储库。
六、ESB 代理和服务6.1 代理服务代理服务在ESB 中起到关键作用,它处理来自客户端的请求,并负责将这些请求路由到相应的服务。
AS-PS02AS-PS02AEN Instruction SheetTR Bilgi DökümaniTW安裝說明CN安装说明EN This is an OPEN TYPE module and therefore should be installed in an enclosure free of airborne dust, humidity, electric shock and vibration. The enclosure should prevent non-maintenance staff from operating the device (e.g. key or specific tools are required for operating the enclosure) in casedanger and damage on the device may occur.FR Ceci est un module ouvert et il doit donc être installé dans u n coffret à l’abri des poussières, des vibrations et ne pas être exposé aux chocs électriques. Le boitier ou l’armoire doit éviter toute action d’un personnel autre que celui affecté à la maintenance de l’appareil (par exemple, clefs, outils spécifiques po url’ouverture du coffret), ceci afin d’éviter tout accident corporel ou endommagement du produit).TR Bu ürün AÇIK TİP bir modül olup toz, rutubet, elektrik şoku ve titreşimden uzak kapalı yerlerde muhafaza edilmelidir. Yanlış kullanım sonucu ürünün zarar görmesini önlemek için yetkili olmayan kişiler tarafındanürüne müdahale edilmesini önleyecek koruyucu önlemler alınmalıdır. (Ürünün bulunduğu panoya kilitkonulması gibi).TW 本機為開放型(OPEN TYPE)機種,因此使用者使用本機時,必須將之安裝於具防塵、防潮及免於電擊∕衝擊意外之外殼配線箱內。
2008年奥运会一卡通(OE卡)系统体系结构设计说明1.文档介绍 (3)1.1.编写目的 (3)1.2.定义 (3)1.3.参考资料 (3)2.总体设计 (3)2.1.需求规定 (3)2.1.1.网上预订系统需求 (3)2.1.2.OE卡管理系统需求 (4)2.1.3.OE卡管理系统需求 (4)2.2.系统设计 (4)2.2.1.网上预订系统设计 (4)2.2.2.OE卡管理系统设计 (7)2.2.3.OE卡结算系统设计 (9)1.文档介绍1.1. 编写目的编写《2008年奥运会一卡通(OE卡)体系结构设计说明》一书的目的是:详细说明2008年奥运会一卡通系统的系统结构的总体设计,供详细设计人员作为开发过程中的参考,并充当体系结构评估小组的参考文档。
本文档的预期读者为设计人员、开发人员、项目经理、测试人员等。
1.2. 术语定义软件体系结构风格:有时也称为软件体系结构模式,一种体系结构风格定义了关于构件和连接件类型的术语,以及一组约束它们组合方式的规定。
SOA:面向服务的软件体系结构(Service-Oriented Architecture),SOA是一种软件体系结构模式,它将应用程序的不同功能单元(称为服务)通过这些服务之间定义良好的接口和契约联系起来。
接口是采用中立的方式进行定义的,它应该独立于实现服务的硬件平台、操作系统和编程语言。
这使得构建在各种这样的系统中的服务可以以一种统一和通用的方式进行交互。
这种具有中立的接口定义的特征称之为服务之间的松耦合。
Web Services:Web Services是基于网络的、分布式的模块化组件,它执行特定的任务,遵守具体的技术规范,这些规范使得Web Services能与其他兼容的组件进行互操作。
1.3. 参考资料1.《2008年奥运会一卡通(OE卡)系统需求说明书》(以下简称需求说明书)本开发小组2.总体设计2.1. 需求规定2.1.1.网上预订系统需求(1)需求说明提供对奥运门票、酒店、餐饮、旅游产品、纪念品和交通票务等各种服务的。
SOA接口1、UserWebService1)public SoaUserloadUserById(Integer userId)功能:通过用户Id获取用户信息;参数列表:userId:用户Id;返回值:SoaUser对象;备注:userId是null,则抛出异常;没有该用户则返回null。
2)public SoaUserloadUserByUsername(String username)功能:通过用户帐号获取用户信息;参数列表:username:用户账号;返回值:SoaUser对象;备注:username是null,则抛出异常;没有该用户则返回null。
3)public SoaUserInfogetUserByIdentifier(String identifier)功能:通过用户帐号获取用户信息;参数列表:username:用户账号;返回值:SoaUser对象;备注:username是null,则抛出异常;没有该用户则返回null。
2、SchoolWebServiceImpl1)public List<SoaSchoolInfo>getSchoolBySortId(Integer sortId)功能:通过学校分类Id获取学校;参数列表:sortId:学校分类Id;返回值:List<SoaSchoolInfo>;备注:sortId是null,则抛出异常;没有找到相应数据则返回null。
2)public List<SoaSchoolInfo>getTypeSchool(Integer sortId, Integer typeId) 功能:根据学校分类以及学校类型查找学校;参数列表:sortId:学校分类Id;typeId:学校类型Id(小学:1,中学:2,高中:3);返回值:List<SoaSchoolInfo>;备注:sortId和typeId中有null,则抛出异常;没有找到相应数据则返回null。
文章标题:深入探讨webservice xml参数组装与解析1. 前言在当今信息技术日新月异的时代,web服务已成为各行业间数据交换和信息共享的关键方式。
webservice作为一种基于XML的远程调用协议,其参数的组装与解析对于系统间的通信至关重要。
本文将深入探讨webservice中XML参数的组装与解析,帮助读者更全面地理解这一关键技术。
2. XML参数的组装在webservice中,XML参数的组装是实现远程调用的基础。
我们需要明确webservice中参数的传递方式,通常使用SOAP协议。
在SOAP协议中,参数以XML格式进行组装,而XML具有良好的可扩展性和通用性,使得参数的组装非常灵活。
对于参数的组装,我们需要关注以下几个方面:- 根据webservice的WSDL文件,确定方法的输入参数类型和结构。
- 根据参数类型和结构,在客户端代码中构建对应的XML格式的参数。
- 使用合适的工具或库,将参数组装成符合要求的XML格式。
3. XML参数的解析一旦参数被远程调用传递到了服务端,就需要对XML参数进行解析。
在解析过程中,我们需关注以下几个方面:- 能否正常解析各种类型的XML参数。
- 是否能够处理XML参数中的各种嵌套结构。
- 能否根据WSDL文件中定义的参数类型进行正确的解析。
4. 深度探讨案例分析为了更好地理解webservice中XML参数的组装与解析,我们将以一个实际案例进行深入探讨。
假设我们需要实现一个webservice接口,用于获取用户的个人信息,并且返回的参数是一个包含用户信息的XML文档。
在这个案例中,我们可以通过以下步骤来进行参数的组装与解析:- 根据WSDL文件,确定获取用户信息的方法和参数结构。
- 在客户端代码中,根据参数结构构建符合要求的XML格式的参数。
- 在服务端接收到参数后,对XML参数进行解析,并提取出用户信息。
通过以上案例分析,我们可以更直观地理解webservice中XML参数的组装与解析的过程,以及在实际开发中的应用方法。
开放式虚拟仿真实验教学系统Web Services业务接口规范说明书1.范围本规范文档主要适用于开放式虚拟仿真实验教学系统和其它业务系统信息数据的接入。
2.术语、定义和缩略语2.1术语、定义2.2缩略语3.接口设计3.1接口公共参数接口服务器通过:http://IP:port/EIP/WebService/ 连接服务器,同时对外提供业务功能接口,接收的参数和返回的参数都用一定的xml格式进行封装。
3.1.1请求参数1.请求类型为String类型<?xml version="1.0" encoding="utf-8" ?><request><header type ="xx01" version="1.0" reqtype="0" userid="user000000000001"></header><param></param></request>2.头部参数体head定义请求参数的头部参数体header格式固定,定义如下:3.请求参数体param定义参数体param中的具体请求参数,根据不同的业务而不同,详见各业务接口。
3.1.2返回参数1.返回类型为String类型<?xml version="1.0" encoding="utf-8"?><response><header type ="XX01" value="XX00" info="成功"></header><result></result></response>2.头部参数体head定义返回参数的头部参数体header格式固定,定义如下:3.返回值参数体result定义参数体result中的具体返回参数,根据不同的业务而不同。
Series GSTA Carbon Monoxide/Nitrogen Dioxide Gas TransmittersSpecifications - Installation and Operating InstructionsBulletin AQ-GSTAINSTALLATION• The transmitter should be mounted at normal breathing height, approximately 5 to 6 ft above the floor.• The unit may be mounted in the horizontal or vertical position. It should be mounted in an area that is shielded from direct contact with the elements or direct sunlight.• Mount in an area that will prevent the sensor from having any direct contact with water.• The unit should be placed in an area that will give an average of the air quality. Do not place the unit so it will receive direct engine exhaust. Prolonged exposure to direct engine exhaust may damage the sensor.MOUNTING1. Remove the cover plugs from the face of the unit and the top cover.2. Disconnect the display cable from the USB connector on the main circuit board (if present).3. Remove the desired conduit fitting knock out and install conduit fitting (not provided).4. Position the transmitter where it is to be mounted and mark the mounting holes in each corner of the housing.5. Drill or punch out marked locations.6. Place the transmitter box over mounting holes on wall and align. Install wall mount screws (not provided) in mounting holes.7. Proceed with wiring according to Figures 1 and 2.8. Set DIP SWITCH and IOUT/VOUT SWITCH as desired. Refer to Figure 3.9. Reconnect the LCD cable to the USB port on the main circuit board (if present).10. Replace cover and cover plugs on the face of the unit.Duct mountWall mount The electrochemical sensors should be stored in an environment with a minimum humidity level of 20% RH. If the sensor dries out,replacements will not be covered under warranty, but they can be revived by allowing them to stabilize in an environment above 40% RH for 10 days. Once revived, they need to be recalibrated before use.These are general guidelines. Local laws or ordinances will take precedence.designed for AC voltage operation.®DUCT MOUNTINGDuct mounting kit includes an air flow pitot tube, air filter with barbed connections, two short pieces of tubing and one long piece of tubing.1. Mount the pitot tube into the duct observing the flow direction marked on the pitot tube.2. Attach the two short pieces of tubing to the barbed connections on each side of the air filter.3. Attach the remaining side of one of the short pieces of tubing to the barbed connection on the transmitter.4. Attach the remaining side of the other short piece of tubing to the high port on the pitot tube.5. Attach the long piece of tubing to the open barbed connection on the transmitter.6. Attach the other end of the long tubing to the low port on the pitot tube.WIRINGUse maximum 18 AWG wire for wiring terminals. Refer to Figure 1 or Figure 2 for wiring information. The terminal block is removable for ease of installation.Wiring for 4-20 mA Output4-20 mA output units may be powered by 10-35 VDC.Wiring for 0-5 or 0-10 V outputThe 0-5 or 0-10 V units may be powered by 15-35 VDC or 15-29 VAC. Note polarity when using DC power. The maximum l oad is 5 mA (1 K Ω for 0-5 V or 2 K Ω for 0-10 V).SWITCH LOCATIONSSetting the Current/Voltage Select SwitchTo access the current/voltage select switch, remove the cover of the unit. The current/voltage select switch is located on the circuit board as shown in Figure 3. Set the switch to ˝IOUT˝ for current, ˝VOUT˝ for voltage.DIP SWITCH SettingsTo access the DIP SWITCH, remove the cover of the unit. The DIP SWITCH is located on the circuit board as shown in Figure 3.ALL DIP SWITCHES ARE FACTORY SET TO “ON”.5 V / 10 V Output Select (Applies only to Voltage Output)DIP SWITCH #1 OFF: Output = 0-5 V DIP SWITCH #1 ON: Output = 0-10 VZero Suppression (Applies only to Voltage Output)DIP SWITCH #2 OFF: Output range = 1-5 V or 2-10 V, depending on output range DIP SWITCH #2 ON: Output range = 0-5 V or 0-10 V, depending on output range Output Normal or InvertDIP SWITCH # 3 OFF: Output is inverted DIP SWITCH # 3 ON: Output is normalMenu Function (CO Model only)DIP SWITCH #4 OFF: User ADJ (Output Range)DIP SWITCH #4 ON: Sensor calibration/range = 200 PPMV OUT WIRING1234RECEIVER -+-+POWER SUPPLYI OUT WIRING Figure 3Figure 1Figure 2seconds until the upper display reads "ADJ".the user set spancalibration gas value.Factory setting is 200 ppmfor CO,10.0 ppm for NO2.is pressed, then the unit will time outand return to home position after 10minutes.When calibration is complete,set menu function to 200 ppm orUSER ADJ as required.A-507calibration adapterTocalibration gasA-449display Figure 4Printed in U.S.A. 3/22FR# 443847-00 Rev. 10©Copyright 2022 Dwyer Instruments, Inc.Sensor ReplacementA replacement sensor is available from Dwyer Instruments.For CO, order part number: A-505For NO 2, order part number: A-506Replacing the Sensor1. Remove the cover plugs from the face of the unit and top cover. Locate the sensor, see Figure 3 – the sensor is mounted on three pin sockets. The circuit board is labeled either “CO SENSOR” or “NO2 SENSOR” underneath the sensor.2. Remove and discard the sensor.3. Remove the shorting wire spring located on the bottom of the new sensor.4. Install the new sensor into the three pin sockets.5. The unit must be re-calibrated whenever a new sensor is installed.6. Allow 30 minutes for the unit to come to temperature equilibrium prior to calibration. The unit has internal temperature compensation, and the sensor must be at the same temperature as the unit to calibrate properly.TROUBLESHOOTING1. Verify that the unit is mounted in the correct position.2. 4-20 mA Models: Verify appropriate supply voltage. The transmitter requires a minimum of 10 and a maximum of 35 VDC at its connection for properoperation. Choose a power supply with a voltage and current rating that meets this requirement under all operating conditions. If the power supply isunregulated, make sure voltage remains within these limits under all power lineconditions. Ripple on the supply should not exceed 100 mV.Loop Resistance: The maximum allowable loop resistance depends on the power supply voltage. Maximum loop voltage drop must not reduce the transmitter voltage below the 10 VDC minimum. Maximum loop resistance can be calculated with the following equation. Vps is the power supply voltage.Rmax =Some receivers, particularly loop powered indicators, may maintain a fixed loop voltage to power the device. This voltage drop must also be subtracted from the power supply voltage when calculating the voltage margin for the transmitter. The following equation takes this into account. Vrec is the receiver fixed voltage.Rmax =0-10 V Output Models: Verify appropriate supply voltage. The 0-10 V output models require a DC supply of 15-35 V or an AC supply of 15-29 V for proper operation maximum. Maximum output load is 5 mA.MAINTENANCEUpon final installation of the Series GSTA Transmitter and the companion receiver,no routine maintenance is required with the exception of calibration. As with allelectrochemical type gas sensors, routine calibration is required. It is recommended that units be re-calibrated at 6 month intervals, to maintain the published accuracy, or as required by local ordinances or other requirements. The units will maintain 5% accuracy if they are re-calibrated at 12 month intervals.Except for sensor replacement and calibration, the Series GSTA is not field serviceable and should be returned if repair is needed (field repair should not be attempted and may void warranty). Be sure to include a brief description of the problem plus any relevant application notes. Contact customer service to receive a return goods authorization number before shipping.V ps -10.020 mAV ps -10.0-V rec 20 mASensors contain acid. Do not attempt to open sensors. Sensors should be disposed of according to local laws.。
SOA技术介绍及其应用(doc 11页)SOA 技术与应用时间:2007年3月12日来源:赵迪 IBM资深架构师近期,越来越多的IT人士提及SOA,那么,SOA到底是什么呢?一个概念?一种产品?一套方法论?一种新的技术?全球著名的第三方评测机构GARTNER GROUP曾说:“系统采用SOA,变革将更加灵活”。
SOA三个字母是英文Service Oriented Architecture 的首字母简称,翻译成中文,即为“以服务为核心的架构体系”或译为“面向服务的架构体系”。
在SOA中,这个“S”即服务,是整个SOA的关键所在。
那么,我们便从最基础处为SOA作出明确的定义:服务。
广义上讲,服务的涵义相当宽泛,我们在生活中碰到的任何非自己一方可完成的事件,都可称之为服务。
比如,在报亭买份报纸,这个是报商对读报者的服务;在银行新开一个帐户,便是银行对开户者的服务。
在SOA中,我们对服务有一定的限制,那就是“一项可重复的业务动作”;我们将这个可重复的部分封装成IT架构中的一个服务单元;所以,SOA便可定义为:“一种支持将业务动作整合为服务工作流的IT架构”。
读者们此时便可清晰的理解,图 2在开发方面,SOA也会有变繁为简,节约时间,提高劳动生产率的奇效。
首先,在行业的主流SOA平台上做开发,对开发商的开发方式就做出了规范,均应使用国际标准的语言,国际标准协议以及被广泛认可的接口命令作为开发基础,这种方式本身就可有效的规避一些中小开发商在程序编写或者一些逻辑模型建立上的不规范性。
其次,在可重用性比较高的或者变更概率比较大的IT环境中,SOA又具有快速更改,快速部署,快速产生效益的功用。
下面我们看一个典型的运用SOA提高生产效率的例子:中远集运(COSCON)是我国的一家大型物流集团,以远洋集装箱货轮运输为主业。
中远集运拥有一支强大的IT开发队伍,以适应对不同国家海关的通关程序的开发需求。
在国际海运中,货物进入对方国家海关都要经过或繁或简的手续,此手续即为通关手续,中远集运为每一种海关的通关系统制作自己系统的离岸子系统,而在使用SOA之前,各套离岸子系统由于先前没有良好的前瞻性规划,拓扑关系错综复杂,每次修改都有“牵一发而动全身”的风险,这样就造成两个严重后果:第一,当货物进口国海关通关系统业务规则发生变化时,中远集运对某个离岸子系统的修改就需要花费数以月计的时间,如果对方的业务规则是突然性的变化,则有可能使中远集运的货轮在目的地国海关港外等候十几天或者几十天的时间,严重影响货运班次安排以及交货时间,造成的损失难以估量;第二,由于各子系统之间关系太过复杂,往往一个微观的局部修改,就会对全局产生重大影响,并且错误难以查判。
NOTEPlease see www.fell.no/support for more informationNOTEUse an AGC / 3AG – 1-3 Amp replacement fuse.If it is necessary to extend the power and ground wires, use 20 AWG or thicker wire.You can wire the Power Wires directly to the main boat battery, or if your boat has an electrical system, you might be able to wire the Power Wires to an unused holder on the fuse block.If your boat has an NMEA or NMEA2000 system installed you may be able to use this system as a powersupply for the WiMEA Boat Unit. Contact your engine manufacturer for more information.NMEA website: NOTEMAX Voltage for WiMEA Boat Unit is 32Vdc. Do not apply higher voltage as this will void your warranty and may break the unit.(10-32 Vdc)1. Use a test light or a voltmeter to determine the polarity of the voltage source.2. Connect the red (+ or positive) wire to the positive voltage terminal. (If you use the fuse block on the boat, route the positive connection through the fuse, as shown on the diagram.)3. Connect the black (- or ground) wire to the negative voltage terminal.4. Install or check the 1-3 A fuse (in the in-line fuse holder, or on the fuse block of the boat.5. Use wire hoods suitable for the wire dimension (20AWG, 0.75mm2) or connection point on theWiMEA Wireless Kill Switch can be installed together with your existing kill switch by connecting it in seriesor parallell. If you should connect in series or parallell depends on your existing kill switch function. Theabove picture shows an example with Normally Closed connection.Keep existing kill switchWhen WiMEA is installed this way the mechanical kill switch needs to be connected for the system to function properly.NOTEMake sure that all wire connections are waterproof by using heat shrinkable butt splices or similar when connecting wires.Use a crimping plier to squeeze the conducting part of the butt splice around the wire.Insert cables and ensure theconducting part of the cable makes good contact with the conducting part of the butt splice.Make sure all connections arewaterproof by applying heat to the end of the butt splice, which makes it shrink around the wire.Quick Guide Volvo PentaTo install WiMEA Wireless Kill Switch on a Volvo Penta with EVC-Ean original cable from Volvo Penta should be used. This cable has part number 21693202 and can be ordered by contacting FELL Support or directly from your closest Volvo Penta dealer.The signal cables on WiMEA consists of three wires. Only two of these are used for installation.1. Common – Grey – Always used whenconnecting the WiMEA Boat Unit Signal wires.Connect to green/red wire.2. Normally Open (NO) – Blue – Used when your existing system is Normally Open as Volvo Penta EVC-E.Connect to green/orange wire.FELL recommend that you use same type of crimp terminal as on the Volvo Penta cable when installing. This is to avoid breaking in the original Volvo Penta cable.After correct installatino has been done the systemneeds to be autoconfigured. For more information on how to do this, contact your closes Volvo Penta Dealer.Connect signal wiresIf your helm is made out of conducting materials thewireless signals from WiMEA may be degraded. The amount of signal degradation experienced may vary from across boats and must be tested for each case. If the signal is very poor you can install a separate external antenna outside of your helm to increase the signal strength. Please contact FELL support at www.fell.no/support for more information.Installation in a metal boatIf you have a twin engine installation in your boat with EVC-E, another cable should be used. The part number for this is 21693206. The installation of this cable is the same as in this manual, except there is two wires to HCU, one for each engine.Twin installationThe cable for Volvo Penta EVC-E used in this illustra-tion has part number 21693202. This cable can be ordered by contacting FELL Support or directly from your closest Volvo Penta dealer.In EVC-D there is an existing wire in the ignition which can be connected in the same way as shown in ”Con-nection signal wires”.Older EVC uses a cable with part number 3817104 which can be connected in the same way as shown in ”Connection signal wires”.This cable can be ordered by contacting FELL Support or directly from your closest Volvo Penta dealer.For older Volvo Penta without EVC, see installation instruction for connecting WiMEA directly to ignition or stop circuit.Older Volvo Penta and EVC-DNOTEDo not touch or cut any existing wires orelectrically conducting components before you make sure the main voltage switch is OFF. Only set the main voltage switch to ON after you arePlease see www.fell.no/support for more informationNOTEUse an AGC / 3AG – 1-3 Amp replacement fuse.If it is necessary to extend the power and ground wires, use 20 AWG or thicker wire.You can wire the Power Wires directly to the main boat battery, or if your boat has an electrical system, you might be able to wire the Power Wires to an unused holder on the fuse block.If your boat has an NMEA or NMEA2000 system installed you may be able to use this system as a powersupply for the WiMEA Boat Unit. Contact your engine manufacturer for more information.NMEA website: NOTEMAX Voltage for WiMEA Boat Unit is 32Vdc. Do not apply higher voltage as this will void your warranty and may break the unit.(10-32 Vdc)1. Use a test light or a voltmeter to determine the polarity of the voltage source.2. Connect the red (+ or positive) wire to the positive voltage terminal. (If you use the fuse block on the boat, route the positive connection through the fuse, as shown on the diagram.)3. Connect the black (- or ground) wire to the negative voltage terminal.4. Install or check the 1-3 A fuse (in the in-line fuse holder, or on the fuse block of the boat.5. Use wire hoods suitable for the wire dimension (20AWG, 0.75mm2) or connection point on theConnecting the PowerWiMEA Wireless Kill Switch can be installed together with your existing kill switch by connecting it in series or parallell. If you should connect in series or parallell depends on your existing kill switch function. Theabove picture shows an example with Normally Closed connection. It is very important that both kill switches are tested after installation to make sure the installation was done properly.Keep existing kill switchWhen WiMEA is installed this way the mechanical kill switch needs to be connected for the system to function properly.NOTEMake sure that all wire connections are waterproof by using heat shrinkable butt splices or similar when connecting wires.Use a crimping plier to squeeze the conducting part of the butt splice around the wire.Insert cables and ensure theconducting part of the cable makes good contact with the conducting part of the butt splice.Make sure all connections arewaterproof by applying heat to the end of the butt splice, which makes it shrink around the wire.Quick guide for boats withoutexisting kill switchInstallation of WiMEA Wireless Kill Switch toignition or stop circuitThe stop function in WiMEA Wireless Kill Switch con-sists of a mechanical relay and can thus be installed on boats without an existing kill switch.It is important to note that installation will vary betwe-en different engine brands and this guide is just to be used as a reference.The signal cables on WiMEA consists of three wires. Only two of these three wires should be used when installing the system.1. Common – Grey - Always used when connecting WiMEA, independent on if the system is normally open (Open to Stop) or normally closed (Close to Stop).See relevant schematic above to see where to connect they gray wire. This may change depending on type of boat and must be verified.2. Open to Stop(OS) – Blue – Used if your system needs short circuit to run.See relevant schematic above to see where to connect they blue wire. This may change depending on type of boat and must be verified.2. Close to Stop(CS) – Orange – Used if your system needs short circuit to stop.See relevant schematic above to see where to connect they blue wire. This may change depending on type ofboat and must be verified.Connecting the signal wiresWiMEA Wireless Kill Switch can be connected in series with the ignition. This will allow your WiMEA to cut the power in the ignition and in turn stop the engine. If you fall over board the WiMEA deactivates it’sinternal relay and cuts the power through the ignition. FELL recommends to use an external relay for this connection to protect the WiMEA from overcurrent. A standard automotive 12V/24V relay can be used for this purpose. Make sure the relay is rated for higher current than the ones going through your ignition.IgnitionWiMEA Wireless Kill Switch can be connected to your existing stop circuit if you have a stop button or similar. In the schematic above an example on how to connect is given where the existing stop button is kept in addition to WiMEA. If the current running in your stop circuit is exceeds 6A a realy should be used. This is to avoid overloading the switch inside WiMEA. A standard automotive 12V/24V relay can be used for this purpose. Make sure the relay is rated for higher current than the measured current in your stop circuit.Stop circuitIgnition exampleIf your helm is made out of conducting materials thewireless signals from WiMEA may be degraded. The amount of signal degradation experienced may vary from across boats and must be tested for each case. If the signal is very poor you can install a separate external antenna outside of your helm to increase the signal strength. Please contact FELL support at www.fell.no/support for more information.Installation in a metal boat。
1.WSO2SOA套件体系WSO2是一个领先的开源SOA解决方案提供者。
其提供了SOA相关的各种基础设施、技术框架和相关工具,流程server,application server 等等,并且都是Apache2.0开源协议的。
对商业友好,也给学习者打开了方便之门。
可以说,wso2提供了全套的SOA相关技术,开箱即用,且文档比较齐全,包括docs,Quick Start,install guide等等。
主要产品系列包括:产品体系如下:WSO2SOA体系结构图1WSO2SOA体系结构图22.WSO2套件产品系列:2.1WSO2ESB相比老式架构,我们给您耳目一新的感受.集中化的ESB架构,我们重新开始设计的高性能.低配置.最大共用性SOA理念的ESB产品.依赖于我们创新的CARBON技术,本产品提供了稳定的从头到尾的项目体验.高性能,低配置.如,一个部署的ESB实例可将内存占用控制在160MB之内.如果您了解到eBay使用100%的WSO2ESB解决方案,每天处理超过一亿的事务,您就不会对性能有任何疑问.图1:wso2esb消息路由图图2:wso2esb平台结构图图3:wso2esb平台协作图2.1.1连接任意端到任意端传输支持:HTTP,HTTPS,POP,IMAP,SMTP,JMS,AMQP,FIX,TCP,UDP,FTPS,SFTP,CIFS,MLLP,SMS格式及协议:JSON,XML,SOAP1.1,SOAP1.2,WS-*,HTML,EDI,HL7,OAGIS, Hessian,Text,JPEG,MP4,所有二进制格式,CORBA/IIOP到COTS系统的适配器:SAP BAPI&IDoc,PeopleSoft,MS Navision,IBM WebSphere MQ,Oracle AQ,MSMQ到云服务的适配器:Salesforce,Paypal,LinkedIn,Twitter,JIRA2.1.2路由,中介及转换路由:基于头文件,基于正文,基于规则及基于优先级路由中介:EIPs(包括scatter/gather,消息过滤,接收列表,dead-letter通道,担保发送和消息堆积),数据库集成,事件发布,日志和审核,验证转换:XSLT1.0/2.0,XPath,XQuery,Smooks2.1.3消息,服务,API及安全网关基于不同的协议和消息格式暴露已有的应用及服务松散耦合及SOA管理的虚拟化服务负载均衡可靠性及业务节点的HA为遗留系统/非标准服务创建服务前端集中执行和管理安全,包括认证及授权由WSO2Governance Registry完成策略执行及治理由以键管理的RESTful API暴露服务及应用日志,审核SLA监控,KPI监控支持WS-Security,LDAP,Kerberos,OpenID,SAML,XACML为inbound和outbound方案提供SSL隧道及SSL属性支持CRL/OCSP证书取消验证2.1.4高性能,高可用性,稳定及可扩展支持每服务器1000个以上的无阻塞HTTP(S)连接纯粹流式处理及即时响应消息处理毫秒级恢复,高吞吐量场景支持HA部署以无状态服务架构通过群集方式横向调节以低资源消耗长时间运行2.1.5轻量级,对开发者友好及易于部署无需代码,配置取代开发容错中介易于配置,方便错误捕捉服务可定制以满足任意WSO2中间件功能的特性预配置服务器的部署选项,无需配置的私有云或公有云(WSO2ESB作为一项服务)通过模板扩展自定义DSLs配置语言嵌入式脚本语言代码,如Javascript,JRuby,Groovy以及更多自定义中介为SVN,Maven,Ant及其它标准工具提供开发及部署集成到WSO2Developer Studio(WSO2产品中一款基于ECLIPSE开发环境的IDE)2.1.6管理及监控以企业级安全的Web控制台提供全面的管理及监控标准访问及性能统计的监控嵌入式集成JMX MBeans监控及管理操作审核及KPI监控和管理与WSO2Business Activity控制台集成提供灵活的日志支持便于集成到企业日志系统通过WSO2Governance Registry,在不同环境间集中式配置管理版本及生命周期2.2WSO2Identity ServerWSO2Identity Server为企业WEB应用提供复杂的安全及身份管理,服务,API,使工作人员和架构师的工作更轻松,仅需最小的监控和维护.在最后版本中,身份服务作为一项Enterprise Identity Bus(EIB)—标准的管理多种身份无关的中心连接架构.增加(RBAC)规范,保证访问控制的良好颗粒度,和SSO桥接以轻松地创建身份和权限管理,Identity Server所有最新版本现在包含如下特性:身份票据转换和中介无缝集成,具体有―在内部应用和云应用(如Salesforce,Google应用,和微软Office365);新用户及组供应功能;提供多选项和多步骤灵活性认证,可选择认证选项及启用健壮的多组件认证.图4:wso2is平台结构图2.2.1系统及用户身份管理为集成身份管理到任意应用提供API多模式认证通过OpenID,SAML2,和Kerberos KDC实现单点登录(Single Sign-On(SSO))在预设系统和云应用间SSO桥接根据不同协议实现凭证映射通过XDAS审核通过OAuth1.0a,OAuth2.0,及WS-Trust授权OpenID,SAML2,及WS-Trust STS联合以Passive STS提供对微软SharePoint的集成以OAuth2.0和XACML实现REST安全键存储和分发使用XKMS以OpenID连接实现REST安全为每个租赁提供可信任的SAML2身份提供者对Google Apps和Salesforce提供开箱即用的集成为OpenID,OAuth,OpenID连接,SAML2,和Passive STS提供订制登录页2.2.2用户及组授予支持SCIM1.0标准SCIM的OAuth2.0认证为用户使用“Salesforce/Google Apps”自动订制或使用SPML/SCIM实时创建“漫游”凭证2..2.3用户及组管理为用户,配置文件,密码,和服务提供者管理提供基于WEB的管理灵活支持用户存储,如嵌入的LDAP(ApacheDS授权)或外部LDAP,微软Active Directory,Apache Cassandra,或任意JDBC数据库为每个用户提供多配置文件支持,提供灵活的配置文件管理多用户配置支持每个租赁用户的配置失败用户访问的帐户锁定密码校验/过期策略用邮件或密码提问恢复帐户2.2.4凭据管理基于访问控制的角色(RBAC)基于访问控制的属性或权限,通过XACML,WS-Trust,OpenID申请管理通过XACML,提供良好颗粒度的访问控制优化权限的认证和管理为任意REST或SOAP调用提供权限管理2.2.5支持XACML2.0/3.0对用户友好的策略编辑界面多策略信息点(PIP)支持TryIt工具检验策略影响策略分发到多策略决策点(PDPs)策略决策及属性缓存提供给PEP/PDP交互的高性能网络协议(在Apache Thrift之上)策略更新的通知用策略管理点(PAP)管理多策略决策点(PDP)定制化策略管理UI2.2.6轻量级,对开发者友好及易于部署提供完整的SOAP API集成或嵌入到任意程序或系统提供权限操作的可插拔工作流可插拔的扩展性,可选择的用户存储,提供XACML/SAML的扩展性及更多选择提供HA部署的群集提供预配置服务器的部署选项,私有云,管理云,无需配置修改授权集成到ESB,并且提供所有WSO2Carbon产品的授权2.2.7管理及监控提供全面管理和监控功能的Web控制台,符合企业级安全要求和SAML2SSO标准标准访问的嵌入式功能和监控,性能统计监控及管理JMX MBean与WSO2Business Activity Monitor集成,实现操作审核和KPI监控及管理与企业级日志系统集合实现灵活的日志支持通过集成到WSO2Governance Registry,实现根据不同的部署环境,按生命周期和版本集中配置管理2.3WSO2Governance Registry审计不仅指技术手段;审计也包括人员和流程.WSO2Governance Registry提供结构完整的权限级别,开箱即用地支持SOA审计,配置审计,开发过程审计,设计和运行时审计,生命周期管理,及团队协作.如今您有专门的流程和使用共享的电子表格注册企业服务,这是一个良好的开端.WSO2 Governance Registry帮助您提高到下一级别,使您的SOA套件在完全可知的状态和范围,通过通信与管理您服务的生命周期,通过鉴别与标注服务和消费者间的依赖项.图5:wso2gr平台结构图2.3.1为任意系统提供注册及库存储任何类型的源数据资源,包括契约,模型,工作流,WSDL,Word文档,服务器配置及其它修订,任意资源或资源集的版本进度及回溯全文本搜索,源数据搜索,标记注册包含微软Sharepoint在内的外部存储资源注册基于资源类型的自动触发器行为2.3.2SOA审计提供对任意服务的灵活注册,包括REST服务,JSON服务,SOAP服务和Thrift 服务审计服务的所有项,包括服务描述,服务耗费,服务使用率,服务发布,服务生命周期管理和服务策略依赖项管理及影响分析“设计时”和”运行时”策略管理全生命周期的管理为任意策略执行点(PEP)作为策略仓库,包括WSO2ESB WSO2应用服务器管理通知及警告基于认证的角色和授权,并集成到WSO2Identity Server或LDAP提供者(包括微软ActiveDirectory和IBM Tivoli入口管理)审核,日志及报告2.3.3配置审计审计任意种类的服务/系统配置.版本及修订的管理,使用检查点和回滚全生命周期的管理,跨越开发,测试,演示和产品环境通过命令行客户端集成到任意的第三方产品尝试集成到所有WSO2Carbon中间件产品2.3.4开发流程审计开发-构建-测试-演示-产品流程的全方面审计与源代码系统集成,如SVN与第三方持续集成(CI)系统整合,如Jenkins或Atlassian Bamboo与常见的构建系统集成,如Maven或Ant全面的end-to-end应用的生命周期管理与审计2.3.5为任意审计提供框架声明任意类型的审计断言定制化任意方面,包括UI,捕捉器和过滤器与第三方产品和外部系统集成库API:WebDAV,JCR注册API:UDDIv3,JAXR审计API:Atom/AtomPP,SOAP,S-RAMP2.3.6生命周期管理定制化的生命周期管理,嵌入式的测试单元内容自检,验证和确认人性化交互,通知和核对清单可扩展性,使用SCXML,WS-BPEL和Java2.3.7设计时审计发布和管理方案的重用和其它共享的元数据,支持订约优先的设计生命周期管理和元数据批准与WSO2Developer Studio IDE,Eclipse插件,Microsoft Visual Studio和WebDAV 集成包括所有WS-I配置的标准执行普通元数据类型的嵌入式最佳实践2.3.8运行时审计作为任意类型的运行时策略仓库,包括安全策略,API策略,服务约定,SLAs和XACML授权策略与WSO2Business Activity Monitor集成以提供分析,监控和业务智能(包括定制化KPI)服务性能标准的管理2.3.9修改时审计基于角色的动作分离批准的进程后续执行的计划任务的能力2.3.10为企业审计提供社会协作启用社会企业任务式的人性化交互,方便审计对任意类型的资源或加工品,作注释,评估和记号2.3.11轻量级,对开发者友好及易于部署中间件功能的插件提供,实现服务定制化可独立部署或或作为服务组到预装服务器的部署选项,有私有云,或管理云,无需修改配置与SVN,Maven,Ant和其它标准开发及部署工具集成与WSO2Developer Studio,所有基于Eclipse IDE的WSO2产品集成2.3.12管理及监控基于企业级安全的,全面的管理和监控Web控制台嵌入式采集,标准访问和性能统计的监控JMX MBean监控和管理与WSO2Business Activity Monitor集成,对操作审核和对KPI监控及管理灵活的日志,支持与企业日志系统集成集中式配置管理,跨越不同的环境对生命周期和版本进行管理2.4WSO2Data Services Server在大多数应用程序之下,使用的是异构和差异化的数据存储.WSO2Data Services Server 增加了一种基于SOA理念,轻松化开发集成数据存储的方法,创建复合数据视图,管理数据服务.Data services提供了一种空前的数据访问和前向集成的方式,可集成业务流程,mashups, gadgets,BI和移动应用.WSO2Data Services Server支持安全和可管理的数据访问,用轻量级的方式管理联邦数据存储,数据服务事务,和数据转换及校验,对开发者友好,适于快捷开发.图6:wso2ds平台结构图2.4.1以Web Services或REST资源暴露任意数据源支持的数据源:任意RDBMS,CSV,Excel,ODS,Cassandra,Google Spreadsheets, RDF,任意裁剪的Web页面支持的数据库:MSSQL,DB2,Oracle,OpenEdge,TerraData,MySQL, PostgreSQL/EnterpriseDB,H2,Derby或任意支持JDBC驱动的数据库支持的传输:HTTP,HTTPS,JMS,SMTP,其它包括(经由WSO2Enterprise Service Bus)FTP,FTPS,SFTP和TCP2.4.2敏捷开发声明式编程模型,定义服务和资源基于DSL的XML,无需编写JAV A代码2.4.3群组支持在单个回复或资源中,可从多个数据资源中获取数据支持数据资源的嵌套式查询2.4.4RESTful数据访问创建一组CRUD操作的REST资源同时支持JSON和XML媒介类型将以HTTP(S)基础认证的安全资源集成到企业身份系统(通过WSO2Identity Server)2.4.5可靠的及可管理的数据访问认证,授权,保密,完整和以HTTP(S)为基础的加密授权,WS-Security,WS-Trust, WS-SecureConversation,WS-Policy,WS-PolicyAttachment和WS-SecurityPolicy以XACML实现良好颗粒度的授权(通过集成到WSO2ESB)很好地调整访问频次,源IP以及更多策略为普通安全形式,提供方便的WS-SecurityPolicy配置全面的用户管理(包括LDAP--通过集成到WSO2Identity Server)2.4.6事务数据访问及服务通过JMS分发事务跨数据源的事务2.4.7数据转换及验证通过XSLT和XQuery转换标准数据类型的嵌入式校验通过Java扩展定制校验器通过与WSO2ESB集成实现Schema校验2.4.8高性能,高可用,可扩展性及稳定性以大数据卷方式进行100%的流式数据处理数据访问只需极小耗费时间使用分布式响应缓存,最少化数据库访问支持HA部署通过群集,以无状态服务架构,横向调节以低资源使用率,长周期稳定运行2.4.9轻量级,对开发者友好及易于部署配置方式的声明式开发,无需代码便于数据服务编辑和资源配置的安装向导对已有数据库方案,提供CRUD操作/资源自动生成工具通过定制化XML数据格式,实现查询回复的灵活映射使用TryIt功能工具,方便获取踪迹信息和交互式测试,易于测试服务项为服务及服务stub自动生成WSDL中间件功能插件,实现服务定制化预安装服务器的部署选项,有私有云,或公有云(WSO2StratosLive Data作为一项服务)与SVN,Maven,Ant和其它标准开发及部署工具集成集成到WSO2Developer Studio,所有基于Eclipse IDE的WSO2产品集成2.4.10管理及监控基于企业级安全的,全面的管理和监控Web控制台嵌入式采集,标准访问和性能统计的监控JMX MBeans监控和管理与WSO2Business Activity Monitor集成,对操作审核和对KPI监控及管理灵活的日志,支持与企业日志系统集成通过集成到WSO2Governance Registry,实现根据不同的部署环境,按生命周期和版本集中配置管理2.5WSO2Enterprise Mobility ManagerWSO2Enterprise Mobility Manager(WSO2EMM)是一个全面的平台,助力于解决企业面临的移动运算的挑战,帮助团体自我,个人能动的(COPE)设备及职员自有设备,作为服务于自有设备程序(BYOD)的一部分.无论是设备展现,设备配置管理,策略执行,移动应用管理,设备数据安全,或兼容性监控,WSO2EMM提供了一个单独的企业级应用平台.图7:wso2emm平台结构图2.5.1移动设备管理(MDM)在终端用户MDM控制台,自助设备登记和管理同时管理员工和团体的自有设备支持Android和iOS(即将提供Blackberry,Windows Mobile和笔记本电脑的支持)将设备所有权集成到企业身份认证系统:LDAP,微软AD策略驱动设备管理相关的安全,数据,和设备我(摄像头,密码策略)空中部署策略报告,警示,和设备下线的符合度监控通过Nitrodesk Touchdown提供邮箱功能基于角色的设备管理许可从企业清理安全地清理掉企业已注册设备的踪迹定位获取报告和分析2.5.2移动应用管理发布或下线应用到登记的设备基于角色发布应用到登记的设备为每个用户发布应用到多个登记的设备通过策略发布应用Android应用程序黑名单(即将提供iOS支持)Android应用策略符合度监控(即将提供iOS支持)2.5.3企业应用仓库支持应用管理如下:Android企业应用Android公共应用iOS企业应用iOS公共应用移动Web应用通过生命周期管理应用审批过程通过企业App仓库发布移动应用移动应用到设备的自助服务2.5.4移动数据安全嵌入式强制密码安全和加密数据存储的加密电子邮件通过Nitrodesk触摸功能存储安全文件容器(即将支持)支持App模组化(即将支持)2.6WSO2Elastic Load BalancerWSO2Elastic Load Balancer(WSO2ELB)为WSO2服务实例提供轻量的均衡方案.包括失败关停,自动调节和多实例服务自动均衡,实现自动动态调节参数.WSO2Elastic Load Balancer的设计理念提供了一个有价值有实效的解决方案,不仅用在云环境也用在预配置环境.增加一个单独的均衡可以均衡进入的请求到不同服务的群集,比如应用服务器,业务流程服务器及其它.租用的资源允许WSO2Elastic Load Balancer提供一种可剥离的方式来均衡负载,通过共享一个工作节点服务组合.租赁也能被分隔成不同的方式.图8:wso2elb平台结构图2.6.1弹性调整工作节点WSO2ELB监控工作节点的负载,并可在必要时启动或终止节点在同IaaS底层通讯时调整均衡可透过多个在IaaS底层同时进行2.6.2IaaS动态无关性自动调整WSO2ELB的组件,以支持执行各种顶级的IaaS服务,包括亚马逊EC2, Eucalyptus,Ubuntu云,Openstack和VMware通过JClouds API可即时注册多个IaaS服务2.6.3将云集中为混合云服务群集含有一个静态工作池和一个附加的并发处理池并发可跨越公有及私有云,在同一时间使用不同的IaaS提供者借助您可用的计算能力,允许您扩展数据中心的处理能力,例如亚马逊EC2这样的公有云2.6.4租用已有的负载均衡动态租用卸载和加载项租赁能被分配到不同的服务群集2.6.5租用的“Private Jet”模式在单用户租赁模式中,多租户部署可允许一批租赁负载的部署群集是特许独立的,例如优先进程,用户基于定制化动作和增强的性能借助租赁分派整个服务群集2.6.6已有负载均衡的服务The WSO2ELB能一次性加载多个服务的负载均衡服务能被配置为不同的服务群集或享服务群集2.6.7动态发布WSO2ELB动态发布工作节点无需重启系统,即可添加或删除节点动态添加或删除整个群集2.6.8管理功能友好简单文本配置语言极速启动及动态重构易于系统管理和监控,如Nagios和Unix2.7WSO2Storage ServerWSO2Storage Server方便地传送多租户的结构化的和非结构化的数据存储到开发项目.开发团队使用一致的管理进程能迅速地提供和安全访问以下资源:可剥离的关系型的,NoSQL结构,和Hadoop分布式文件系统(HDFS)库.WSO2 Storage Server管理控制台允许团队创建数据库,添加数据,基于web应用的数据库策略开放访问.我们提供的云感知的WSO2Storage Server支持弹性调节,即时响应自我供给,基于价值模型的消费.服务器发布使用数据到WSO2Business Activity Monitor并能提供高级分析,监控,和消耗计算.图9:wso2ss平台结构图2.7.1不可知存储技术的预备广泛的存储系统支持:o NoSQL存储:Cassandrao非结构化存储(文件系统):HDFSo关系化存储:MySQL,SQL Server,PostgreSQL和Oracle(即将提供)支持的操作:o管理数据库o管理用户/授权从编组项中选择设定默认值或创建自己的编组策略驱动的供应(即将提供)o基于QoS/SLA函数2.7.2配置存储为一项服务管理存储容量和(即将提供)预配置使用策略及消费(即将提供)横向灵活调整(使用S2DB存储卷)(即将提供)数据库迁移到更大的群集纵向调整数据库群集的设置2.7.3配置应用生命周期支持数据库初始化数据迁移数据备份和恢复。
1概述1.1编制目的通过本地发布ESB 服务,来管理平台所有webservice接口,及定制平台输入、输出XML 规范,达到webservice集中部署,集中管理,统一规范的目的1.2技术介绍1.2.1有关ESB企业服务总线是一种软件架构的构造,生存在(业务)应用和通信之间。
理想情况下,ESB总线上的应用程序能够代替所有直接接触使所有通信通过ESB。
ESB通过一个事件驱动和基于标准的消息引擎(总线)提供基本服务。
多亏ESB,集成架构师可以利用消息的价值而无需编写代码。
开发人员通常使用一类公认标准的中间件基础设施产品技术实现ESB。
ESB是一个比较新的概念。
仅仅是在最近几年被普遍使用。
人们通常将ESB和面向服务的体系结构联系在一起但他们有正交的关系。
然而,如SOA、ESB本质上是许多企业软件产品直接实现的企业架构设计模式的集合。
WSO2 ESB是一种根据ApacheV2.0许可证发布的快速、轻量级和灵活的企业服务总线产品。
使用ESB在HTTP、HTTPS、JMS、mail等协议基础上通过业务系统过滤、转换、路由和处理SOAP,二进制、纯XML和文本消息。
1.2.2wso2是什么?WSO2企业服务总线(ESB)是一个快速,轻巧,100%开源的和用户友好的开源ESB,分布按照Apache软件许可证2.0版。
WSO2 ESB允许系统管理员和开发消息路由,调解,改造,记录,任务调度,故障切换路由,负载均衡和更方便地配置。
它还支持传输交换,事件,以规则为基础的调解和基于优先级的先进的集成要求调解。
ESB运行时的设计是完全异步,非阻塞上Apache Synapse的调解的引擎和基于流的。
WSO2ESB是基于WSO2 carbon平台之上发展而来的,一个基于OSGi的SOA通过组件化的框架提供了无缝的模块化开发。
此版本还包含了许多新的功能和一系列的可选组件(附件)可以安装自定义ESB的行为。
此外,ESB任何现有的而环境不需要的功能都可以很容易的利用底层配置框架的carbon移除。
1.WSO2SOA套件体系WSO2是一个领先的开源SOA解决方案提供者。
其提供了SOA相关的各种基础设施、技术框架和相关工具,流程server,application server 等等,并且都是Apache2.0开源协议的。
对商业友好,也给学习者打开了方便之门。
可以说,wso2提供了全套的SOA相关技术,开箱即用,且文档比较齐全,包括docs,Quick Start,install guide等等。
主要产品系列包括:产品体系如下:WSO2SOA体系结构图1WSO2SOA体系结构图22.WSO2套件产品系列:2.1WSO2ESB相比老式架构,我们给您耳目一新的感受.集中化的ESB架构,我们重新开始设计的高性能.低配置.最大共用性SOA理念的ESB产品.依赖于我们创新的CARBON技术,本产品提供了稳定的从头到尾的项目体验.高性能,低配置.如,一个部署的ESB实例可将内存占用控制在160MB之内.如果您了解到eBay使用100%的WSO2ESB解决方案,每天处理超过一亿的事务,您就不会对性能有任何疑问.图1:wso2esb消息路由图图2:wso2esb平台结构图图3:wso2esb平台协作图2.1.1连接任意端到任意端传输支持:HTTP,HTTPS,POP,IMAP,SMTP,JMS,AMQP,FIX,TCP,UDP,FTPS,SFTP,CIFS,MLLP,SMS格式及协议:JSON,XML,SOAP1.1,SOAP1.2,WS-*,HTML,EDI,HL7,OAGIS, Hessian,Text,JPEG,MP4,所有二进制格式,CORBA/IIOP到COTS系统的适配器:SAP BAPI&IDoc,PeopleSoft,MS Navision,IBM WebSphere MQ,Oracle AQ,MSMQ到云服务的适配器:Salesforce,Paypal,LinkedIn,Twitter,JIRA2.1.2路由,中介及转换路由:基于头文件,基于正文,基于规则及基于优先级路由中介:EIPs(包括scatter/gather,消息过滤,接收列表,dead-letter通道,担保发送和消息堆积),数据库集成,事件发布,日志和审核,验证转换:XSLT1.0/2.0,XPath,XQuery,Smooks2.1.3消息,服务,API及安全网关基于不同的协议和消息格式暴露已有的应用及服务松散耦合及SOA管理的虚拟化服务负载均衡可靠性及业务节点的HA为遗留系统/非标准服务创建服务前端集中执行和管理安全,包括认证及授权由WSO2Governance Registry完成策略执行及治理由以键管理的RESTful API暴露服务及应用日志,审核SLA监控,KPI监控支持WS-Security,LDAP,Kerberos,OpenID,SAML,XACML为inbound和outbound方案提供SSL隧道及SSL属性支持CRL/OCSP证书取消验证2.1.4高性能,高可用性,稳定及可扩展支持每服务器1000个以上的无阻塞HTTP(S)连接纯粹流式处理及即时响应消息处理毫秒级恢复,高吞吐量场景支持HA部署以无状态服务架构通过群集方式横向调节以低资源消耗长时间运行2.1.5轻量级,对开发者友好及易于部署无需代码,配置取代开发容错中介易于配置,方便错误捕捉服务可定制以满足任意WSO2中间件功能的特性预配置服务器的部署选项,无需配置的私有云或公有云(WSO2ESB作为一项服务)通过模板扩展自定义DSLs配置语言嵌入式脚本语言代码,如Javascript,JRuby,Groovy以及更多自定义中介为SVN,Maven,Ant及其它标准工具提供开发及部署集成到WSO2Developer Studio(WSO2产品中一款基于ECLIPSE开发环境的IDE)2.1.6管理及监控以企业级安全的Web控制台提供全面的管理及监控标准访问及性能统计的监控嵌入式集成JMX MBeans监控及管理操作审核及KPI监控和管理与WSO2Business Activity控制台集成提供灵活的日志支持便于集成到企业日志系统通过WSO2Governance Registry,在不同环境间集中式配置管理版本及生命周期2.2WSO2Identity ServerWSO2Identity Server为企业WEB应用提供复杂的安全及身份管理,服务,API,使工作人员和架构师的工作更轻松,仅需最小的监控和维护.在最后版本中,身份服务作为一项Enterprise Identity Bus(EIB)—标准的管理多种身份无关的中心连接架构.增加(RBAC)规范,保证访问控制的良好颗粒度,和SSO桥接以轻松地创建身份和权限管理,Identity Server所有最新版本现在包含如下特性:身份票据转换和中介无缝集成,具体有―在内部应用和云应用(如Salesforce,Google应用,和微软Office365);新用户及组供应功能;提供多选项和多步骤灵活性认证,可选择认证选项及启用健壮的多组件认证.图4:wso2is平台结构图2.2.1系统及用户身份管理为集成身份管理到任意应用提供API多模式认证通过OpenID,SAML2,和Kerberos KDC实现单点登录(Single Sign-On(SSO))在预设系统和云应用间SSO桥接根据不同协议实现凭证映射通过XDAS审核通过OAuth1.0a,OAuth2.0,及WS-Trust授权OpenID,SAML2,及WS-Trust STS联合以Passive STS提供对微软SharePoint的集成以OAuth2.0和XACML实现REST安全键存储和分发使用XKMS以OpenID连接实现REST安全为每个租赁提供可信任的SAML2身份提供者对Google Apps和Salesforce提供开箱即用的集成为OpenID,OAuth,OpenID连接,SAML2,和Passive STS提供订制登录页2.2.2用户及组授予支持SCIM1.0标准SCIM的OAuth2.0认证为用户使用“Salesforce/Google Apps”自动订制或使用SPML/SCIM实时创建“漫游”凭证2..2.3用户及组管理为用户,配置文件,密码,和服务提供者管理提供基于WEB的管理灵活支持用户存储,如嵌入的LDAP(ApacheDS授权)或外部LDAP,微软Active Directory,Apache Cassandra,或任意JDBC数据库为每个用户提供多配置文件支持,提供灵活的配置文件管理多用户配置支持每个租赁用户的配置失败用户访问的帐户锁定密码校验/过期策略用邮件或密码提问恢复帐户2.2.4凭据管理基于访问控制的角色(RBAC)基于访问控制的属性或权限,通过XACML,WS-Trust,OpenID申请管理通过XACML,提供良好颗粒度的访问控制优化权限的认证和管理为任意REST或SOAP调用提供权限管理2.2.5支持XACML2.0/3.0对用户友好的策略编辑界面多策略信息点(PIP)支持TryIt工具检验策略影响策略分发到多策略决策点(PDPs)策略决策及属性缓存提供给PEP/PDP交互的高性能网络协议(在Apache Thrift之上)策略更新的通知用策略管理点(PAP)管理多策略决策点(PDP)定制化策略管理UI2.2.6轻量级,对开发者友好及易于部署提供完整的SOAP API集成或嵌入到任意程序或系统提供权限操作的可插拔工作流可插拔的扩展性,可选择的用户存储,提供XACML/SAML的扩展性及更多选择提供HA部署的群集提供预配置服务器的部署选项,私有云,管理云,无需配置修改授权集成到ESB,并且提供所有WSO2Carbon产品的授权2.2.7管理及监控提供全面管理和监控功能的Web控制台,符合企业级安全要求和SAML2SSO标准标准访问的嵌入式功能和监控,性能统计监控及管理JMX MBean与WSO2Business Activity Monitor集成,实现操作审核和KPI监控及管理与企业级日志系统集合实现灵活的日志支持通过集成到WSO2Governance Registry,实现根据不同的部署环境,按生命周期和版本集中配置管理2.3WSO2Governance Registry审计不仅指技术手段;审计也包括人员和流程.WSO2Governance Registry提供结构完整的权限级别,开箱即用地支持SOA审计,配置审计,开发过程审计,设计和运行时审计,生命周期管理,及团队协作.如今您有专门的流程和使用共享的电子表格注册企业服务,这是一个良好的开端.WSO2 Governance Registry帮助您提高到下一级别,使您的SOA套件在完全可知的状态和范围,通过通信与管理您服务的生命周期,通过鉴别与标注服务和消费者间的依赖项.图5:wso2gr平台结构图2.3.1为任意系统提供注册及库存储任何类型的源数据资源,包括契约,模型,工作流,WSDL,Word文档,服务器配置及其它修订,任意资源或资源集的版本进度及回溯全文本搜索,源数据搜索,标记注册包含微软Sharepoint在内的外部存储资源注册基于资源类型的自动触发器行为2.3.2SOA审计提供对任意服务的灵活注册,包括REST服务,JSON服务,SOAP服务和Thrift 服务审计服务的所有项,包括服务描述,服务耗费,服务使用率,服务发布,服务生命周期管理和服务策略依赖项管理及影响分析“设计时”和”运行时”策略管理全生命周期的管理为任意策略执行点(PEP)作为策略仓库,包括WSO2ESB WSO2应用服务器管理通知及警告基于认证的角色和授权,并集成到WSO2Identity Server或LDAP提供者(包括微软ActiveDirectory和IBM Tivoli入口管理)审核,日志及报告2.3.3配置审计审计任意种类的服务/系统配置.版本及修订的管理,使用检查点和回滚全生命周期的管理,跨越开发,测试,演示和产品环境通过命令行客户端集成到任意的第三方产品尝试集成到所有WSO2Carbon中间件产品2.3.4开发流程审计开发-构建-测试-演示-产品流程的全方面审计与源代码系统集成,如SVN与第三方持续集成(CI)系统整合,如Jenkins或Atlassian Bamboo与常见的构建系统集成,如Maven或Ant全面的end-to-end应用的生命周期管理与审计2.3.5为任意审计提供框架声明任意类型的审计断言定制化任意方面,包括UI,捕捉器和过滤器与第三方产品和外部系统集成库API:WebDAV,JCR注册API:UDDIv3,JAXR审计API:Atom/AtomPP,SOAP,S-RAMP2.3.6生命周期管理定制化的生命周期管理,嵌入式的测试单元内容自检,验证和确认人性化交互,通知和核对清单可扩展性,使用SCXML,WS-BPEL和Java2.3.7设计时审计发布和管理方案的重用和其它共享的元数据,支持订约优先的设计生命周期管理和元数据批准与WSO2Developer Studio IDE,Eclipse插件,Microsoft Visual Studio和WebDAV 集成包括所有WS-I配置的标准执行普通元数据类型的嵌入式最佳实践2.3.8运行时审计作为任意类型的运行时策略仓库,包括安全策略,API策略,服务约定,SLAs和XACML授权策略与WSO2Business Activity Monitor集成以提供分析,监控和业务智能(包括定制化KPI)服务性能标准的管理2.3.9修改时审计基于角色的动作分离批准的进程后续执行的计划任务的能力2.3.10为企业审计提供社会协作启用社会企业任务式的人性化交互,方便审计对任意类型的资源或加工品,作注释,评估和记号2.3.11轻量级,对开发者友好及易于部署中间件功能的插件提供,实现服务定制化可独立部署或或作为服务组到预装服务器的部署选项,有私有云,或管理云,无需修改配置与SVN,Maven,Ant和其它标准开发及部署工具集成与WSO2Developer Studio,所有基于Eclipse IDE的WSO2产品集成2.3.12管理及监控基于企业级安全的,全面的管理和监控Web控制台嵌入式采集,标准访问和性能统计的监控JMX MBean监控和管理与WSO2Business Activity Monitor集成,对操作审核和对KPI监控及管理灵活的日志,支持与企业日志系统集成集中式配置管理,跨越不同的环境对生命周期和版本进行管理2.4WSO2Data Services Server在大多数应用程序之下,使用的是异构和差异化的数据存储.WSO2Data Services Server 增加了一种基于SOA理念,轻松化开发集成数据存储的方法,创建复合数据视图,管理数据服务.Data services提供了一种空前的数据访问和前向集成的方式,可集成业务流程,mashups, gadgets,BI和移动应用.WSO2Data Services Server支持安全和可管理的数据访问,用轻量级的方式管理联邦数据存储,数据服务事务,和数据转换及校验,对开发者友好,适于快捷开发.图6:wso2ds平台结构图2.4.1以Web Services或REST资源暴露任意数据源支持的数据源:任意RDBMS,CSV,Excel,ODS,Cassandra,Google Spreadsheets, RDF,任意裁剪的Web页面支持的数据库:MSSQL,DB2,Oracle,OpenEdge,TerraData,MySQL, PostgreSQL/EnterpriseDB,H2,Derby或任意支持JDBC驱动的数据库支持的传输:HTTP,HTTPS,JMS,SMTP,其它包括(经由WSO2Enterprise Service Bus)FTP,FTPS,SFTP和TCP2.4.2敏捷开发声明式编程模型,定义服务和资源基于DSL的XML,无需编写JAV A代码2.4.3群组支持在单个回复或资源中,可从多个数据资源中获取数据支持数据资源的嵌套式查询2.4.4RESTful数据访问创建一组CRUD操作的REST资源同时支持JSON和XML媒介类型将以HTTP(S)基础认证的安全资源集成到企业身份系统(通过WSO2Identity Server)2.4.5可靠的及可管理的数据访问认证,授权,保密,完整和以HTTP(S)为基础的加密授权,WS-Security,WS-Trust, WS-SecureConversation,WS-Policy,WS-PolicyAttachment和WS-SecurityPolicy以XACML实现良好颗粒度的授权(通过集成到WSO2ESB)很好地调整访问频次,源IP以及更多策略为普通安全形式,提供方便的WS-SecurityPolicy配置全面的用户管理(包括LDAP--通过集成到WSO2Identity Server)2.4.6事务数据访问及服务通过JMS分发事务跨数据源的事务2.4.7数据转换及验证通过XSLT和XQuery转换标准数据类型的嵌入式校验通过Java扩展定制校验器通过与WSO2ESB集成实现Schema校验2.4.8高性能,高可用,可扩展性及稳定性以大数据卷方式进行100%的流式数据处理数据访问只需极小耗费时间使用分布式响应缓存,最少化数据库访问支持HA部署通过群集,以无状态服务架构,横向调节以低资源使用率,长周期稳定运行2.4.9轻量级,对开发者友好及易于部署配置方式的声明式开发,无需代码便于数据服务编辑和资源配置的安装向导对已有数据库方案,提供CRUD操作/资源自动生成工具通过定制化XML数据格式,实现查询回复的灵活映射使用TryIt功能工具,方便获取踪迹信息和交互式测试,易于测试服务项为服务及服务stub自动生成WSDL中间件功能插件,实现服务定制化预安装服务器的部署选项,有私有云,或公有云(WSO2StratosLive Data作为一项服务)与SVN,Maven,Ant和其它标准开发及部署工具集成集成到WSO2Developer Studio,所有基于Eclipse IDE的WSO2产品集成2.4.10管理及监控基于企业级安全的,全面的管理和监控Web控制台嵌入式采集,标准访问和性能统计的监控JMX MBeans监控和管理与WSO2Business Activity Monitor集成,对操作审核和对KPI监控及管理灵活的日志,支持与企业日志系统集成通过集成到WSO2Governance Registry,实现根据不同的部署环境,按生命周期和版本集中配置管理2.5WSO2Enterprise Mobility ManagerWSO2Enterprise Mobility Manager(WSO2EMM)是一个全面的平台,助力于解决企业面临的移动运算的挑战,帮助团体自我,个人能动的(COPE)设备及职员自有设备,作为服务于自有设备程序(BYOD)的一部分.无论是设备展现,设备配置管理,策略执行,移动应用管理,设备数据安全,或兼容性监控,WSO2EMM提供了一个单独的企业级应用平台.图7:wso2emm平台结构图2.5.1移动设备管理(MDM)在终端用户MDM控制台,自助设备登记和管理同时管理员工和团体的自有设备支持Android和iOS(即将提供Blackberry,Windows Mobile和笔记本电脑的支持)将设备所有权集成到企业身份认证系统:LDAP,微软AD策略驱动设备管理相关的安全,数据,和设备我(摄像头,密码策略)空中部署策略报告,警示,和设备下线的符合度监控通过Nitrodesk Touchdown提供邮箱功能基于角色的设备管理许可从企业清理安全地清理掉企业已注册设备的踪迹定位获取报告和分析2.5.2移动应用管理发布或下线应用到登记的设备基于角色发布应用到登记的设备为每个用户发布应用到多个登记的设备通过策略发布应用Android应用程序黑名单(即将提供iOS支持)Android应用策略符合度监控(即将提供iOS支持)2.5.3企业应用仓库支持应用管理如下:Android企业应用Android公共应用iOS企业应用iOS公共应用移动Web应用通过生命周期管理应用审批过程通过企业App仓库发布移动应用移动应用到设备的自助服务2.5.4移动数据安全嵌入式强制密码安全和加密数据存储的加密电子邮件通过Nitrodesk触摸功能存储安全文件容器(即将支持)支持App模组化(即将支持)2.6WSO2Elastic Load BalancerWSO2Elastic Load Balancer(WSO2ELB)为WSO2服务实例提供轻量的均衡方案.包括失败关停,自动调节和多实例服务自动均衡,实现自动动态调节参数.WSO2Elastic Load Balancer的设计理念提供了一个有价值有实效的解决方案,不仅用在云环境也用在预配置环境.增加一个单独的均衡可以均衡进入的请求到不同服务的群集,比如应用服务器,业务流程服务器及其它.租用的资源允许WSO2Elastic Load Balancer提供一种可剥离的方式来均衡负载,通过共享一个工作节点服务组合.租赁也能被分隔成不同的方式.图8:wso2elb平台结构图2.6.1弹性调整工作节点WSO2ELB监控工作节点的负载,并可在必要时启动或终止节点在同IaaS底层通讯时调整均衡可透过多个在IaaS底层同时进行2.6.2IaaS动态无关性自动调整WSO2ELB的组件,以支持执行各种顶级的IaaS服务,包括亚马逊EC2, Eucalyptus,Ubuntu云,Openstack和VMware通过JClouds API可即时注册多个IaaS服务2.6.3将云集中为混合云服务群集含有一个静态工作池和一个附加的并发处理池并发可跨越公有及私有云,在同一时间使用不同的IaaS提供者借助您可用的计算能力,允许您扩展数据中心的处理能力,例如亚马逊EC2这样的公有云2.6.4租用已有的负载均衡动态租用卸载和加载项租赁能被分配到不同的服务群集2.6.5租用的“Private Jet”模式在单用户租赁模式中,多租户部署可允许一批租赁负载的部署群集是特许独立的,例如优先进程,用户基于定制化动作和增强的性能借助租赁分派整个服务群集2.6.6已有负载均衡的服务The WSO2ELB能一次性加载多个服务的负载均衡服务能被配置为不同的服务群集或享服务群集2.6.7动态发布WSO2ELB动态发布工作节点无需重启系统,即可添加或删除节点动态添加或删除整个群集2.6.8管理功能友好简单文本配置语言极速启动及动态重构易于系统管理和监控,如Nagios和Unix2.7WSO2Storage ServerWSO2Storage Server方便地传送多租户的结构化的和非结构化的数据存储到开发项目.开发团队使用一致的管理进程能迅速地提供和安全访问以下资源:可剥离的关系型的,NoSQL结构,和Hadoop分布式文件系统(HDFS)库.WSO2 Storage Server管理控制台允许团队创建数据库,添加数据,基于web应用的数据库策略开放访问.我们提供的云感知的WSO2Storage Server支持弹性调节,即时响应自我供给,基于价值模型的消费.服务器发布使用数据到WSO2Business Activity Monitor并能提供高级分析,监控,和消耗计算.图9:wso2ss平台结构图2.7.1不可知存储技术的预备广泛的存储系统支持:o NoSQL存储:Cassandrao非结构化存储(文件系统):HDFSo关系化存储:MySQL,SQL Server,PostgreSQL和Oracle(即将提供)支持的操作:o管理数据库o管理用户/授权从编组项中选择设定默认值或创建自己的编组策略驱动的供应(即将提供)o基于QoS/SLA函数2.7.2配置存储为一项服务管理存储容量和(即将提供)预配置使用策略及消费(即将提供)横向灵活调整(使用S2DB存储卷)(即将提供)数据库迁移到更大的群集纵向调整数据库群集的设置2.7.3配置应用生命周期支持数据库初始化数据迁移数据备份和恢复。