此内容没有您所选择的语言版本。

3.7. Adding a Service to a WSDL File


The HelloWorldArtifacts.wsdl file is added to a service when you create a BPEL process file. A default service is already defined in this WSDL file. However, if you want to add your own service, follow the steps below:
  1. Open the file HelloWorldArtifacts.wsdl in the HelloWorld project.
  2. Right-click the WSDL editor and select the Add Service option. A new service should appear in the editor. Name it HelloWorldProcessService. It has the Port named NewPort. Select it, right-click on it and rename it to HelloWorldProcessPort in the Properties view.

    Figure 3.8. Diagram 1

  3. Right-click in the whitespace of the WSDL editor and select the Add Binding option. A new Binding component will appear in the editor. Name it HelloWorldSOAPBinding. Select it, and in the General tab of the Properties view and select HelloWorld as a port type in the PortType field.
  4. Click on the Generate Binding Content... button to open the Binding Wizard.
  5. In the wizard, select SOAP as the Protocol. Click the Finish button to close the wizard.

    Figure 3.9. Diagram 2

  6. Click the HelloWorldProcessPort property in the General section of the Properties view.
  7. Select HelloWorldSOAPBinding in the Binding combobox.
  8. Figure 3.10. Diagram 3

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat