加载中…
个人资料
钓钓没有鱼
钓钓没有鱼
  • 博客等级:
  • 博客积分:0
  • 博客访问:903
  • 关注人气:0
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
谁看过这篇博文
加载中…
正文 字体大小:

B2B Solutions using Websphere Partner Gateway(7)

(2008-12-18 12:16:09)
标签:

it

    3.2.3 Profile management

    Three different types of profiles exist within WebSphere Partner Gateway. The first profile is a built-in profile. It is called Operator, but you can change this name, if you want. Members of the profile (or company) Operator have the widest authorities in the system. Usually, the members or users belonging to the company Operator are the system administrators who are responsible for a smooth operation of the server.

    在WebSphere Partner Gateway中有三种不同类型的配置文件。第一种是内嵌配置文件。叫做Operator,但是不能修改名字。Operator配置文件中的成员拥有系统中广泛的权限。通常的,属于Operator成员或者用户是系统管理员,他们负责服务器的顺利运作。

    A second profile is the community manager. This profile is usually reserved for the company that owns the server. Members or users belonging to this profile have a wide range of authorities but are usually not authorized to make system-wide changes. There can only be one community manager for a given WebSphere Partner Gateway server. However, in a network of interconnected WebSphere Partner Gateway servers, you have more than one community manager. Usually, every WebSphere Partner Gateway has exactly one community manager.

    第二类配置文件是community manager。这个配置文件通常保留给拥有服务器的企业。属于这个配置文件的成员或者用户拥有很大的权限,但是通常没有设置整个系统变化的权限。一个WebSphere Partner Gateway服务器可以只有一个community manage。在一个互连的WebSphere Partner Gateway服务器网络内,会有不只一个community manager,通常的,每个WebSphere Partner Gateway有一个community manager。

    The trading partners of the community manager are defined to the WebSphere Partner Gateway server as community participants. As a community participant, you have limited options on the server. For example, you can only use or view objects and documents that relate to you as a community participant. In a network of interconnected WebSphere Partner Gateway servers, you may be the community manager of your own server and a community Participant on the server of your trading partners. If implemented, you can log on as a community Participant to the server of your trading partner. This allows for some level of self-definition and self-management within your trading partner community.

    community manager的贸易伙伴在WebSphere Partner Gateway服务器上被定义成community participants。作为一个community participant,在服务器上的权限受限。例如,只能使用或浏览与参与对象相关的对象以及文档。在一个互连的WebSphere Partner Gateway服务器网络内,你可能是你自己的服务器上的community manager,也可能是贸易伙伴服务器上的community Participant。如果实施了,你可以以community Participant身份登录贸易伙伴的服务器。这允许在伙伴的社区里进行一定级别的自主定义和自主管理。   

    3.3 B2B features and standards

    As seen in the previous chapters, many standards are playing a role in a B2B solution. These standards and technologies operate at three different levels:

    Transport: How the payload goes from the sender to the receiver

    Message protocol: The language of the payload

    Business protocol: The meaning of the terms used in the message

    Figure 3-4 shows this stack of technologies, above which we list the features of WebSphere Partner Gateway.

    正如在前面几章所见的,B2B解决方案中有许多标准。这些标准和技术可以运行在三种不同的层次:

    传输:有效负载如何从发送者到达接收者

    消息协议:有效负载的语言

    业务协议:消息中术语的含义

    图3-4展示了这些技术的层次,在此之上我们列出了WebSphere Partner Gateway的特点。

    3.3.1 Transport options

    WebSphere Partner Gateway supports several transport options. Messages can be sent to your partners or received from your partners with:

    HTTP and HTTPS

    FTP(S) and FTP scripting

    SMTP(for AS1)

    JMS and MQ

    Direct access to the file system is possible as well for internal transport. It is possible to implement custom transport options.

    WebSphere Partner Gateway支持很多传输方式。向伙伴发送消息或这从伙伴处接收消息可以通过:

    HTTP以及HTTPS

    FTP(S)以及 FTP脚本

    SMTP(for AS1)

    JMS 以及 MQ

    可以直接访问文件系统,也可以通过内部传输。可以实施自定义的传输方式。

    3.3.2 Messaging protocol options

    Three styles of messaging are supported by WebSphere Partner Gateway. You can use:

    AS1 and AS2

    RNIF 1.1 and RNIF 2.0

    SOAP, to support Web services

    It is possible to implement custom messaging protocol options.

    WebSphere Partner Gateway支持3种消息格式,你可以使用:

    AS1以及AS2

    RNIF 1.1 以及 RNIF 2.0

    SOAP,支持Web services

    可以实施客户化消息协议格式。

    3.3.3 Business document formats

    At the business level, WebSphere Partner Gateway can handle and validate documents that adhere to the following standards:

    RosettaNet 1.1 and RosettaNet 2.0

    EDI X12 and EDIFACT

    cXML

    Custom XML

    Flat files with or without any formalized structure.

    在业务层,WebSphere Partner Gateway可以处理和接受如下标准的文件:

    RosettaNet 1.1 以及 RosettaNet 2.0

    EDI X12 以及 EDIFACT

    cXML

    客户化 XML

    使用或者不使用格式化结构的平面文件

    3.3.4 Security options in WebSphere Partner Gateway

    B2B transactions over the Internet imply that strong security is required. WebSphere Partner Gateway has security features at three different levels:

    1. Transport level

    WebSphere Partner Gateway supports HTTP/S and FTP over SSL, so that the exchange of documents occurs in a secure way with authorized partners.

    通过互联网的B2B交易说明需要强大的安全性。WebSphere Partner Gateway的安全特点主要体现在三个不同的层次。

    1.传输层

    WebSphere Partner Gateway支持基于SSL的HTTP/S以及FTP,因此与授权的伙伴进行文档交互是一种安全的手段。

    2. Document level

    Besides using a secure transport, you can also protect the actual document by encrypting and signing it. WebSphere Partner Gateway supports using several encryption and signing algorithms. It also has an interface to manage certificates and private keys.

    2.文档层

    除了使用安全的传输方式,你也可以通过加密和签名来保护实际文档。WebSphere Partner Gateway支持使用多种加密和签名算法。也有管理证书和私钥的接口。

    3. Interface level

    Using the console is reserved for authenticated users. You need to log on to WebSphere Partner Gateway with a browser. The browser interface is supported over HTTP and HTTP/S, providing a secure interface to WebSphere Partner Gateway. As an authenticated user, you belong to a certain group or profile which implies certain authorities. The hub administrator can assign or deny certain authorities so that a user can only perform authorized tasks.

    3.接口层

    有权限的用户可以使用控制台。你需要通过浏览器登录WebSphere Partner Gateway。这个浏览器接口支持使用HTTP以及HTTPS,为WebSphere Partner Gateway提供了一个安全的接口。作为一个授权用户,你属于某一个组或者配置文件,它暗示了某种权利。枢纽管理员可以分配或收回权限,以保证用户只能处理授权的任务。

    3.4 Extensible architecture

    WebSphere Partner Gateway provides a mechanism for users to add custom functions, called exits or handlers, at different stages of the document processing. WebSphere Partner Gateway uses this support to expand its own capabilities, like adding of the new EDI functionality.

    WebSphere Partner Gateway向用户提供了一个增加客户化功能的机制,即所谓的文档处理不同阶段的出口或者处理。

    3.4.1 Encryption, validation and transformation

    As WebSphere Partner Gateway receives and processes a document, users have the ability to call-out to a program easily as part of processing. These User Exits or handlers can be used (for document encryption and decryption for a protocol that does not have it, for example), validation (think plug-in EDIFACT for SNIP level validation with HIPAA), or transformation.

    正如WebSphere Partner Gateway接收并处理文件,用户可以很容易的调出一个程序作为处理的一部分。这些用户出口或者处理可以被使用(对文件的加密和对协议的解密没有类似的功能),确认,或者转换。

    3.4.2 Custom transports, packages and protocols

    As mentioned earlier, WebSphere Partner Gateway can be extended to enable custom transports, packages and protocols to be added within the framework of the WebSphere Partner Gateway runtime and Community Console based administration. There are a number of exit points that enable adding custom listeners for additional transports, parsers for additional packages and protocols. In this way’ the rest of the infrastructure of WebSphere Partner Gateway can be used in conjunction with these new capabilities.

    正如前面提到的,WebSphere Partner Gateway是可扩展的,可以支持在这个WebSphere Partner Gateway运行以及基于Community Console管理的框加内增加客户化的传输、打包和协议。这里面有很多出口点可以为额外的传输增加客户化的监听,为额外的打包和协议增加分部程序。通过这种方式,剩下的WebSphere Partner Gateway的基础设施可以用来作为新性能的连接点。

    For example, a new transport could deliver a document, such as an EDI X12 that would be reprocessed in the normal way through the rest of the system. Also, AS2 might be used to deliver a new protocol as an AS2 binary document. So the combination of standard and custom components can be used to extend and reuse all of the capabilities of WebSphere Partner Gateway in a seamless way.

    例如,一个新的传输可以传输一个文件,例如EDI X12可以以一种通常的方式通过余下的系统进行在加工。另,AS2可能以一个AS2二进制文件用来传输一个新的协议。标准和客户化组件的结合可以通过一种无缝的方式来扩展和重用WebSphere Partner Gateway所有的性能。

    3.5 Enterprise Integration

    WebSphere Partner Gateway does not operate on an island within an organization. Documents that are received by WebSphere Partner Gateway usually need to be processed by one or more internal applications. WebSphere Partner Gateway can interact directly with those internal applications using JMS, HTTP, or the file system (refer to Figure 3-2 on page 37). For more complex scenarios, it is common for WebSphere Partner Gateway to interact with an EAI layer, for example, with an integration broker such as WebSphere Message Broker. The integration broker can then handle the distribution of incoming documents to one or more internal applications (possibly using WebSphere Integration Adapters). If an incoming document needs to be delivered to only one application, WebSphere Partner Gateway could interact with that application directly.

    WebSphere Partner Gateway并不是企业中一个信息孤岛。由WebSphere Partner Gateway接收到的文档通常需要被一个或多个内部软件来处理。WebSphere Partner Gateway可以直接通过JMS,HTTP,或者文件系统与这些内部软件发生作用。对于更复杂的环节,WebSphere Partner Gateway通常会与EAI层发生交互,例如,通过一个类似WebSphere Message Broker的集成代理。这个集成代理可以处理这些传入文件,并分发到一个或多个内部软件中(可能会使用WebSphere Integration Adapters)。如果一个传入文件需要被传送到一个软件中,WebSphere Partner Gateway可以直接与该软件进行交互。

    However, if a document needs to be delivered to more than one internal application in a dynamic way (based on the content or type of the document for example), the use of an integration broker will greatly simplify the overall infrastructure. Integration between WebSphere Partner Gateway and the integration broker can be performed with several communication options. This allows you to exchange detailed metadata between WebSphere Partner Gateway and an integration broker so that you can build flexible solutions.

    无论如何,如果一个文件需要以一种动态的方式发送到不只一个内部软件中(例如,基于文件的内容或者格式),集成代理的使用可以简化整体的基础设施。WebSphere Partner Gateway和集成代理之间的集成可以执行多种通讯权限。可以使你在WebSphere Partner Gateway和集成代理之间交换明细的数据源,因此你可以建立灵活的解决方案。

(第三章完)

0

阅读 评论 收藏 转载 喜欢 打印举报/Report
  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有