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 Process Files folder and choose New > WSDL Document.
  2. In the Name and Location wizard page, do the following:
    1. Enter 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. If you want to configure the abstract and concrete information from the wizard, then click Next. Otherwise, click Finish.
  3. In the Abstract Configuration wizard page, do the following:
    1. Enter a name for the port type.
    2. Enter a name for the operation.
    3. Select the category of operation.
    4. Depending on the category of operation, you enter message information for the input, 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 operation is a request-response operation, then you can enter message information for a fault.
    6. If you want to configure the concrete information from the wizard, then click Next. Otherwise, click Finish.
  4. In the Concrete Configuration wizard page, do the following:
    1. Enter a name for the binding.
    2. Select the type of binding. The appropriate extensibility elements will be added to the WSDL file.
    3. If you selected the HTTP binding type, then you must specify whether the binding uses the GET or POST verb and whether message parts are encoded into the HTTP request URI using the standard URI-encoding rules or using a replacement algorithm. If you selected the SOAP binding type, then you must specify whether the operations are RPC-oriented or document-oriented and how the message parts reference their types. For other binding types, you typically have only one choice for the binding subtype.
    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