LibraryLink ToToggle FramesPrintFeedback

Defining the Metadata

Java based service providers typically use annotations to specify JAX-WS metadata. Since JavaScript does not support annotations, you must use ordinary JavaScript variables to specify metadata for JavaScript implementations. Fuse Services Framework treats any JavaScript variable with a name that equals or begins with WebServiceProvider as a JAX-WS metadata variable.

Properties of the variable are expected to specify the same metadata that the JAX-WS WebServiceProvider annotation specifies, including:

The JavaScript WebServiceProvider— can also specify the following optional properties:

Example 1.1 shows a metadata description for a JavaScript service implementation.