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

8.6. Create a New Web Service View Model


Important

Please note that Web Service View Modeling has been deprecated.

8.6.1. Create a New Web Service View Model

To create a new empty web service view model:
  1. Launch the New Model Wizard.
  2. Specify a unique model name.
  3. Select Web Service option from Model Class drop-down menu.
  4. Select View Model from Model Type drop-down menu.
  5. Click Finish.

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.
In addition to creating a new empty web service view model, the following builder options are available:
  1. Copy from existing model of the same model class.
  2. Build from existing WSDL file(s) or URL.

8.6.2. Copy an Existing Web Service View Model

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.
To create a new Web Service view model by copying contents from another web service view model, complete first 4 steps from the Create a New Web Service View Model section and continue with these additional steps:
  1. Select the model builder labeled Copy from existing model of the same model class and click Next >. The Copy Existing Model dialog will be displayed.
  2. Select an existing Web Service view model from the workspace using the browse button.
  3. Select the Copy all descriptions option if desired. Click Finish.
This builder option creates a Web service model based on a user defined WSDL file and its referenced schemas. In addition, applicable XML schema files and XML View document models (optional) are created.
To create a new Web Service View Model, complete first 4 steps from the Create a New Web Service View Model section and continue with these additional steps:
  1. Select the model builder labeled Build from existing WSDL file(s) or URL and click Next >.
  2. Complete the steps in the wizard. The remaining steps are the same as the process covered in Import WSDL Into Web Service at Section 9.10.1, “Import WSDL Into Web Service”.
Web Service models and their corresponding Interfaces and Operations can be generated in Teiid Designer from XML View model components. Namely, XML View Documents and XML View Document roots.
To create a new Web service model from XML components:
  1. Select either a single XML Document or single XML Document root in the Model Explorer View.
  2. Right-click select Modeling > Create Web Service action .
  3. Fill in missing properties in Web Service Generation Wizard.
  4. Click Finish to generate model. When model generation is complete, a confirmation dialog is displayed. Click OK.

Note

Users can change the Web Service Model and Interface Name values (via "..." buttons) to use existing Web service model components. This will create a new operation in an existing model.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat