Exposing an SDF service as a Web service on WebSphere®
About this task
To expose an SDF service as a web service, you first have to copy the input and output xsds for the API that is exposed in the SDF service and edit them.
Note: If you want
to overwrite the input or output XSD for any API, you must expose
the API as an SDF service and then expose the SDF service as a Web
service. JAX-WS does not support API output templates but the equivalent
can be achieved by using the following procedure.
Tip: You
can use the same procedure to design fully customized APIs exposed
through the SDF. To do so, write your own XSD for the input and output
of your API, and ensure that you avoid constructs that are not supported
in JAX-B such as xsd:any.
Procedure
Results
This is also the procedure you would use to extend a table, with this additional step: after copying and renaming the files, edit them to reference the new columns/API inputs/outputs.