The service element is a collection
of related ports and specifies the location of the service.
To create a new service, complete the following steps:
- In the Design view, right-click in any blank space and click Add
Service. To select the new service, click the service object.
- In the Properties view, click the General pane. In the Name field,
type the name of the service. The name of the service provides
it with a unique name amongst all the services defined within in the enclosing
WSDL document.
- Type any information about the service you want the user to read
in the Documentation pane.
- To manage extensions, click the Extensions pane. You can
either add, sort, or remove extensions.
Tip: You can also create a service using the Outline view
by right-clicking the Services folder and clicking Add Service.
You
can now add a port to your service. A port defines an individual endpoint
by specifying a single address for a binding.