Agile PLM Web Service -1

来源:互联网 发布:三国志9y优化伴侣 编辑:程序博客网 时间:2024/04/26 14:30

Developing Web Service Extensions About Web Service Extensions 关于Web service Extensions Web service extensions(WSX) is a Web service engine enabling communication between Agile PLM and disparate systems both internal and external including Enterprise Resource Planning(ERP) systems,Customer Resource Management(CRM) systems,Business-to-Business Integration systems(B2Bi),other Agile PLM systems ,and supply chain partners.WSX can streamline the process for new product introduction(NPI),product changes,and rapid ramp-up of making critical product content available in real time to other core systems.WSX contains the tools and framework to develop new Agile PLM Web services. web service 扩展 是一个 web service 引擎 可以沟通Agile PLM 与不同 的系统 包括内部和外部系统。例如 ERP,CRM,B2Bi,其他 Agile PLM系统,供应商。WSX 包含开发新Agile PLM Web Service 的工具和框架。 You can use WSX to: 使用WSX可以: Make product content available to Enterprise Application Integration(EAI) systems,which can then feed the data to a board array of internal applicaitons. 使产品数据对企业应用集成系统可用,并提供数据给内部应用程序。 Share product content with product design,manufacturing planning,shop floor,Enterprise Resource Planning(ERP),and Custmer Relationship Management(CRM) applications. 在产品设计、制造、车间、ERP CRM 应用中共享数据信息。 Make product content available to Business-to-Business(B2B) systems,which can transfer Agile Application server data across corporate boundaries to a wide range of external applications 是产品信息对B2B系统可见,在Agile应用服务其与外部应用程序之间传递数据。 Provide content to exchanges,reports,and custom applications and import Product content data from ERP and other suppy chain applications. 提供数据用于交换、报表、客户程序以及导入产品数据从ERP 以及其他供应商程序。 Developing and Deploying a Web Service 开发和部署一个Web service Writing your own Web service is a simple task,consisting of a few steps: 按照下面的步骤 写一个自己的Web service 是一件容易的任务: 1.Define your Web service's entry point(s) . A Web service entry point (or operation) corresponds to a public method on a Java class. 定义自己的web Service 入口. 一个web service 入口点 对应一个java类中的公用方法。 2.Code your Web service operation's logic .You need not follow any special rules when coding the logic for your web service operation.You may take advantage of third party code libraries as well as Agile-provided libraries,including the Agile API. 编写自己的web service 应用逻辑,可能会用到第三方代码库 ,Agie 自带 的库 ,包括AgileAPI. 3.Compile your Java code as you normally would. 按照意愿编译Java代码 4.Copy the compiled JAR file(s) to AGILE_HOME/integration/sdk/extensions on the Agile Application Server computer. The deployment descriptor for the Web service should also be in the JAR file(s) in a file named META-INF/services/com.agile.wsx.Deployment.wsdd. 拷贝编译好的JAR文件 到Agile_HOME/integration/sdk/extensions 目录下,在AgielAppliation Server 的电脑 web services 的部署描述器 在这个JAR文件里,名字是 META-INF/Services/com.agile.wsx.Deployment.wsdd Using a Web Service 使用web service Once you have developed and deployed your custom Web service, you will want to use it . 当你开发和部署好你自定义的Web service ,你会想要使用它: You can access your Web service using a URL of the form 你可以通过使用如下RUL 格式来访问你的Web service: http://://integration/ws/