Using the Web Service Call builderAdded by IBM on June 28, 2011 | Version 1 (Original)
|The Web Service Call builder allows you to execute several different types of services, and displays different inputs according to the type of service call you choose.
The Web Service Call builder allows you to execute several different types of services, and displays different inputs according to the type of service call you choose.
The following steps describe the general process of configuring a web service call.
- In the Service Call Type input, select the type of service call: WSDL, SOAP, HTTP, or Local.
Note: This input only displays when you work with a model that was created in previous versions of IBM® WebSphere® Portlet Factory. Models created with WebSphere Portlet Factory version 6.1.5 and later do not display this input and the builder automatically configures itself for calling WSDL services.
- Enter the URL for the service.
For WSDL service calls, enter the URL for the WSDL document that describes the service you want to call. The URL may be HTTP-based, for example http://myhost/mywsdl.wsdl or a file within the project, such as WEB-INF/mywsdl.wsdl.
If your organization is using WebSphere Service Registry and Repository (WSRR), you can use WSRR to search for and download WSDL to your project.
- Specify the values for the arguments to pass to the service.
For WSDL service calls, the builder call editor lists the arguments that the service requires and you must specify their values.
For SOAP and HTTP service calls, you need to know the required arguments and build up the arguments list in the Arguments input in the builder call editor.
- Enter any authentication information.
The other inputs to the Web Service Call builder are service type-specific, and in the case of WSDL service calls, may be read-only or have default values specified by the WSDL document.
Parent topic: Web Service Call builder