To define a business service, perform the following steps:
Click
New
Components
Business Services
and then click
Create
.
Enter a name for the business service and select the location to save it.
Select the connection that you want to use or create a new one.
Optionally, to refresh the connection metadata every time you run the task, enable dynamic refresh.
Select the operation you want to use from the web service.
If necessary, configure the operation to specify the choice elements and derived type elements for the request and the response.
If operation components include choice elements or complexType elements where the abstract attribute is true, then you must choose one or more elements or derived types when you configure the operation mapping.
Optionally, for a complexType element where the abstract attribute is false, you can also select a derived type for a complexType element.
For the operation you want to configure, click
Configure
.
From the
Configure Operation
window, click the
Request
,
Response
, or
Fault
tab and navigate to the node you need to configure.
If the WSDL uses the anyAttribute element, the element will not appear for the request or the response.
You can click the icons at the top to navigate to the nodes that you need to configure:
Expand all nodes.
Collapse all nodes.
Show only nodes that you must configure. If you select this icon and no nodes expand, then you do not have to choose any choice elements or derived types.
Select the choice elements or derived types.
Ensure that you configure the request and the response for the operation by clicking the relevant tabs.
Save the configured operation.
Optionally, add more operations and configure the operations if necessary.
Save the business service.
If you have not configured all the required choice elements and derived types, then you cannot save the business service.