NonStop SOAP 4.1 User's Manual

logging.h
logging_in_handler.c
logging_out_handler.c
Makefile
Generating Message Receiver User Functions Stubs
Message Receiver User Functions (MRUF) enable you to modify the message buffer, Pathway or
service attributes, and customize the message flow in the Message Receiver phase. For more
information about MRUF, see “Customizing NonStop SOAP 4 Message Processing” (page 124).
NOTE: The SoapAdminCL tool can generate MRUF stubs that can be customized as required.
Use the following command to generate the MRUF stubs:
OSS> SoapAdminCL -MRUF <Message Receiver User Functions name>
[-o | -outdir] <output directory>
[-f | -force]
where,
-MRUF <Message Receiver User Functions name>
specifies the name of the Message Receiver User Functions.
-o <output directory>
specifies the directory where the MRUF stub files are generated.
-f | -force
specifies that the existing files (if any) created by the SoapAdminCL tool will be overwritten.
The directory structure appears as:
<output directory>
/MRUserFunctions
/<Message Receiver User Functions Name>
/src
<Message Receiver User Functions Name>_MRUF.c
<Message Receiver User Functions Name>_MRUF.h
Makefile
For example:
SoapAdminCL -MRUF sample_MRUF -o /home/usr/my_nssoap -f
where,
sample_MRUF
is the name of the MRUF.
/home/usr/my_nssoap
is the directory where the MRUF stub files are generated.
The directory structure appears as:
/home/usr/my_nssoap
/MRUserFunctions
/myapplication
/src
myapplication_MRUF.c
myapplication_MRUF.h
Makefile
NOTE: The SoapAdminCL tool also generates the stub files for service-level module handlers
and Message Receiver User Functions if the GenerateModuleHandlerFiles and
GenerateMessageReceiverUserFunctionFiles attributes of the service element of the
SDL file are set to yes. For more information about these attributes, see “NonStop SOAP 4 Service
Description Language” (page 153).
200 NonStop SOAP Tools