Create a Web Service Provider to begin the process of generating a WSDL file that
identifies the server hosting the Web Service, lists the operations that can be executed,
and provides XML Schemas so a consumer knows how to form their request message and
understand the response message.
-
Select File | New | Web Service Provider from the main menu bar.
-
Select a Web Service Consumer type - choices are SOAP/WSDL or REST using the radio
buttons. Click Next to proceed.
Note: Select Synchronous if you plan to use an output Schema to send a
response to consumers of your service. While an input Schema is needed to
receive the request from a consumer, an output schema (i.e. response) is
optional. When synchronous, the output Schema is required.
-
Select Source folder, Package, and Name.
Note: Since the name you select here will also be the
name of the service to be provided, it is good practice to include
descriptive naming (while following recommended naming conventions).
-
Click Finish. An editor appears.