📄 readme
字号:
Files: orderclt.c: client src code from which the orderclt is created. The client that reads the xml doc test.xml on disk, creates an XML buffer and calls ORDERSVC service with it ordersvr.c: server src code from which shoeordersvr and shirtordersvr are created. Both servers offer the ORDERSVC service. The XML buffer is routed to one of these servers. xml.mk: make file for creating the clients and servers. ubb: ubbconfig file for defining data-dependent routing entry for ORDERSVC setenv.sh: shell script for setting up environment varsTo run the sample:1. . ./setenv.sh2. make -ef xml.mk all3. tmloadcf -y ubb4. tmboot -y5. orderclt test.xml6. look in the ULOG for message from the appropriate serverExercises left to the reader:There is an error in this simple application. You will notice that theshirt order in the form of the XML doc in test.xml is being routed to ashoe order server.Exercise #1: Modify the routing entry in the ubb is routed to the shirt order server.Exercise #2: Modify the routing entry in the ubb so that the XML doc is routed on element content of ITEM rather than on element attribute "ORDERNO" of HEADER element.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -