Creating a WSDL File

See Also

When you create a WSDL file, you must choose one of the following approaches:

The wizard enables you to create a basic WSDL file. If you want a more complicated WSDL file, then use the WSDL Editor to modify the basic WSDL file.

To create a WSDL file from scratch:

  1. In the Projects window, right-click the Process Files folder and choose New > WSDL Document.
  2. In the Name and Location wizard page, do the following:
    1. Supply a name for the file. You cannot enter a name that already exists in the project.
    2. (Optional) Change the default folder by clicking Browse and selecting the new folder.
    3. Enter the target namespace for the WSDL file. The target namespace will appear in the root element.
    4. Specify any XML Schema files that you want to import.
    5. Click Next.
  3. In the Abstract Configuration wizard page, do the following:
    1. Supply a name for the port type.
    2. Supply a name for the operation.
    3. Select the category of operation.
    4. Depending on the category of operation, you supply message information for the input, the output, or both the input and output. Each message contains one or more logical parts. The Add and Remove buttons enable you to add and remove message parts.
    5. (Optional) If the category of operation is Request-Response or Solicit-Response, then you can supply message information for a fault.
    6. Click Next.
  4. In the Concrete Configuration wizard page, do the following:
    1. Supply a name for the binding.
    2. The binding subtype options indicate how to translate the binding to a SOAP message. If your settings for message parts and the binding subtype do not conform to the WS-I Basic Profile, an error message appears at the bottom of the wizard page.
    3. Supply a name for the service.
    4. Supply a name for the port.
    5. Click Finish.
    The WSDL file is created. The WSDL Editor appears in WSDL view.

To create a WSDL file based on an existing WSDL file:

  1. In the Projects window, right-click the Process Files folder and choose New > File/Folder.
  2. In the Choose File Type wizard page, do the following:
    1. In the Categories list, select the XML node.
    2. In the File Types list, select the External WSDL Document(s) node.
    3. Click Next.
  3. In the Specify Resource Location wizard page, do one of the following:
  4. The WSDL file is created. The WSDL Editor appears in WSDL view.
See Also
Addding WSDL and XML Schema Resources
Configuring WSDL File Components

Legal Notices