GetMultipleResourcePropertiesExample ------------------------------------------------------------------- This example shows how to get properties from a WS-Resource using one request. First of all a request is send to WS-DM in order to get all registered WS-Resources. If the returned list is not empty then a GetMetadataRequest to the first child. The result metadata descriptor contains all property names of the target WS-Resource. Those names are then used for retrieving the corresponding values using the GetMultipleResourceProperties request. ------------------------------------------------------------------- Type enter to proceed... [CLIENT TRACE] SOAP envelope contents (outgoing): http://localhost:8080/qman/services/adapter http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest uuid:1a72feb1-7d76-1014-66d7-cd03aeff3525 http://www.w3.org/2005/08/addressing/role/anonymous wsrf-sg:Entry [CLIENT TRACE] SOAP envelope contents (incoming): http://www.w3.org/2005/08/addressing/role/anonymous http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse uuid:783956b1-4de7-f4b6-5421-536f5f310b9a uuid:1a72feb1-7d76-1014-66d7-cd03aeff3525 http://localhost:8080/qman/services/adapter http://localhost:8080/qman/services/ServiceGroupEntry uuid:b220e2bd-0370-da4e-fc71-5e283954d319 http://localhost:8080/qman/services/QManWsResource Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid [CLIENT TRACE] SOAP envelope contents (outgoing): http://localhost:8080/qman/services/QManWsResource http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata uuid:588288c9-8bb7-04e9-e7bf-7be1e2fe41fb http://www.w3.org/2005/08/addressing/role/anonymous Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid http://docs.oasis-open.org/wsrf/rmd-1 [CLIENT TRACE] SOAP envelope contents (incoming): http://www.w3.org/2005/08/addressing/role/anonymous http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse uuid:77c5520b-d450-5a8a-7e2b-22a1079392f2 uuid:588288c9-8bb7-04e9-e7bf-7be1e2fe41fb http://localhost:8080/qman/services/QManWsResource Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid [CLIENT TRACE] SOAP envelope contents (outgoing): http://localhost:8080/qman/services/QManWsResource http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest uuid:783fc044-58a9-e780-a2ba-5b2ac0454985 http://www.w3.org/2005/08/addressing/role/anonymous Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid qman:MgmtPubInterval qman:Name qman:MsgTotalEnqueues qman:Arguments qman:VhostRef qman:ExpireTime qman:Durable qman:ConsumerCount qman:Type [CLIENT TRACE] SOAP envelope contents (incoming): http://www.w3.org/2005/08/addressing/role/anonymous http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesResponse uuid:9a2d76dd-52ba-ac7c-74cf-4acd99708529 uuid:783fc044-58a9-e780-a2ba-5b2ac0454985 http://localhost:8080/qman/services/QManWsResource Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid 32767 Initial Name 9223372036854775797 Key3 2147483647 Key4 3.4028235E38 Key1 aStringValue Key2 -9223372036854775808 2deef1b3-d2c6-49f3-a8de-51f6a75a1a6b 9223372036854775807 true -2147483638