NonStop SOAP User's Manual
Contents
NonStop SOAP User’s Manual—520501-012
viii
C. NonStop SOAP User-Exits (continued)
C. NonStop SOAP User-Exits (continued)
Pre_Marshal() User-Exit C-7
Pre_Marshal_Header() User-Exit C-8
Post_Process() User-Exit C-8
Guidelines to Implement Nonstop Soap User-ExitsUser-Exits C-9
SOA Enable A Nonstop Server Application Without User-Exits C-9
SOA Enable a Nonstop Server Application With User-Exits C-10
Create the DDL for the Service C-11
Define and Create a New Sdl File for the Service C-11
Deploy the SDL file C-21
Implement the User-exit Methods C-23
Build the NonStop Server With User-Exits Executable C-27
Start the NonStop SOAP Service C-30
Sample SDL file generated for NonStop Tuxedo “TOUPPER” service C-32
Files Created When the Example Sdl File is Deployed C-34
SoapUEClassFactory.cpp C-34
Complete User-exit Code Sample for Nonstop Tuxedo Simpapp Example C-36
1. SoapUEClassFactory.cpp C-36
2. SoapUEHandler_impl.h C-37
3. SoapUEHandler_impl.cpp C-39
Glossary
Index
Examples
Example 4-1. Request to Start a Session and Invoke a Service 4-5
Example 4-2. Response to Session Initiation, with Response from Service 4-5
Example 4-3. Session Initiation Request with Empty Body 4-6
Example 4-4. Request Continuing a Session 4-6
Example 4-5. Response Showing Session Still in Progress 4-7
Example 4-6. Request to Abort a Subsession 4-7
Example 4-7. Last Request of a Session 4-8
Example 4-8. Response to Last Request of Session 4-9
Example 4-9. Ending a Session without Invoking a Service 4-9
Example 4-10. Response to Indicate that Session Has Ended 4-9
Example 4-11. Fault for Session Timeout 4-10
Example 4-12. Displaying Cookie File Contents 4-13
Example 4-13. Specifying the Session ID on the SOAP Server Command Line 4-14
Example 4-14. Starting a Transaction 4-16