Creating an Operation from the New Operation Wizard
Creating an Operation from the New Operation Wizard
Use the New Operation wizard to create an operation after you have created a web service manually.
Choose a method to create an operation.
From the Object Explorer, right-click on a web service and select
New
Operation
.
From the Outline View, right-click on a web service and select
New
Operation
.
Open a web service in the
Object Explorer
and select
Overview
Operations
area. Click the arrow next to the
New
button.
The
New Operation
dialog box apears.
Enter a name for the operation and optionally enter a description.
The Developer tool uses the operation name to define the names for the operation input and the operation output.
Click
Next.
Select the binding type of the operation.
Default is SOAP 1.1. You cannot change the binding type of the operation after you have created and saved the operation.
Optionally, select the
Mapping Input
tab for each operation input to map data from the operation input to the output ports.
You can also map the data when you configure the Input transformation.
Optionally, select the
Mapping Output
tab for each operation output to map data from the input ports to the operation output.
You can also map the data when you configure the Output transformation.
Optionally, click the arrow next to the
New
button to create a Fault for the operation.
You can choose to create each element for the fault message or select reusable elements. The wizard adds the elements to the detail element in the fault message. You can also map the data when you configure the Fault transformation.
Click
Finish
.
You can optionally create an element or a predefined fault.