Creating a WSDL File From Scratch

See Also

When you create a WSDL file from scratch, the wizard contains three pages that you can fill out.

You do not need to complete all three pages. You can fill out the Name and Location page and then click Finish. Or you can fill out the Name and Location page and the Abstract Configuration page and then click Finish.

To create a WSDL file from scratch:

  1. In the Projects window, right-click the project and choose New > WSDL Document.
    The Name and Location wizard page appears.
  2. Configure the name and location:
    1. Enter a name for the WSDL file. The name must comply with the rules for the NCName data type. You cannot enter a name that already exists in the project. Be sure to enter a descriptive name, such as AirlineReservationService or HotelReservationService.
    2. (Optional) Change the default folder by clicking Browse and selecting the new folder.
    3. Enter the target namespace of the WSDL file. The target namespace will appear in the root element.
    4. Specify any XML Schema files that you want to import.
  3. If you want to configure the abstract and concrete information from the wizard, then click Next. Otherwise, click Finish and skip the remaining steps.
  4. Configure the abstract information:
    1. Enter a name for the port type.
    2. Enter a name for the operation.
    3. Select the category of operation: request-response or one way.
    4. Define the message that the operation receives as input.
    5. If the operation is a request-response operation, then define the message that the operation sends as output.
    6. (Optional) If the operation is a request-response operation, then you can optionally define a message that the operation sends as a fault.
  5. If you want to configure the concrete information from the wizard, then click Next. Otherwise, click Finish and skip the remaining step.
  6. Configure the concrete information:
    1. Enter a name for the binding.
    2. Select the type of binding.
    3. Select the binding subtype. The choices vary depending on the binding type.
    4. Enter a name for the service.
    5. Enter a name for the port.
    6. Click Finish.
    The WSDL file is created. The WSDL Editor appears in WSDL view.
See Also
About the WSDL Editor
Creating a WSDL File Based On an Existing WSDL File

Legal Notices