Portlet Factory, Version 6.1.2
Overview: web services
IBM® WebSphere Portlet Factory Designer allows you to call a web service.
You can access a web service by adding a Web Service Call builder to your model and use other builder calls to display or interact with the data returned by the service. The following are the general steps to accessing a web service.
- Find the URL to the web service.
- Add a Web Service Call builder call to a model.
- Invoke the service call.
- Access the outputs of the service.
You can expose one or more methods in a model as SOAP services described by a WSDL document. In the Service Definition builder, enable the Generate WSDL input. To obtain the URL of the WSDL document, enable the testing support and run the model. The test index page has a link to the WSDL URL.
You can create a web service from a model. Use the Web Service Enable builder for each method in your model that you want to expose as a web service. The following web service technologies are supported.
- Web Services Description Language (WSDL) 1.1
- Simple Object Access Protocol (SOAP) 1.1
- Web Services Interoperability Organization (WS-I) Basic Profile recommendation
Parent topic: Developing Web applications
- About creating web services
You can create a web service by exposing a method in a model as a web service.
- Testing services
You can test the services you call or create.
- About finding WSDL documents for services
You can find the WSDL documents for a web service to call either on a public web site or in a public or private registry.
- Web service calls in a model
With the URL to a service WSDL document in hand, you can add a service call to a model in IBM WebSphere Portlet Factory Designer.
- Publishing web services
You can expose your web services to other developers by distributing the URL to the getWSDL action for your model.
- Service Definition builder
Use the Service Definition builder and the Service Operation builder to create a IBM WebSphere Portlet Factory data service.
- Web Service Call builder
This builder is used to call a web service defined with WSDL (Web Services Definition Language).
- Web Service Enable builder
Use the Web Service Enable builder to create a Web service from a model.
Library | Support |