readme

来自「tuxede下面的编程」· 代码 · 共 32 行

TXT
32
字号
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 + =
减小字号Ctrl + -
显示快捷键?