Skip to main content Skip to complementary content

Defining the Web service


  1. On the Repository tree view, right-click the Services node and from the contextual menu, select Create Service.
  2. In the pop-up wizard, enter airport in the Name field and click Next.
  3. Select the Create new WSDL option.
  4. Click Finish to validate this creation.
    The service opens in the design workspace.
  5. Right-click the port airportPort in the WSDL skeleton and select Show properties. In the Address field, specify the address where you want the service to be published, for example, http://localhost:8200/airport.service.
  6. Click the portType airportPortType in the WSDL skeleton. Change its name to airportSoap.
  7. Click the operation airportOperation in the WSDL skeleton. Change its name to getAirportInformationByISOCountryCode.
  8. Right-click the getAirportInformationByISOCountryCode operation and select Add Fault to add the fault element to the operation.
  9. Save the WSDL file.
    The newly defined Web service displays under the Services node of the Repository view.
  10. Under the Services node, right-click airport 0.1 and select Import WSDL Schemas.
    This option imports the WSDL metadata from the service into the Repository, under the Metadata > File XML, which allows you to share the operation details across services and other components.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!