GetResourceMetadataDescriptorExample
-------------------------------------------------------------------
The example shows how to get metadata from a
WS-Resource.
A QMan WS-Resource has different kinds of metadata.
(see below)
User who wants to receive metadata of a WS-Resource
must send a GetMetadataRequesta specifying the
associated dialect.
Supported metadata that could be requested are :
- WSDL : in this case dialect is "http://schemas.xmlsoap.org/wsdl/";
- RDM (Resource Metadata Descriptor) : in this case dialect is "http://docs.oasis-open.org/wsrf/rmd-1 ".
Note that this examples focuses on RDM Metadata only;
another one is dedicated to WSDL.
-------------------------------------------------------------------
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:cdcf747a-e5fc-3762-1748-87cc2eefb18b
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:1d0d091b-8867-d765-7cc8-4898851cd783
uuid:cdcf747a-e5fc-3762-1748-87cc2eefb18b
http://localhost:8080/qman/services/adapter
http://localhost:8080/qman/services/ServiceGroupEntry
uuid:3a2ee31e-49ed-e30a-c985-0fe49c182a75
http://localhost:8080/qman/services/QManWsResource
Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,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:ba2435fc-9172-69d8-f4be-34f7f45b26ff
http://www.w3.org/2005/08/addressing/role/anonymous
Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,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:ceb6eb90-4910-01a9-c138-6029e6bb0836
uuid:ba2435fc-9172-69d8-f4be-34f7f45b26ff
http://localhost:8080/qman/services/QManWsResource
Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,package=org.apache.qpid