A capability that is related to -genTest is the capability to generate skeleton server and sample client programs. These can act as guides or templates in developing more advanced web service server and client programs.
The -genSkel option causes a skeleton server program (server.c) to be generated. This option must be used with option -genTest. The skeleton server receives a request message, populates response message with test data, and sends the response message back to the client. A stub (empty) function is generated for each WSDL operation. These functions should be supplied by the Web Service developers. In the generated server code, some comments are put in place for calling of the these functions.
The -genClient
option causes a sample client program
(client.c) to be generated. This option must be used with option
-genTest. The sample client program populates a request messasge with
test data, sends to the server, and waits to receive the response
message.