Portlet Factory, Version 6.1.2


 

Web Service Multiple Operations builder

Use the Web Service Multiple Operations builder to add to your model all the operations defined in a WSDL service.

Note: The Web Service Multiple Operations builder combines the features of the following builders:

  • Web Service Call builder

  • Service Definition builder

  • Service Operation builder

In contrast, the Web Service Call builder adds only one operation defined in a WSDL service.

The Web Service Multiple Operations builder adds an LJO variable to the model for each operation defined in the WSDL service. Use the LJO variables to invoke the service calls and store the inputs and responses in a variable. The Web Service Multiple Operation builder adds a schema to the WebApp and creates default input and result variables for each operation based on the schema type defined for the operation. The Web Service Multiple Operation builder only supports document literal style web services.

If you load a WSDL service using Fetch WSDL in the builder call editor and save the builder, you find the LJO for each operation, default variables, and the service schema defined. Using a builder option, you can create a default Service Definition builder or you can pick from an existing list of service definitions. A service operation with default settings is defined for each operation in the WSDL service. In contrast to the Web Service Call builder, this builder exposes all the operations in a WSDL service as a provider model using a single builder.

Note: This builder does not cache the WSDL file. If you do not expect the WSDL code to change, capture a copy of the WSDL code by entering the WSDL URL in a browser and saving the response to a local file. Save a copy of the WSDL file in the project and set the WSDL URL to point to the local copy of the WSDL file. Examine the WSDL content for any imported WSDL files that are included and any referenced schemas. You also need to fetch those files and store them locally.

Pointing to local copies improves generation performance, and eliminates the need to have a network connection that can re-fetch the WSDL each time the model is generated.

Parent topic: Builder help


Library | Support |