diff options
Diffstat (limited to 'java/management/client/src/example')
23 files changed, 0 insertions, 7844 deletions
diff --git a/java/management/client/src/example/ConnectWithBroker.out.ok b/java/management/client/src/example/ConnectWithBroker.out.ok deleted file mode 100644 index 33af477b98..0000000000 --- a/java/management/client/src/example/ConnectWithBroker.out.ok +++ /dev/null @@ -1,81 +0,0 @@ - ConnectWithBrokerExample
--------------------------------------------------------------------
-
-This example shows how to connect QMan with a broker using
-the adapter interface.
-
-Type enter to proceed...
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://amqp.apache.org/qpid/management/qman/Connect</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:48bf9a1b-f814-7391-b5cf-d163de4ac068</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <qman:Connect xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <qman:host>sofia.gazzax.com</qman:host>
- <qman:port>5672</qman:port>
- <qman:username>test</qman:username>
- <qman:password>a.gazzarini</qman:password>
- <qman:virtualHost>p1ssw9rd</qman:virtualHost>
- <qman:initialPoolCapacity>1</qman:initialPoolCapacity>
- <qman:maxPoolCapacity>4</qman:maxPoolCapacity>
- <qman:maxWaitTimeout>2000</qman:maxWaitTimeout>
- </qman:Connect>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/fault</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:220bfe54-d5f4-4a04-794c-0f5d99a64567</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:48bf9a1b-f814-7391-b5cf-d163de4ac068</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://romagazzarini:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <soap:Fault>
- <soap:Code xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <soap:Value>qman:QMan</soap:Value>
- </soap:Code>
- <soap:Reason>
- <soap:Text>Unable to connect with the requested broker. Underlying exception message was null</soap:Text>
- </soap:Reason>
- <soap:Detail>
- <qman:OperationInvocationFault xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrf-bf:Timestamp xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2">2009-02-17T10:37:08+01:00</wsrf-bf:Timestamp>
- <wsrf-bf:OriginatorReference xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2">
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/adapter</wsa:Address>
- </wsrf-bf:OriginatorReference>
- <qman:host>sofia.gazzax.com</qman:host>
- <qman:port>5672</qman:port>
- <qman:username>test</qman:username>
- <qman:virtualHost>p1ssw9rd</qman:virtualHost>
- </qman:OperationInvocationFault>
- </soap:Detail>
- </soap:Fault>
- </soap:Body>
-</soap:Envelope>
-
------------------------EXAMPLE FAILURE-----------
-Not well-defined exception was detected while
-running the example.
-org.apache.muse.ws.addressing.soap.SoapFault: Unable to connect with the requested broker. Underlying exception message was null
- at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
- at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:232)
- at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:211)
- at org.apache.qpid.management.example.ConnectWithBrokerExample.executeExample(ConnectWithBrokerExample.java:146)
- at org.apache.qpid.management.example.ConnectWithBrokerExample.execute(ConnectWithBrokerExample.java:97)
- at org.apache.qpid.management.example.ConnectWithBrokerExample.main(ConnectWithBrokerExample.java:201)
---------------------------------------------------------
diff --git a/java/management/client/src/example/GetMultipleResourceProperties.out.ok b/java/management/client/src/example/GetMultipleResourceProperties.out.ok deleted file mode 100644 index 005841488d..0000000000 --- a/java/management/client/src/example/GetMultipleResourceProperties.out.ok +++ /dev/null @@ -1,262 +0,0 @@ - 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):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:1a72feb1-7d76-1014-66d7-cd03aeff3525</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:783956b1-4de7-f4b6-5421-536f5f310b9a</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:1a72feb1-7d76-1014-66d7-cd03aeff3525</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-sg:Entry xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">
- <wsrf-sg:ServiceGroupEntryEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/ServiceGroupEntry</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:b220e2bd-0370-da4e-fc71-5e283954d319</muse-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:ServiceGroupEntryEPR>
- <wsrf-sg:MemberServiceEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:MemberServiceEPR>
- <wsrf-sg:Content/>
- </wsrf-sg:Entry>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:588288c9-8bb7-04e9-e7bf-7be1e2fe41fb</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://docs.oasis-open.org/wsrf/rmd-1</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:77c5520b-d450-5a8a-7e2b-22a1079392f2</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:588288c9-8bb7-04e9-e7bf-7be1e2fe41fb</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsrmd:MetadataDescriptor
- interface="qman:QManWsResourcePortType"
- name="QManWsResourceMetadata"
- wsdlLocation="http://docs.oasis-open.org/wsrf/rmd-1 QManWsResource.wsdl"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:MgmtPubInterval" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Name" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:TerminationTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable"
- name="qman:MsgTotalEnqueues" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Arguments" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:VhostRef" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:CurrentTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:ExpireTime" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Durable" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:ConsumerCount" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:Type" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- </wsrmd:MetadataDescriptor>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:783fc044-58a9-e780-a2ba-5b2ac0454985</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetMultipleResourceProperties xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MgmtPubInterval</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Name</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MsgTotalEnqueues</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Arguments</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:VhostRef</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:ExpireTime</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Durable</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:ConsumerCount</wsrf-rp:ResourceProperty>
- <wsrf-rp:ResourceProperty xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Type</wsrf-rp:ResourceProperty>
- </wsrf-rp:GetMultipleResourceProperties>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:9a2d76dd-52ba-ac7c-74cf-4acd99708529</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:783fc044-58a9-e780-a2ba-5b2ac0454985</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetMultipleResourcePropertiesResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:MgmtPubInterval xmlns:qman="http://amqp.apache.org/qpid/management/qman">32767</qman:MgmtPubInterval>
- <qman:Name xmlns:qman="http://amqp.apache.org/qpid/management/qman">Initial Name</qman:Name>
- <qman:MsgTotalEnqueues xmlns:qman="http://amqp.apache.org/qpid/management/qman">9223372036854775797</qman:MsgTotalEnqueues>
- <qman:Arguments
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <qman:entry>
- <qman:key>Key3</qman:key>
- <qman:value xsi:type="xsd:integer">2147483647</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key4</qman:key>
- <qman:value xsi:type="xsd:float">3.4028235E38</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key1</qman:key>
- <qman:value xsi:type="xsd:string">aStringValue</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key2</qman:key>
- <qman:value xsi:type="xsd:long">-9223372036854775808</qman:value>
- </qman:entry>
- </qman:Arguments>
- <qman:VhostRef xmlns:qman="http://amqp.apache.org/qpid/management/qman">2deef1b3-d2c6-49f3-a8de-51f6a75a1a6b</qman:VhostRef>
- <qman:ExpireTime xmlns:qman="http://amqp.apache.org/qpid/management/qman">9223372036854775807</qman:ExpireTime>
- <qman:Durable xmlns:qman="http://amqp.apache.org/qpid/management/qman">true</qman:Durable>
- <qman:ConsumerCount xmlns:qman="http://amqp.apache.org/qpid/management/qman">-2147483638</qman:ConsumerCount>
- </wsrf-rp:GetMultipleResourcePropertiesResponse>
- </soap:Body>
-</soap:Envelope>
\ No newline at end of file diff --git a/java/management/client/src/example/GetQManResourceMembers.out.ko b/java/management/client/src/example/GetQManResourceMembers.out.ko deleted file mode 100644 index d6b733e430..0000000000 --- a/java/management/client/src/example/GetQManResourceMembers.out.ko +++ /dev/null @@ -1,54 +0,0 @@ - GetQManResourceMembersExample Example
--------------------------------------------------------------------
-
-This example shows the usage of WS-DM
-GetResourcePropertyRequest / Response on a
-Group service.
-The target resource is the WS-DM Adapter itself
-and the requested property is "ws-rp:Entry".
-WS-DM Adapter is a special WS-Resource (is a Group)
-that acts as the main entry point for retrieving
-all other managed resources.
-So clients that want to deal with QMan WS-Resources
-must first get resource identifiers sending
-a GetResourcePropertyRequest to WS-DM Adapter
-with "ws-rp:Entry" as target target property.
-
--------------------------------------------------------------------
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://192.38.73.2:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:796bab33-ed59-3432-4e2c-1fadde465a25</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
------------------------EXAMPLE FAILURE----------------------
-org.apache.muse.ws.addressing.soap.SoapFault: No route to host: connect
- at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
- at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
- at org.apache.muse.ws.resource.remote.WsResourceClient.getResourceProperty(WsResourceClient.java:138)
- at org.apache.muse.ws.resource.sg.remote.ServiceGroupClient.getMembers(ServiceGroupClient.java:110)
- at org.apache.qpid.management.example.GetQManResourceMembersExample.execute(GetQManResourceMembersExample.java:61)
- at org.apache.qpid.management.example.GetQManResourceMembersExample.main(GetQManResourceMembersExample.java:133)
-
-
-#########################################################################################
-
-WARNING! Unable to run this sample : port number must be a number.
--------------------------------------------------------------
-Expected command line args for this sample are :
-
-1) host : ip or host name where QMan is running.
-2) port : port number where QMan is running.
-------------------------------------------------------------
\ No newline at end of file diff --git a/java/management/client/src/example/GetQManResourceMembers.out.ok b/java/management/client/src/example/GetQManResourceMembers.out.ok deleted file mode 100644 index dd75e1e490..0000000000 --- a/java/management/client/src/example/GetQManResourceMembers.out.ok +++ /dev/null @@ -1,55 +0,0 @@ - GetQManResourceMembersExample Example
--------------------------------------------------------------------
-
-This example shows the usage of WS-DM
-GetResourcePropertyRequest / Response on a
-Group service.
-The target resource is the WS-DM Adapter itself
-and the requested property is "ws-rp:Entry".
-WS-DM Adapter is a special WS-Resource (is a Group)
-that acts as the main entry point for retrieving
-all other managed resources.
-So clients that want to deal with QMan WS-Resources
-must first get resource identifiers sending
-a GetResourcePropertyRequest to WS-DM Adapter
-with "ws-rp:Entry" as target target property.
-
--------------------------------------------------------------------
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:024c678b-1fab-cb6a-0992-30027817fb92</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:90b0e421-6467-a72e-a8f4-cdedb80460b6</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:024c678b-1fab-cb6a-0992-30027817fb92</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://romagazzarini:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
---------------------------------------------------------------------------
-QMan has at the moment 0 registered resources.
---------------------------------------------------------------------------
\ No newline at end of file diff --git a/java/management/client/src/example/GetResourceMetadataDescriptor.out.ok b/java/management/client/src/example/GetResourceMetadataDescriptor.out.ok deleted file mode 100644 index a259259228..0000000000 --- a/java/management/client/src/example/GetResourceMetadataDescriptor.out.ok +++ /dev/null @@ -1,188 +0,0 @@ - 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):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:cdcf747a-e5fc-3762-1748-87cc2eefb18b</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:1d0d091b-8867-d765-7cc8-4898851cd783</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:cdcf747a-e5fc-3762-1748-87cc2eefb18b</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-sg:Entry xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">
- <wsrf-sg:ServiceGroupEntryEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/ServiceGroupEntry</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:3a2ee31e-49ed-e30a-c985-0fe49c182a75</muse-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:ServiceGroupEntryEPR>
- <wsrf-sg:MemberServiceEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:MemberServiceEPR>
- <wsrf-sg:Content/>
- </wsrf-sg:Entry>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ba2435fc-9172-69d8-f4be-34f7f45b26ff</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://docs.oasis-open.org/wsrf/rmd-1</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ceb6eb90-4910-01a9-c138-6029e6bb0836</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ba2435fc-9172-69d8-f4be-34f7f45b26ff</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=cbe0cada-e8ee-424c-945b-f6c42df7b011,class=queue,name=1232952196269,objectId=e2857418-b873-47b7-ab30-441ae9376529,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsrmd:MetadataDescriptor
- interface="qman:QManWsResourcePortType"
- name="QManWsResourceMetadata"
- wsdlLocation="http://docs.oasis-open.org/wsrf/rmd-1 QManWsResource.wsdl"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:MgmtPubInterval" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Name" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:TerminationTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable"
- name="qman:MsgTotalEnqueues" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Arguments" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:VhostRef" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:CurrentTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:ExpireTime" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Durable" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:ConsumerCount" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:Type" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- </wsrmd:MetadataDescriptor>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
\ No newline at end of file diff --git a/java/management/client/src/example/GetResourcePropertyDocument.out.ok b/java/management/client/src/example/GetResourcePropertyDocument.out.ok deleted file mode 100644 index 9d6312f2f3..0000000000 --- a/java/management/client/src/example/GetResourcePropertyDocument.out.ok +++ /dev/null @@ -1,138 +0,0 @@ - GetResourcePropertyDocument
--------------------------------------------------------------------
-
-This example shows how to get the whole property
-document from a WS-Resource.
-Resource property document represents a particular
-composed structural view of the resource properties
-of the WS-Resource.
-First of all a request is send to WS-DM in order to get
-all registered WS-Resources.
-the target WS-Resource.
-If the returned list is not empty then a
-GetResourcePropertyDocumentRequest is sent to the first child.
-
--------------------------------------------------------------------
-
-Type enter to proceed...
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:50aa09f5-44e7-8bd3-7f24-49b8f0b9bf0d</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:f71342ad-2185-fdb3-393a-e9a98305effd</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:50aa09f5-44e7-8bd3-7f24-49b8f0b9bf0d</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-sg:Entry xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">
- <wsrf-sg:ServiceGroupEntryEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/ServiceGroupEntry</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:b220e2bd-0370-da4e-fc71-5e283954d319</muse-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:ServiceGroupEntryEPR>
- <wsrf-sg:MemberServiceEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:MemberServiceEPR>
- <wsrf-sg:Content/>
- </wsrf-sg:Entry>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e035946b-c3f5-1b24-e94a-61c674ce07b9</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyDocument xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:dafe12e4-c0a9-f872-cf1e-2a41bc291b2e</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e035946b-c3f5-1b24-e94a-61c674ce07b9</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyDocumentResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:QManWsResourceProperties xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <qman:MgmtPubInterval>32767</qman:MgmtPubInterval>
- <wsrf-rp:QueryExpressionDialect>http://www.w3.org/TR/1999/REC-xpath-19991116</wsrf-rp:QueryExpressionDialect>
- <qman:Name>Initial Name</qman:Name>
- <wsrf-rl:TerminationTime xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"/>
- <qman:MsgTotalEnqueues>9223372036854775797</qman:MsgTotalEnqueues>
- <qman:Arguments xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <qman:entry>
- <qman:key>Key3</qman:key>
- <qman:value xsi:type="xsd:integer">2147483647</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key4</qman:key>
- <qman:value xsi:type="xsd:float">3.4028235E38</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key1</qman:key>
- <qman:value xsi:type="xsd:string">aStringValue</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key2</qman:key>
- <qman:value xsi:type="xsd:long">-9223372036854775808</qman:value>
- </qman:entry>
- </qman:Arguments>
- <qman:VhostRef>2deef1b3-d2c6-49f3-a8de-51f6a75a1a6b</qman:VhostRef>
- <wsrf-rl:CurrentTime xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2">1232956293823</wsrf-rl:CurrentTime>
- <qman:ExpireTime>9223372036854775807</qman:ExpireTime>
- <qman:Durable>true</qman:Durable>
- <qman:ConsumerCount>-2147483638</qman:ConsumerCount>
- </qman:QManWsResourceProperties>
- </wsrf-rp:GetResourcePropertyDocumentResponse>
- </soap:Body>
-</soap:Envelope>
\ No newline at end of file diff --git a/java/management/client/src/example/GetResourcePropertyRequest.out.ok b/java/management/client/src/example/GetResourcePropertyRequest.out.ok deleted file mode 100644 index 4fa0ab3b8d..0000000000 --- a/java/management/client/src/example/GetResourcePropertyRequest.out.ok +++ /dev/null @@ -1,588 +0,0 @@ - GetResourcePropertyExample
--------------------------------------------------------------------
-
-This example shows how to get the property value
-from a WS-Resource.
-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 properties of
-the target WS-Resource.
-For each of them a GetResourcePropertyRequest is sent
- in order to get its value.
-
--------------------------------------------------------------------
-
-Type enter to proceed...
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e581b9cb-04a9-a87f-7763-dcf227ed7f8b</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:27bab9a7-89aa-16a1-966b-c0aa19d3b352</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e581b9cb-04a9-a87f-7763-dcf227ed7f8b</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-sg:Entry xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">
- <wsrf-sg:ServiceGroupEntryEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/ServiceGroupEntry</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:b220e2bd-0370-da4e-fc71-5e283954d319</muse-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:ServiceGroupEntryEPR>
- <wsrf-sg:MemberServiceEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:MemberServiceEPR>
- <wsrf-sg:Content/>
- </wsrf-sg:Entry>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:c5efae22-bc2f-ccdd-477c-621d4e49cd77</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://docs.oasis-open.org/wsrf/rmd-1</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:4d933676-fb60-3fae-d7b9-39324a8661fc</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:c5efae22-bc2f-ccdd-477c-621d4e49cd77</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsrmd:MetadataDescriptor
- interface="qman:QManWsResourcePortType"
- name="QManWsResourceMetadata"
- wsdlLocation="http://docs.oasis-open.org/wsrf/rmd-1 QManWsResource.wsdl"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:MgmtPubInterval" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Name" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:TerminationTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable"
- name="qman:MsgTotalEnqueues" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Arguments" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:VhostRef" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:CurrentTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:ExpireTime" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Durable" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:ConsumerCount" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:Type" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- </wsrmd:MetadataDescriptor>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:83c13239-3e37-853d-776d-3dac2729117b</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MgmtPubInterval</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0beb3927-6420-9877-f163-4288ea1560da</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:83c13239-3e37-853d-776d-3dac2729117b</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:MgmtPubInterval xmlns:qman="http://amqp.apache.org/qpid/management/qman">32767</qman:MgmtPubInterval>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:30b678da-f1fa-8120-7660-9eb86ebb76b7</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Name</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:8343b104-1a82-212a-c84a-460cbc223327</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:30b678da-f1fa-8120-7660-9eb86ebb76b7</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:Name xmlns:qman="http://amqp.apache.org/qpid/management/qman">Initial Name</qman:Name>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:795eaebd-dd48-75b0-18b3-a7e3c1fd4d5a</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MsgTotalEnqueues</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:b6b91fd1-762b-3ae4-76c3-fe206c93b76d</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:795eaebd-dd48-75b0-18b3-a7e3c1fd4d5a</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:MsgTotalEnqueues xmlns:qman="http://amqp.apache.org/qpid/management/qman">9223372036854775797</qman:MsgTotalEnqueues>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:f57f0179-a31b-8607-668b-c2602838c363</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Arguments</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:fc07cbe4-a19a-6374-c985-49fa525d3e90</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:f57f0179-a31b-8607-668b-c2602838c363</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:Arguments
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <qman:entry>
- <qman:key>Key3</qman:key>
- <qman:value xsi:type="xsd:integer">2147483647</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key4</qman:key>
- <qman:value xsi:type="xsd:float">3.4028235E38</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key1</qman:key>
- <qman:value xsi:type="xsd:string">aStringValue</qman:value>
- </qman:entry>
- <qman:entry>
- <qman:key>Key2</qman:key>
- <qman:value xsi:type="xsd:long">-9223372036854775808</qman:value>
- </qman:entry>
- </qman:Arguments>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5d735040-95d1-7c87-7ac9-b4a5700e0ab9</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:VhostRef</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:cdfe639c-357b-d55b-fe7d-4a203d46465c</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:5d735040-95d1-7c87-7ac9-b4a5700e0ab9</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:VhostRef xmlns:qman="http://amqp.apache.org/qpid/management/qman">2deef1b3-d2c6-49f3-a8de-51f6a75a1a6b</qman:VhostRef>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e3fde856-57f5-a96f-a382-5e0f4206a6fe</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:ExpireTime</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:fa290c54-bac1-62d6-701e-3b8ec2eaf817</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:e3fde856-57f5-a96f-a382-5e0f4206a6fe</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:ExpireTime xmlns:qman="http://amqp.apache.org/qpid/management/qman">9223372036854775807</qman:ExpireTime>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:092dd5d9-c443-428c-813c-13428058b08c</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Durable</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:1053800e-345c-abed-e352-f524c1d24afa</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:092dd5d9-c443-428c-813c-13428058b08c</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:Durable xmlns:qman="http://amqp.apache.org/qpid/management/qman">true</qman:Durable>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:bc291be9-b1d1-f668-f3c5-29647e78d6bf</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:ConsumerCount</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:7467dddf-033e-f540-241f-76ce81c0ebeb</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:bc291be9-b1d1-f668-f3c5-29647e78d6bf</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:ConsumerCount xmlns:qman="http://amqp.apache.org/qpid/management/qman">-2147483638</qman:ConsumerCount>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:92783239-777c-27fa-cec2-ee3afecf5c32</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Type</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:af8168b4-6c13-c736-b521-f2b410541dd0</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:92783239-777c-27fa-cec2-ee3afecf5c32</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=8e069b14-40ba-4d48-a2cb-b9f2bef2d404,class=queue,name=1232953394537,objectId=781f4ad7-4c96-4caa-b69d-291461cdb1fc,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
\ No newline at end of file diff --git a/java/management/client/src/example/GetWsdlMetadata.out.ko.no.resources b/java/management/client/src/example/GetWsdlMetadata.out.ko.no.resources deleted file mode 100644 index 6e727261f9..0000000000 --- a/java/management/client/src/example/GetWsdlMetadata.out.ko.no.resources +++ /dev/null @@ -1,58 +0,0 @@ - GetWSDLMetadataExample
--------------------------------------------------------------------
-
-This example shows the usage of WS-DM
-GetResourcePropertyRequest / Response on a
-Group service.
-The target resource is the WS-DM Adapter itself
-and the requested property is "ws-rp:Entry".
-WS-DM Adapter is a special WS-Resource (is a Group)
-that acts as the main entry point for retrieving
-all other managed resources.
-So clients that want to deal with QMan WS-Resources
-must first get resource identifiers sending
-a GetResourcePropertyRequest to WS-DM Adapter
-with "ws-rp:Entry" as target target property.
-
--------------------------------------------------------------------
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:7f801eff-c528-91e8-33eb-3d1dd164bce7</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:86a34968-38aa-83e8-47dd-8e86ffd8ac06</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:7f801eff-c528-91e8-33eb-3d1dd164bce7</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
-----------------------------WARNING---------------------------
-Cannot proceed with the example... it seems
-that there are no managed WS-Resources on QMan.
-Please check QMan in order to see that it is really
-connected with a broker.
--------------------------------------------------------------------
diff --git a/java/management/client/src/example/GetWsdlMetadata.out.ok b/java/management/client/src/example/GetWsdlMetadata.out.ok deleted file mode 100644 index 16a4c1e07e..0000000000 --- a/java/management/client/src/example/GetWsdlMetadata.out.ok +++ /dev/null @@ -1,1968 +0,0 @@ - GetWSDLMetadataExample
--------------------------------------------------------------------
-
-This example shows the usage of WS-DM
-GetResourcePropertyRequest / Response on a
-Group service.
-The target resource is the WS-DM Adapter itself
-and the requested property is "ws-rp:Entry".
-WS-DM Adapter is a special WS-Resource (is a Group)
-that acts as the main entry point for retrieving
-all other managed resources.
-So clients that want to deal with QMan WS-Resources
-must first get resource identifiers sending
-a GetResourcePropertyRequest to WS-DM Adapter
-with "ws-rp:Entry" as target target property.
-
--------------------------------------------------------------------
-
-Type enter to proceed.
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ec4d0c03-3174-e39d-4a36-8f109056865b</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">wsrf-sg:Entry</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0f47d614-565e-5360-8dcc-ea8e4771e4dd</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ec4d0c03-3174-e39d-4a36-8f109056865b</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-sg:Entry xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2">
- <wsrf-sg:ServiceGroupEntryEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/ServiceGroupEntry</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressing">uuid:1d01b4ee-7d23-3a30-342e-62fc49984fe6</muse-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:ServiceGroupEntryEPR>
- <wsrf-sg:MemberServiceEPR>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=d5b32f44-5164-4e59-8f1d-a6f8c0a8a748,class=queue,name=1232872843214,objectId=a3759467-bede-476d-8dde-169f1a652191,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsrf-sg:MemberServiceEPR>
- <wsrf-sg:Content/>
- </wsrf-sg:Entry>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0cdb5112-09e0-ac39-06ba-393843f06e42</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=d5b32f44-5164-4e59-8f1d-a6f8c0a8a748,class=queue,name=1232872843214,objectId=a3759467-bede-476d-8dde-169f1a652191,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://schemas.xmlsoap.org/wsdl/</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:980617c8-e3a0-ebf1-8f5a-2b43d3d6d416</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0cdb5112-09e0-ac39-06ba-393843f06e42</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=d5b32f44-5164-4e59-8f1d-a6f8c0a8a748,class=queue,name=1232872843214,objectId=a3759467-bede-476d-8dde-169f1a652191,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsdl:definitions name="QManWsResource"
- targetNamespace="http://amqp.apache.org/qpid/management/qman"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
- xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
- xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
- xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://www.w3.org/2005/08/addressing"
- xmlns:tns="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="EndpointReference"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:element name="Address" type="tns:AttributedURIType"/>
- <xs:element minOccurs="0"
- name="ReferenceParameters" type="tns:ReferenceParametersType"/>
- <xs:element minOccurs="0" ref="tns:Metadata"/>
- <xs:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:complexType mixed="false"
- name="ReferenceParametersType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="Metadata"
- type="tns:MetadataType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="MetadataType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="MessageID"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="RelatesTo"
- type="tns:RelatesToType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="RelatesToType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:anyURI">
- <xs:attribute
- default="http://www.w3.org/2005/08/addressing/reply"
- name="RelationshipType"
- type="tns:RelationshipTypeOpenEnum" use="optional"/>
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType
- name="RelationshipTypeOpenEnum" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
- </xs:simpleType>
- <xs:simpleType name="RelationshipType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:restriction base="xs:anyURI">
- <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="ReplyTo"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="From"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="FaultTo"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="To"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Action"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:anyURI">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:attribute name="IsReferenceParameter"
- type="xs:boolean" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:simpleType name="FaultCodesOpenEnumType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:union memberTypes="tns:FaultCodesType xs:QName"/>
- </xs:simpleType>
- <xs:simpleType name="FaultCodesType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:restriction base="xs:QName">
- <xs:enumeration value="tns:InvalidAddressingHeader"/>
- <xs:enumeration value="tns:InvalidAddress"/>
- <xs:enumeration value="tns:InvalidEPR"/>
- <xs:enumeration value="tns:InvalidCardinality"/>
- <xs:enumeration value="tns:MissingAddressInEPR"/>
- <xs:enumeration value="tns:DuplicateMessageID"/>
- <xs:enumeration value="tns:ActionMismatch"/>
- <xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
- <xs:enumeration value="tns:DestinationUnreachable"/>
- <xs:enumeration value="tns:ActionNotSupported"/>
- <xs:enumeration value="tns:EndpointUnavailable"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="RetryAfter"
- type="tns:AttributedUnsignedLongType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedUnsignedLongType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:unsignedLong">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:element name="ProblemHeaderQName"
- type="tns:AttributedQNameType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedQNameType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:QName">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:element name="ProblemHeader"
- type="tns:AttributedAnyType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedAnyType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="1" minOccurs="1"
- namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="ProblemIRI"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="ProblemAction"
- type="tns:ProblemActionType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="ProblemActionType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:element minOccurs="0" ref="tns:Action"/>
- <xs:element minOccurs="0"
- name="SoapAction" type="xs:anyURI"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified"
- targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import
- namespace="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="GetMetadata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" ref="tns:Dialect"/>
- <xs:element minOccurs="0" ref="tns:Identifier"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="Dialect" type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Identifier"
- type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:sequence>
- <xs:element
- maxOccurs="unbounded"
- minOccurs="0" ref="tns:MetadataSection"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="MetadataSection" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:choice>
- <xs:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- <xs:element ref="tns:MetadataReference"/>
- <xs:element ref="tns:Location"/>
- </xs:choice>
- <xs:attribute name="Dialect"
- type="xs:anyURI" use="required"/>
- <xs:attribute name="Identifier" type="xs:anyURI"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="MetadataReference"
- type="wsa:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Location" type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType name="AnyXmlType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##any" processContents="lax"/>
- </xs:complexType>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rl-2"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="CurrentTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:dateTime">
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TerminationTime" nillable="true">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:dateTime">
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ScheduledResourceTerminationRP">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rl:CurrentTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rl:TerminationTime"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Destroy">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="DestroyResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:complexType name="ResourceNotDestroyedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="ResourceNotDestroyedFault" type="wsrf-rl:ResourceNotDestroyedFaultType"/>
- <xsd:element name="SetTerminationTime">
- <xsd:complexType>
- <xsd:choice>
- <xsd:element
- name="RequestedTerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element
- name="RequestedLifetimeDuration" type="xsd:duration"/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SetTerminationTimeResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- name="NewTerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element name="CurrentTime" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="UnableToSetTerminationTimeFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToSetTerminationTimeFault" type="wsrf-rl:UnableToSetTerminationTimeFaultType"/>
- <xsd:complexType name="TerminationTimeChangeRejectedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="TerminationTimeChangeRejectedFault" type="wsrf-rl:TerminationTimeChangeRejectedFaultType"/>
- <xsd:element name="TerminationNotification">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1"
- name="TerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="TerminationReason" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rp-2"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="QueryExpressionDialect" type="xsd:anyURI"/>
- <xsd:element name="QueryExpressionRPDocument">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrf-rp:QueryExpressionDialect"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:attribute name="ResourceProperties" type="xsd:QName"/>
- <xsd:complexType name="ResourcePropertyValueChangeNotificationType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="OldValues" nillable="true">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="1" name="NewValues" nillable="true">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="ResourcePropertyValueChangeNotification" type="wsrf-rp:ResourcePropertyValueChangeNotificationType"/>
- <xsd:complexType mixed="true" name="QueryExpressionType">
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="0" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="Dialect" type="xsd:anyURI"/>
- </xsd:complexType>
- <xsd:element name="QueryExpression" type="wsrf-rp:QueryExpressionType"/>
- <xsd:element name="GetResourcePropertyDocument">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="GetResourcePropertyDocumentResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="GetResourceProperty" type="xsd:QName"/>
- <xsd:element name="GetResourcePropertyResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="InvalidResourcePropertyQNameFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InvalidResourcePropertyQNameFault" type="wsrf-rp:InvalidResourcePropertyQNameFaultType"/>
- <xsd:element name="GetMultipleResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="1"
- name="ResourceProperty" type="xsd:QName"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="GetMultipleResourcePropertiesResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PutResourcePropertyDocument">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PutResourcePropertyDocumentResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ResourcePropertyChangeFailureType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="CurrentValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="RequestedValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="Restored" type="xsd:boolean"/>
- </xsd:complexType>
- <xsd:complexType name="UnableToPutResourcePropertyDocumentFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToPutResourcePropertyDocumentFault" type="wsrf-rp:UnableToPutResourcePropertyDocumentFaultType"/>
- <xsd:complexType name="InsertType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Insert" type="wsrf-rp:InsertType"/>
- <xsd:complexType name="UpdateType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Update" type="wsrf-rp:UpdateType"/>
- <xsd:complexType name="DeleteType">
- <xsd:attribute name="ResourceProperty"
- type="xsd:QName" use="required"/>
- </xsd:complexType>
- <xsd:element name="Delete" type="wsrf-rp:DeleteType"/>
- <xsd:element name="SetResourceProperties">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded" minOccurs="1">
- <xsd:element ref="wsrf-rp:Insert"/>
- <xsd:element ref="wsrf-rp:Update"/>
- <xsd:element ref="wsrf-rp:Delete"/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SetResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:complexType name="InvalidModificationFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="InvalidModificationFault" type="wsrf-rp:InvalidModificationFaultType"/>
- <xsd:complexType name="UnableToModifyResourcePropertyFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToModifyResourcePropertyFault" type="wsrf-rp:UnableToModifyResourcePropertyFaultType"/>
- <xsd:complexType name="SetResourcePropertyRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="SetResourcePropertyRequestFailedFault" type="wsrf-rp:SetResourcePropertyRequestFailedFaultType"/>
- <xsd:complexType name="InsertResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InsertResourcePropertiesRequestFailedFault" type="wsrf-rp:InsertResourcePropertiesRequestFailedFaultType"/>
- <xsd:complexType name="UpdateResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UpdateResourcePropertiesRequestFailedFault" type="wsrf-rp:UpdateResourcePropertiesRequestFailedFaultType"/>
- <xsd:complexType name="DeleteResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="DeleteResourcePropertiesRequestFailedFault" type="wsrf-rp:DeleteResourcePropertiesRequestFailedFaultType"/>
- <xsd:element name="InsertResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Insert"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InsertResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="UpdateResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Update"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="UpdateResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="DeleteResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Delete"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DeleteResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="QueryResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rp:QueryExpression"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="QueryResourcePropertiesResponse">
- <xsd:complexType>
- <xsd:complexContent mixed="true">
- <xsd:restriction base="xsd:anyType">
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:restriction>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="UnknownQueryExpressionDialectFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnknownQueryExpressionDialectFault" type="wsrf-rp:UnknownQueryExpressionDialectFaultType"/>
- <xsd:complexType name="InvalidQueryExpressionFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InvalidQueryExpressionFault" type="wsrf-rp:InvalidQueryExpressionFaultType"/>
- <xsd:complexType name="QueryEvaluationErrorFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="QueryEvaluationErrorFault" type="wsrf-rp:QueryEvaluationErrorFaultType"/>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/r-2"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:complexType name="ResourceUnknownFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="ResourceUnknownFault" type="wsrf-r:ResourceUnknownFaultType"/>
- <xsd:complexType name="ResourceUnavailableFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="ResourceUnavailableFault" type="wsrf-r:ResourceUnavailableFaultType"/>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rp-2"/>
- <xsd:import namespace="http://www.w3.org/2005/08/addressing"/>
- <xsd:simpleType name="PairsOfURIType">
- <xsd:list itemType="xsd:anyURI"/>
- </xsd:simpleType>
- <xsd:attribute name="Descriptor" type="xsd:QName"/>
- <xsd:attribute name="DescriptorLocation" type="xsd:anyURI"/>
- <xsd:complexType mixed="true" name="DocumentationType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute/>
- </xsd:complexType>
- <xsd:complexType name="DocumentedType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="DefinitionsType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrmd:MetadataDescriptor"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute
- name="targetNamespace"
- type="xsd:anyURI" use="required"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="Definitions" type="wsrmd:DefinitionsType">
- <xsd:key name="MetadataDescriptor">
- <xsd:annotation>
- <xsd:documentation>
- To form a QName, the name of any MetadataDescriptor must be
- unique within a Definitions element.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:selector xpath="wsrmd:MetadataDescriptor"/>
- <xsd:field xpath="@name"/>
- </xsd:key>
- </xsd:element>
- <xsd:complexType name="MetadataDescriptorType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrmd:Property"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="name"
- type="xsd:NCName" use="required"/>
- <xsd:attribute name="interface"
- type="xsd:QName" use="required"/>
- <xsd:attribute
- name="wsdlLocation" type="wsrmd:PairsOfURIType"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="MetadataDescriptor" type="wsrmd:MetadataDescriptorType"/>
- <xsd:complexType name="PropertyType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:choice>
- <xsd:element
- maxOccurs="1"
- minOccurs="0" ref="wsrmd:ValidValues"/>
- <xsd:element
- maxOccurs="1"
- minOccurs="0" ref="wsrmd:ValidValueRange"/>
- </xsd:choice>
- <xsd:element maxOccurs="1"
- minOccurs="0" ref="wsrmd:StaticValues"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="name"
- type="xsd:QName" use="required"/>
- <xsd:attribute name="mutability" type="wsrmd:MutabilityType"/>
- <xsd:attribute
- name="modifiability" type="wsrmd:ModifiabilityType"/>
- <xsd:attribute default="false"
- name="subscribability" type="xsd:boolean"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="Property" type="wsrmd:PropertyType"/>
- <xsd:simpleType name="MutabilityType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="constant"/>
- <xsd:enumeration value="appendable"/>
- <xsd:enumeration value="mutable"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="ModifiabilityType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="read-only"/>
- <xsd:enumeration value="read-write"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:complexType mixed="true" name="ValidValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="ValidValues" type="wsrmd:ValidValuesType"/>
- <xsd:complexType mixed="true" name="ValidValueRangeType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="lowerBound" type="xsd:anySimpleType"/>
- <xsd:attribute name="upperBound" type="xsd:anySimpleType"/>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="ValidValueRange" type="wsrmd:ValidValueRangeType"/>
- <xsd:complexType mixed="true" name="StaticValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="StaticValues" type="wsrmd:StaticValuesType"/>
- <xsd:complexType mixed="true" name="InitialValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="InitialValues" type="wsrmd:InitialValuesType"/>
- <xsd:complexType name="MetadataDescriptorReferenceType">
- <xsd:complexContent>
- <xsd:extension base="wsa:EndpointReferenceType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="MetadataDescriptorReference" type="wsrmd:MetadataDescriptorReferenceType"/>
- <xsd:element name="MetadataResourceRP" type="wsrmd:DefinitionsType"/>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified" targetNamespace="http://amqp.apache.org/qpid/management/qman">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rl-2"/>
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rp-2"/>
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="QManWsResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rl:CurrentTime"/>
- <xsd:element ref="wsrf-rl:TerminationTime"/>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrf-rp:QueryExpressionDialect"/>
- <xsd:element ref="qman:Name"/>
- <xsd:element ref="qman:Type"/>
- <xsd:element ref="qman:Arguments"/>
- <xsd:element ref="qman:VhostRef"/>
- <xsd:element ref="qman:Durable"/>
- <xsd:element ref="qman:MsgTotalEnqueues"/>
- <xsd:element ref="qman:ConsumerCount"/>
- <xsd:element ref="qman:ExpireTime"/>
- <xsd:element ref="qman:MgmtPubInterval"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="QManFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MethodInvocationFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EntityInstanceNotFoundFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MalformedEntityNameFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NoSuchAttributeFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="result">
- <xsd:sequence>
- <xsd:element name="statusCode" type="xsd:long"/>
- <xsd:element name="statusText" type="xsd:string"/>
- <xsd:complexType name="outputParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" name="entry">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:name
- name="key" type="xsd:string"/>
- <xsd:element
- name="value" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:complexType>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Name" type="xsd:string"/>
- <xsd:element name="Type" type="xsd:string"/>
- <xsd:complexType name="map">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded"
- minOccurs="0" name="entry">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="key" type="xsd:string"/>
- <xsd:element
- name="value" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Arguments" type="qman:map"/>
- <xsd:complexType name="uuid">
- <xsd:sequence>
- <xsd:element name="uuid" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="VhostRef" type="qman:uuid"/>
- <xsd:element name="Durable" type="xsd:boolean"/>
- <xsd:element name="MsgTotalEnqueues" type="xsd:long"/>
- <xsd:element name="ConsumerCount" type="xsd:integer"/>
- <xsd:element name="ExpireTime" type="xsd:dateTime"/>
- <xsd:element name="MgmtPubInterval" type="xsd:short"/>
- <xsd:element
- name="echoWithSimpleTypesRequest" type="qman:echoWithSimpleTypesRequest"/>
- <xsd:element
- name="echoWithSimpleTypesResponse" type="qman:echoWithSimpleTypesResponse"/>
- <xsd:complexType name="echoWithSimpleTypesRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="xsd:long"/>
- <xsd:element name="p2" type="xsd:boolean"/>
- <xsd:element name="p3" type="xsd:double"/>
- <xsd:element name="p4" type="xsd:float"/>
- <xsd:element name="p5" type="xsd:integer"/>
- <xsd:element name="p6" type="xsd:short"/>
- <xsd:element name="p7" type="xsd:string"/>
- <xsd:element name="p8" type="xsd:anyURI"/>
- <xsd:element name="p9" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypesResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithArraysRequest" type="qman:echoWithArraysRequest"/>
- <xsd:element name="echoWithArraysResponse" type="qman:echoWithArraysResponse"/>
- <xsd:complexType name="arrayOfLong">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:long"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfBoolean">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDouble">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:double"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfFloat">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:float"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfInteger">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:integer"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfShort">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:short"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfString">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfURI">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:anyURI"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDate">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithArraysRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfLong"/>
- <xsd:element name="p2" type="qman:arrayOfBoolean"/>
- <xsd:element name="p3" type="qman:arrayOfDouble"/>
- <xsd:element name="p4" type="qman:arrayOfFloat"/>
- <xsd:element name="p5" type="qman:arrayOfInteger"/>
- <xsd:element name="p6" type="qman:arrayOfShort"/>
- <xsd:element name="p7" type="qman:arrayOfString"/>
- <xsd:element name="p8" type="qman:arrayOfURI"/>
- <xsd:element name="p9" type="qman:arrayOfDate"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithArraysResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="echoWithSimpleTypeArraysRequest" type="qman:echoWithSimpleTypeArraysRequest"/>
- <xsd:element
- name="echoWithSimpleTypeArraysResponse" type="qman:echoWithSimpleTypeArraysResponse"/>
- <xsd:complexType name="arrayOfLong">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:long"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfBoolean">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDouble">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:double"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfFloat">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:float"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfInt">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:integer"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfShort">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:short"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypeArraysRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfLong"/>
- <xsd:element name="p2" type="qman:arrayOfBoolean"/>
- <xsd:element name="p3" type="qman:arrayOfDouble"/>
- <xsd:element name="p4" type="qman:arrayOfFloat"/>
- <xsd:element name="p5" type="qman:arrayOfInt"/>
- <xsd:element name="p6" type="qman:arrayOfShort"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypeArraysResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithByteArrayRequest" type="qman:echoWithByteArrayRequest"/>
- <xsd:element
- name="echoWithByteArrayResponse" type="qman:echoWithByteArrayResponse"/>
- <xsd:complexType name="arrayOfByte">
- <xsd:sequence>
- <xsd:element name="entry" type=""/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithByteArrayRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfByte"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithByteArrayResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="voidWithoutArgumentsRequest" type="qman:voidWithoutArgumentsRequest"/>
- <xsd:element
- name="voidWithoutArgumentsResponse" type="qman:voidWithoutArgumentsResponse"/>
- <xsd:complexType name="voidWithoutArgumentsRequest">
- <xsd:sequence/>
- </xsd:complexType>
- <xsd:complexType name="voidWithoutArgumentsResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="throwsExceptionRequest" type="qman:throwsExceptionRequest"/>
- <xsd:element name="throwsExceptionResponse" type="qman:throwsExceptionResponse"/>
- <xsd:complexType name="throwsExceptionRequest">
- <xsd:sequence/>
- </xsd:complexType>
- <xsd:complexType name="throwsExceptionResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithUUIDRequest" type="qman:echoWithUUIDRequest"/>
- <xsd:element name="echoWithUUIDResponse" type="qman:echoWithUUIDResponse"/>
- <xsd:complexType name="echoWithUUIDRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:uuid"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithUUIDResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithMapRequest" type="qman:echoWithMapRequest"/>
- <xsd:element name="echoWithMapResponse" type="qman:echoWithMapResponse"/>
- <xsd:complexType name="echoWithMapRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:map"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithMapResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://www.w3.org/2005/08/addressing"/>
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace">
- <xsd:annotation>
- <xsd:documentation>
- Get access to the xml: attribute groups for xml:lang as declared on 'schema'
- and 'documentation' below
- </xsd:documentation>
- </xsd:annotation>
- </xsd:import>
- <xsd:element name="BaseFault" type="wsrf-bf:BaseFaultType"/>
- <xsd:complexType name="BaseFaultType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- <xsd:element maxOccurs="1"
- minOccurs="1" name="Timestamp" type="xsd:dateTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="Originator" type="wsa:EndpointReferenceType"/>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="ErrorCode">
- <xsd:complexType>
- <xsd:complexContent mixed="true">
- <xsd:extension base="xsd:anyType">
- <xsd:attribute
- name="dialect"
- type="xsd:anyURI" use="required"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="unbounded"
- minOccurs="0" name="Description">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute
- ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="FaultCause">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1"
- minOccurs="1"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- </xsd:schema>
- <xs:schema
- targetNamespace="http://www.w3.org/XML/1998/namespace"
- xml:lang="en" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:attribute name="lang" type="xs:language"/>
- <xs:attribute default="preserve" name="space">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default"/>
- <xs:enumeration value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="base" type="xs:anyURI"/>
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="GetMetadataMsg">
- <wsdl:part element="wsx:GetMetadata" name="GetMetadataMsg"/>
- </wsdl:message>
- <wsdl:message name="GetMetadataResponseMsg">
- <wsdl:part element="wsx:Metadata" name="GetMetadataResponseMsg"/>
- </wsdl:message>
- <wsdl:message name="DestroyRequest">
- <wsdl:part element="wsrf-rl:Destroy" name="DestroyRequest"/>
- </wsdl:message>
- <wsdl:message name="DestroyResponse">
- <wsdl:part element="wsrf-rl:DestroyResponse" name="DestroyResponse"/>
- </wsdl:message>
- <wsdl:message name="ResourceNotDestroyedFault">
- <wsdl:part
- element="wsrf-rl:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault"/>
- </wsdl:message>
- <wsdl:message name="ResourceUnknownFault">
- <wsdl:part element="wsrf-r:ResourceUnknownFault" name="ResourceUnknownFault"/>
- </wsdl:message>
- <wsdl:message name="ResourceUnavailableFault">
- <wsdl:part
- element="wsrf-r:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:message>
- <wsdl:message name="SetTerminationTimeRequest">
- <wsdl:part element="wsrf-rl:SetTerminationTime" name="SetTerminationTimeRequest"/>
- </wsdl:message>
- <wsdl:message name="SetTerminationTimeResponse">
- <wsdl:part
- element="wsrf-rl:SetTerminationTimeResponse" name="SetTerminationTimeResponse"/>
- </wsdl:message>
- <wsdl:message name="UnableToSetTerminationTimeFault">
- <wsdl:part
- element="wsrf-rl:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
- </wsdl:message>
- <wsdl:message name="TerminationTimeChangeRejectedFault">
- <wsdl:part
- element="wsrf-rl:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyDocumentRequest">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyDocument" name="GetResourcePropertyDocumentRequest"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyDocumentResponse">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyDocumentResponse" name="GetResourcePropertyDocumentResponse"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyRequest">
- <wsdl:part element="wsrf-rp:GetResourceProperty" name="GetResourcePropertyRequest"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyResponse">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyResponse" name="GetResourcePropertyResponse"/>
- </wsdl:message>
- <wsdl:message name="InvalidResourcePropertyQNameFault">
- <wsdl:part
- element="wsrf-rp:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:message>
- <wsdl:message name="GetMultipleResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:GetMultipleResourceProperties" name="GetMultipleResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="GetMultipleResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:GetMultipleResourcePropertiesResponse" name="GetMultipleResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="QueryResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:QueryResourceProperties" name="QueryResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="QueryResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:QueryResourcePropertiesResponse" name="QueryResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="UnknownQueryExpressionDialectFault">
- <wsdl:part
- element="wsrf-rp:UnknownQueryExpressionDialectFault" name="UnknownQueryExpressionDialectFault"/>
- </wsdl:message>
- <wsdl:message name="InvalidQueryExpressionFault">
- <wsdl:part
- element="wsrf-rp:InvalidQueryExpressionFault" name="InvalidQueryExpressionFault"/>
- </wsdl:message>
- <wsdl:message name="QueryEvaluationErrorFault">
- <wsdl:part
- element="wsrf-rp:QueryEvaluationErrorFault" name="QueryEvaluationErrorFault"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:SetResourceProperties" name="SetResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:SetResourcePropertiesResponse" name="SetResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="InvalidModificationFault">
- <wsdl:part
- element="wsrf-rp:InvalidModificationFault" name="InvalidModificationFault"/>
- </wsdl:message>
- <wsdl:message name="UnableToModifyResourcePropertyFault">
- <wsdl:part
- element="wsrf-rp:UnableToModifyResourcePropertyFault" name="UnableToModifyResourcePropertyFault"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertyRequestFailedFault">
- <wsdl:part
- element="wsrf-rp:SetResourcePropertyRequestFailedFault" name="SetResourcePropertyRequestFailedFault"/>
- </wsdl:message>
- <wsdl:portType name="QManWsResourcePortType"
- wsrf-rp:ResourceProperties="qman:QManWsResourceProperties"
- wsrmd:Descriptor="QManWsResourceMetadata" wsrmd:DescriptorLocation="QManWsResource.rmd">
- <wsdl:operation name="GetMetadata">
- <wsdl:input message="qman:GetMetadataMsg"
- name="GetMetadataMsg" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata"/>
- <wsdl:output
- message="qman:GetMetadataResponseMsg"
- name="GetMetadataResponseMsg" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse"/>
- </wsdl:operation>
- <wsdl:operation name="Destroy">
- <wsdl:input message="qman:DestroyRequest"
- name="DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyRequest"/>
- <wsdl:output message="qman:DestroyResponse"
- name="DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyResponse"/>
- <wsdl:fault
- message="qman:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:operation>
- <wsdl:operation name="SetTerminationTime">
- <wsdl:input
- message="qman:SetTerminationTimeRequest"
- name="SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeRequest"/>
- <wsdl:output
- message="qman:SetTerminationTimeResponse"
- name="SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeResponse"/>
- <wsdl:fault
- message="qman:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetResourcePropertyDocument">
- <wsdl:input
- message="qman:GetResourcePropertyDocumentRequest"
- name="GetResourcePropertyDocumentRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
- <wsdl:output
- message="qman:GetResourcePropertyDocumentResponse"
- name="GetResourcePropertyDocumentResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetResourceProperty">
- <wsdl:input
- message="qman:GetResourcePropertyRequest"
- name="GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest"/>
- <wsdl:output
- message="qman:GetResourcePropertyResponse"
- name="GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetMultipleResourceProperties">
- <wsdl:input
- message="qman:GetMultipleResourcePropertiesRequest"
- name="GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:GetMultipleResourcePropertiesResponse"
- name="GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:operation>
- <wsdl:operation name="QueryResourceProperties">
- <wsdl:input
- message="qman:QueryResourcePropertiesRequest"
- name="QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:QueryResourcePropertiesResponse"
- name="QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:UnknownQueryExpressionDialectFault" name="UnknownQueryExpressionDialectFault"/>
- <wsdl:fault
- message="qman:InvalidQueryExpressionFault" name="InvalidQueryExpressionFault"/>
- <wsdl:fault
- message="qman:QueryEvaluationErrorFault" name="QueryEvaluationErrorFault"/>
- </wsdl:operation>
- <wsdl:operation name="SetResourceProperties">
- <wsdl:input
- message="qman:SetResourcePropertiesRequest"
- name="SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:SetResourcePropertiesResponse"
- name="SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidModificationFault" name="InvalidModificationFault"/>
- <wsdl:fault
- message="qman:UnableToModifyResourcePropertyFault" name="UnableToModifyResourcePropertyFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- <wsdl:fault
- message="qman:SetResourcePropertyRequestFailedFault" name="SetResourcePropertyRequestFailedFault"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypes">
- <wsdl:input
- message="qman:echoWithSimpleTypesRequestMessage"
- name="echoWithSimpleTypesRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypes"/>
- <wsdl:output
- message="qman:echoWithSimpleTypesResponseMessage"
- name="echoWithSimpleTypesResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypesResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithArrays">
- <wsdl:input
- message="qman:echoWithArraysRequestMessage"
- name="echoWithArraysRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithArrays"/>
- <wsdl:output
- message="qman:echoWithArraysResponseMessage"
- name="echoWithArraysResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithArraysResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypeArrays">
- <wsdl:input
- message="qman:echoWithSimpleTypeArraysRequestMessage"
- name="echoWithSimpleTypeArraysRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArrays"/>
- <wsdl:output
- message="qman:echoWithSimpleTypeArraysResponseMessage"
- name="echoWithSimpleTypeArraysResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArraysResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithByteArray">
- <wsdl:input
- message="qman:echoWithByteArrayRequestMessage"
- name="echoWithByteArrayRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithByteArray"/>
- <wsdl:output
- message="qman:echoWithByteArrayResponseMessage"
- name="echoWithByteArrayResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithByteArrayResponse"/>
- </wsdl:operation>
- <wsdl:operation name="voidWithoutArguments">
- <wsdl:input
- message="qman:voidWithoutArgumentsRequestMessage"
- name="voidWithoutArgumentsRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/voidWithoutArguments"/>
- <wsdl:output
- message="qman:voidWithoutArgumentsResponseMessage"
- name="voidWithoutArgumentsResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/voidWithoutArgumentsResponse"/>
- </wsdl:operation>
- <wsdl:operation name="throwsException">
- <wsdl:input
- message="qman:throwsExceptionRequestMessage"
- name="throwsExceptionRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/throwsException"/>
- <wsdl:output
- message="qman:throwsExceptionResponseMessage"
- name="throwsExceptionResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/throwsExceptionResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithUUID">
- <wsdl:input
- message="qman:echoWithUUIDRequestMessage"
- name="echoWithUUIDRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithUUID"/>
- <wsdl:output
- message="qman:echoWithUUIDResponseMessage"
- name="echoWithUUIDResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithUUIDResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithMap">
- <wsdl:input
- message="qman:echoWithMapRequestMessage"
- name="echoWithMapRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithMap"/>
- <wsdl:output
- message="qman:echoWithMapResponseMessage"
- name="echoWithMapResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithMapResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="QManWsResourceBinding" type="qman:QManWsResourcePortType">
- <wsdl-soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="GetMetadata">
- <wsdl-soap:operation soapAction="GetMetadata"/>
- <wsdl:input>
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="Destroy">
- <wsdl-soap:operation soapAction="Destroy"/>
- <wsdl:input name="DestroyRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="DestroyResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceNotDestroyedFault">
- <wsdl-soap:fault
- name="ResourceNotDestroyedFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="SetTerminationTime">
- <wsdl-soap:operation soapAction="SetTerminationTime"/>
- <wsdl:input name="SetTerminationTimeRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="SetTerminationTimeResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="UnableToSetTerminationTimeFault">
- <wsdl-soap:fault
- name="UnableToSetTerminationTimeFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="TerminationTimeChangeRejectedFault">
- <wsdl-soap:fault
- name="TerminationTimeChangeRejectedFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetResourcePropertyDocument">
- <wsdl-soap:operation soapAction="GetResourcePropertyDocument"/>
- <wsdl:input name="GetResourcePropertyDocumentRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetResourcePropertyDocumentResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetResourceProperty">
- <wsdl-soap:operation soapAction="GetResourceProperty"/>
- <wsdl:input name="GetResourcePropertyRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetResourcePropertyResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetMultipleResourceProperties">
- <wsdl-soap:operation soapAction="GetMultipleResourceProperties"/>
- <wsdl:input name="GetMultipleResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetMultipleResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="QueryResourceProperties">
- <wsdl-soap:operation soapAction="QueryResourceProperties"/>
- <wsdl:input name="QueryResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="QueryResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnknownQueryExpressionDialectFault">
- <wsdl-soap:fault
- name="UnknownQueryExpressionDialectFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidQueryExpressionFault">
- <wsdl-soap:fault
- name="InvalidQueryExpressionFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="QueryEvaluationErrorFault">
- <wsdl-soap:fault
- name="QueryEvaluationErrorFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="SetResourceProperties">
- <wsdl-soap:operation soapAction="http://oasis.org/SetResourceProperties"/>
- <wsdl:input name="SetResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="SetResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidModificationFault">
- <wsdl-soap:fault
- name="InvalidModificationFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnableToModifyResourcePropertyFault">
- <wsdl-soap:fault
- name="UnableToModifyResourcePropertyFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="SetResourcePropertyRequestFailedFault">
- <wsdl-soap:fault
- name="SetResourcePropertyRequestFailedFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetMetadata">
- <wsdl-soap:operation soapAction="http://ws.apache.org/muse/test/wsrf/GetMetadata"/>
- <wsdl:input name="GetMetadataMsg">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetMetadataResponseMsg">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypes">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypes"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithArrays">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithArrays"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypeArrays">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArrays"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithByteArray">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithByteArray"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="voidWithoutArguments">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/voidWithoutArguments"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="throwsException">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/throwsException"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithUUID">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithUUID"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithMap">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithMap"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="QManWsResourceService">
- <wsdl:port binding="qman:QManWsResourceBinding" name="QManWsResourcePort">
- <wsdl-soap:address location="http://romagazzarini:8080/qman/services/QManWsResource"/>
- </wsdl:port>
- </wsdl:service>
- <message name="echoWithSimpleTypesRequestMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypesRequest" name="echoWithSimpleTypesRequest"/>
- </message>
- <wsdl:message name="echoWithSimpleTypesResponseMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypesResponse" name="echoWithSimpleTypesResponse"/>
- </wsdl:message>
- <message name="echoWithArraysRequestMessage">
- <wsdl:part element="qman:echoWithArraysRequest" name="echoWithArraysRequest"/>
- </message>
- <wsdl:message name="echoWithArraysResponseMessage">
- <wsdl:part element="qman:echoWithArraysResponse" name="echoWithArraysResponse"/>
- </wsdl:message>
- <message name="echoWithSimpleTypeArraysRequestMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypeArraysRequest" name="echoWithSimpleTypeArraysRequest"/>
- </message>
- <wsdl:message name="echoWithSimpleTypeArraysResponseMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypeArraysResponse" name="echoWithSimpleTypeArraysResponse"/>
- </wsdl:message>
- <message name="echoWithByteArrayRequestMessage">
- <wsdl:part
- element="qman:echoWithByteArrayRequest" name="echoWithByteArrayRequest"/>
- </message>
- <wsdl:message name="echoWithByteArrayResponseMessage">
- <wsdl:part
- element="qman:echoWithByteArrayResponse" name="echoWithByteArrayResponse"/>
- </wsdl:message>
- <message name="voidWithoutArgumentsRequestMessage">
- <wsdl:part
- element="qman:voidWithoutArgumentsRequest" name="voidWithoutArgumentsRequest"/>
- </message>
- <wsdl:message name="voidWithoutArgumentsResponseMessage">
- <wsdl:part
- element="qman:voidWithoutArgumentsResponse" name="voidWithoutArgumentsResponse"/>
- </wsdl:message>
- <message name="throwsExceptionRequestMessage">
- <wsdl:part element="qman:throwsExceptionRequest" name="throwsExceptionRequest"/>
- </message>
- <wsdl:message name="throwsExceptionResponseMessage">
- <wsdl:part
- element="qman:throwsExceptionResponse" name="throwsExceptionResponse"/>
- </wsdl:message>
- <message name="echoWithUUIDRequestMessage">
- <wsdl:part element="qman:echoWithUUIDRequest" name="echoWithUUIDRequest"/>
- </message>
- <wsdl:message name="echoWithUUIDResponseMessage">
- <wsdl:part element="qman:echoWithUUIDResponse" name="echoWithUUIDResponse"/>
- </wsdl:message>
- <message name="echoWithMapRequestMessage">
- <wsdl:part element="qman:echoWithMapRequest" name="echoWithMapRequest"/>
- </message>
- <wsdl:message name="echoWithMapResponseMessage">
- <wsdl:part element="qman:echoWithMapResponse" name="echoWithMapResponse"/>
- </wsdl:message>
- </wsdl:definitions>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
\ No newline at end of file diff --git a/java/management/client/src/example/PauseAndResumeSubscription.out.ok b/java/management/client/src/example/PauseAndResumeSubscription.out.ok deleted file mode 100644 index 8a98e1d0b7..0000000000 --- a/java/management/client/src/example/PauseAndResumeSubscription.out.ok +++ /dev/null @@ -1,133 +0,0 @@ -This example is demonstrating a WS-Notification scenario
-when (for simplicity) QMan is at the same time consumer
-and producer.
-
-Specifically the example shows how a requestor can create,
-pause and resume a subscription.
-Type enter to proceed...
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/adapter</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:485cc87c-660e-de43-e8fa-4ad5fffa95a6</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
- <wsnt:ConsumerReference>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/consumer</wsa:Address>
- </wsnt:ConsumerReference>
- </wsnt:Subscribe>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0ee610d1-e211-95c6-a498-e1084a610c44</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:485cc87c-660e-de43-e8fa-4ad5fffa95a6</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://romagazzarini:8080/qman/services/adapter</wsa:Address>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsnt:SubscribeResponse xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
- <wsnt:SubscriptionReference>
- <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/SubscriptionManager</wsa:Address>
- <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <qman-wsa:ResourceId xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">282f28e6-4396-4000-a19d-87a03978e8a0</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsnt:SubscriptionReference>
- <wsnt:CurrentTime>2009-02-27T13:51:56+01:00</wsnt:CurrentTime>
- </wsnt:SubscribeResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/SubscriptionManager</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/PauseSubscriptionRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:35cc80af-84ac-2456-3e1f-edc2a7f60970</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">282f28e6-4396-4000-a19d-87a03978e8a0</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsnt:PauseSubscription xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/PauseSubscriptionResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:bb53d38a-428c-3d90-cc45-29d5cb27a8df</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:35cc80af-84ac-2456-3e1f-edc2a7f60970</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://romagazzarini:8080/qman/services/SubscriptionManager</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">282f28e6-4396-4000-a19d-87a03978e8a0</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <muse-op:PauseSubscriptionResponse xmlns:muse-op="http://docs.oasis-open.org/wsn/b-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://romagazzarini:8080/qman/services/SubscriptionManager</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/ResumeSubscriptionRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:bfb48615-905a-e472-a9ca-5483fa592f60</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">282f28e6-4396-4000-a19d-87a03978e8a0</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsnt:ResumeSubscription xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/ResumeSubscriptionResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:aab4cf18-3cc0-30c4-7036-009e26bb3213</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:bfb48615-905a-e472-a9ca-5483fa592f60</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://romagazzarini:8080/qman/services/SubscriptionManager</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">282f28e6-4396-4000-a19d-87a03978e8a0</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <muse-op:ResumeSubscriptionResponse xmlns:muse-op="http://docs.oasis-open.org/wsn/b-2"/>
- </soap:Body>
-</soap:Envelope>
-
diff --git a/java/management/client/src/example/README.txt b/java/management/client/src/example/README.txt deleted file mode 100644 index 5365a416e5..0000000000 --- a/java/management/client/src/example/README.txt +++ /dev/null @@ -1,69 +0,0 @@ -*** QMan WS-DM examples ***
-
-1) DESCRIPTION
-This set of examples shows QMan WS-DM interface capabilities.
-Each example is articulated in the following way.
-First the name of the example class with a brief description about that is printed out. For example :
-
- GetWSDLMetadataExample
--------------------------------------------------------------------
-
-This example shows the usage of WS-DM
-GetResourcePropertyRequest / Response on a
-Group service.
-The target resource is the WS-DM Adapter itself
-and the requested property is "ws-rp:Entry".
-WS-DM Adapter is a special WS-Resource (is a Group)
-that acts as the main entry point for retrieving
-all other managed resources.
-So clients that want to deal with QMan WS-Resources
-must first get resource identifiers sending
-a GetResourcePropertyRequest to WS-DM Adapter
-with "ws-rp:Entry" as target target property.
-
--------------------------------------------------------------------
-
-Type enter to proceed.
-
-When you're ready type enter to proceed. Now the example runs and all the exchanged
-SOAP messages are printed out on the screen.
-If you want, we shipped (under sample_messages folder) several files containing those messages.
-
-A general note concerning examples...they are all written using java language so what you see is the
-"java" usage of WS-DM client API.
-The most important thing that you should keep in mind is that what is expected (on QMan side) is a SOAP WS-DM
-compliant message so on top of that you don't need to use those java API but feel free to produce those messages
-in your preferred way (by hand or using another programming language).
-
-Another thing : the examples contain a lot of code duplication because each of them is took as independent as possible.
-The general idea is that you open an example source file and in the executeExample(...) method you should have a quick
-idea of how things are working.
-Also, as mentioned before, we provided, under the sample_messages folder, the messages that are part of each example conversation.
-Remember : these messages are important, not the way / language you use to produce them.
-
-2) HOW TO RUN
-
-2.1) Java
-You need JDK 1.5 or higher in order to run and / or compile the examples.
-
-2.2) Dependencies
-You need to set / update the CLASSPATH environment variable with libraries found under $QMAN_HOME/app/qman/WEB-INF/lib.
-After that you should be able to run one the shipped examples:
-
-> java org.apache.qpid.management.example.GetMultipleResourcePropertiesExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.GetQManResourceMembersExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.GetResourceMetadataDescriptorExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.GetResourcePropertyDocumentExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.GetResourcePropertyExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.GetWSDLMetadataExample <qman_host> <qman_port>
-> java org.apache.qpid.management.example.SetResourcePropertyExample <qman_host> <qman_port>
-
-Where
-<qman_host> is the host (ip or hostname) where QMan is running;
-<qman_port> is the port number where QMan is running;
-
-2.3) Qpid
-You must have a running C++ broker with management enabled.
-
-2.4) QMan
-You must have QMan WS-DM up, running and connected with the broker above.
\ No newline at end of file diff --git a/java/management/client/src/example/SetResourcePropertiesRequest.out.ok b/java/management/client/src/example/SetResourcePropertiesRequest.out.ok deleted file mode 100644 index 1f346afa4e..0000000000 --- a/java/management/client/src/example/SetResourcePropertiesRequest.out.ok +++ /dev/null @@ -1,2316 +0,0 @@ - SetResourcePropertyExample
--------------------------------------------------------------------
-
-This example shows how to change the state of a WS-Resource.
-That means a SetResourcePropertyRequest is sent to that
-WS-Resource.
-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 two GetMetadataRequests
-(one for WSDL and one for RDM) are sent to the first child.
-The result metadata descriptors are used for determine :
-
-1) WS-Resource property names;
-2) Modifiability (read-only, read-write
-3) Datatype;
--------------------------------------------------------------------
-
-So a SetResourcePropertyRequest can be sent in order
-to change the WS-Resource state.
-The example is looking for a property that has one of the
-following datatype :
-
-1) String (xsd:string)
-2) Long (xsd:long)
-3) Integer (xsd:integer or xsd:int)
-4) Double (xsd:double)
-5) Float (xsd:float)
-6) Short (xsd:short)
-
-After the update / insert request has been sent, a
-GetResourcePropertiesRequest is made again
-in order to see if the state has changed correctly.
-
-Type enter to proceed...
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:d026718c-2724-d3bf-fd5b-3c6bf4cd5a8c</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://docs.oasis-open.org/wsrf/rmd-1</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:dba8d7ab-83a6-16e1-03cc-48edc672a325</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:d026718c-2724-d3bf-fd5b-3c6bf4cd5a8c</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsrmd:MetadataDescriptor
- interface="qman:QManWsResourcePortType"
- name="QManWsResourceMetadata"
- wsdlLocation="http://docs.oasis-open.org/wsrf/rmd-1 QManWsResource.wsdl"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:MgmtPubInterval" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Name" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:TerminationTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable"
- name="qman:MsgTotalEnqueues" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Arguments" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:VhostRef" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="wsrl:CurrentTime" xmlns:wsrl="http://docs.oasis-open.org/wsrf/rl-2">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:ExpireTime" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:Durable" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-only"
- mutability="mutable" name="qman:ConsumerCount" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- <wsrmd:Property modifiability="read-write"
- mutability="mutable" name="qman:Type" xmlns:qman="http://amqp.apache.org/qpid/management/qman">
- <wsrmd:ValidValues/>
- <wsrmd:StaticValues/>
- <wsrmd:InitialValues/>
- </wsrmd:Property>
- </wsrmd:MetadataDescriptor>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:11581af1-04af-05cd-7215-103cad6a316c</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <qman:GetMetadata xmlns:qman="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <qman:Dialect>http://schemas.xmlsoap.org/wsdl/</qman:Dialect>
- </qman:GetMetadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:785964d4-9a81-784f-d68a-60de63223094</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:11581af1-04af-05cd-7215-103cad6a316c</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsx:Metadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">
- <wsx:MetadataSection>
- <wsdl:definitions name="QManWsResource"
- targetNamespace="http://amqp.apache.org/qpid/management/qman"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:qman="http://amqp.apache.org/qpid/management/qman"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:wsdl-soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
- xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2"
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"
- xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1"
- xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://www.w3.org/2005/08/addressing"
- xmlns:tns="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:element name="EndpointReference"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:element name="Address" type="tns:AttributedURIType"/>
- <xs:element minOccurs="0"
- name="ReferenceParameters" type="tns:ReferenceParametersType"/>
- <xs:element minOccurs="0" ref="tns:Metadata"/>
- <xs:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:complexType mixed="false"
- name="ReferenceParametersType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="Metadata"
- type="tns:MetadataType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="MetadataType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="MessageID"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="RelatesTo"
- type="tns:RelatesToType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="RelatesToType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:anyURI">
- <xs:attribute
- default="http://www.w3.org/2005/08/addressing/reply"
- name="RelationshipType"
- type="tns:RelationshipTypeOpenEnum" use="optional"/>
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:simpleType
- name="RelationshipTypeOpenEnum" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
- </xs:simpleType>
- <xs:simpleType name="RelationshipType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:restriction base="xs:anyURI">
- <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="ReplyTo"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="From"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="FaultTo"
- type="tns:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="To"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Action"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:anyURI">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:attribute name="IsReferenceParameter"
- type="xs:boolean" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:simpleType name="FaultCodesOpenEnumType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:union memberTypes="tns:FaultCodesType xs:QName"/>
- </xs:simpleType>
- <xs:simpleType name="FaultCodesType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:restriction base="xs:QName">
- <xs:enumeration value="tns:InvalidAddressingHeader"/>
- <xs:enumeration value="tns:InvalidAddress"/>
- <xs:enumeration value="tns:InvalidEPR"/>
- <xs:enumeration value="tns:InvalidCardinality"/>
- <xs:enumeration value="tns:MissingAddressInEPR"/>
- <xs:enumeration value="tns:DuplicateMessageID"/>
- <xs:enumeration value="tns:ActionMismatch"/>
- <xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
- <xs:enumeration value="tns:DestinationUnreachable"/>
- <xs:enumeration value="tns:ActionNotSupported"/>
- <xs:enumeration value="tns:EndpointUnavailable"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="RetryAfter"
- type="tns:AttributedUnsignedLongType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedUnsignedLongType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:unsignedLong">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:element name="ProblemHeaderQName"
- type="tns:AttributedQNameType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedQNameType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleContent>
- <xs:extension base="xs:QName">
- <xs:anyAttribute
- namespace="##other" processContents="lax"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:element name="ProblemHeader"
- type="tns:AttributedAnyType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="AttributedAnyType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any maxOccurs="1" minOccurs="1"
- namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- <xs:element name="ProblemIRI"
- type="tns:AttributedURIType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="ProblemAction"
- type="tns:ProblemActionType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType mixed="false"
- name="ProblemActionType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:element minOccurs="0" ref="tns:Action"/>
- <xs:element minOccurs="0"
- name="SoapAction" type="xs:anyURI"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified"
- targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex"
- xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:import
- namespace="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="GetMetadata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" ref="tns:Dialect"/>
- <xs:element minOccurs="0" ref="tns:Identifier"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="Dialect" type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Identifier"
- type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:sequence>
- <xs:element
- maxOccurs="unbounded"
- minOccurs="0" ref="tns:MetadataSection"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="MetadataSection" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:complexType>
- <xs:choice>
- <xs:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- <xs:element ref="tns:MetadataReference"/>
- <xs:element ref="tns:Location"/>
- </xs:choice>
- <xs:attribute name="Dialect"
- type="xs:anyURI" use="required"/>
- <xs:attribute name="Identifier" type="xs:anyURI"/>
- <xs:anyAttribute namespace="##other" processContents="lax"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="MetadataReference"
- type="wsa:EndpointReferenceType" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:element name="Location" type="xs:anyURI" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
- <xs:complexType name="AnyXmlType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:sequence>
- <xs:any namespace="##any" processContents="lax"/>
- </xs:sequence>
- <xs:anyAttribute namespace="##any" processContents="lax"/>
- </xs:complexType>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rl-2"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/rl-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="CurrentTime">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:dateTime">
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="TerminationTime" nillable="true">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:dateTime">
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="ScheduledResourceTerminationRP">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rl:CurrentTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rl:TerminationTime"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="Destroy">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="DestroyResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:complexType name="ResourceNotDestroyedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="ResourceNotDestroyedFault" type="wsrf-rl:ResourceNotDestroyedFaultType"/>
- <xsd:element name="SetTerminationTime">
- <xsd:complexType>
- <xsd:choice>
- <xsd:element
- name="RequestedTerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element
- name="RequestedLifetimeDuration" type="xsd:duration"/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SetTerminationTimeResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- name="NewTerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element name="CurrentTime" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="UnableToSetTerminationTimeFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToSetTerminationTimeFault" type="wsrf-rl:UnableToSetTerminationTimeFaultType"/>
- <xsd:complexType name="TerminationTimeChangeRejectedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="TerminationTimeChangeRejectedFault" type="wsrf-rl:TerminationTimeChangeRejectedFaultType"/>
- <xsd:element name="TerminationNotification">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1"
- name="TerminationTime"
- nillable="true" type="xsd:dateTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="TerminationReason" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rp-2"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="QueryExpressionDialect" type="xsd:anyURI"/>
- <xsd:element name="QueryExpressionRPDocument">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrf-rp:QueryExpressionDialect"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:attribute name="ResourceProperties" type="xsd:QName"/>
- <xsd:complexType name="ResourcePropertyValueChangeNotificationType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="OldValues" nillable="true">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="1" name="NewValues" nillable="true">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="ResourcePropertyValueChangeNotification" type="wsrf-rp:ResourcePropertyValueChangeNotificationType"/>
- <xsd:complexType mixed="true" name="QueryExpressionType">
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="0" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="Dialect" type="xsd:anyURI"/>
- </xsd:complexType>
- <xsd:element name="QueryExpression" type="wsrf-rp:QueryExpressionType"/>
- <xsd:element name="GetResourcePropertyDocument">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="GetResourcePropertyDocumentResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="GetResourceProperty" type="xsd:QName"/>
- <xsd:element name="GetResourcePropertyResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="InvalidResourcePropertyQNameFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InvalidResourcePropertyQNameFault" type="wsrf-rp:InvalidResourcePropertyQNameFaultType"/>
- <xsd:element name="GetMultipleResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="1"
- name="ResourceProperty" type="xsd:QName"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="GetMultipleResourcePropertiesResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PutResourcePropertyDocument">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="PutResourcePropertyDocumentResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1" minOccurs="0"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="ResourcePropertyChangeFailureType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="CurrentValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="RequestedValue">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded" minOccurs="1"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="Restored" type="xsd:boolean"/>
- </xsd:complexType>
- <xsd:complexType name="UnableToPutResourcePropertyDocumentFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToPutResourcePropertyDocumentFault" type="wsrf-rp:UnableToPutResourcePropertyDocumentFaultType"/>
- <xsd:complexType name="InsertType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Insert" type="wsrf-rp:InsertType"/>
- <xsd:complexType name="UpdateType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Update" type="wsrf-rp:UpdateType"/>
- <xsd:complexType name="DeleteType">
- <xsd:attribute name="ResourceProperty"
- type="xsd:QName" use="required"/>
- </xsd:complexType>
- <xsd:element name="Delete" type="wsrf-rp:DeleteType"/>
- <xsd:element name="SetResourceProperties">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded" minOccurs="1">
- <xsd:element ref="wsrf-rp:Insert"/>
- <xsd:element ref="wsrf-rp:Update"/>
- <xsd:element ref="wsrf-rp:Delete"/>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="SetResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:complexType name="InvalidModificationFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="InvalidModificationFault" type="wsrf-rp:InvalidModificationFaultType"/>
- <xsd:complexType name="UnableToModifyResourcePropertyFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnableToModifyResourcePropertyFault" type="wsrf-rp:UnableToModifyResourcePropertyFaultType"/>
- <xsd:complexType name="SetResourcePropertyRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="SetResourcePropertyRequestFailedFault" type="wsrf-rp:SetResourcePropertyRequestFailedFaultType"/>
- <xsd:complexType name="InsertResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InsertResourcePropertiesRequestFailedFault" type="wsrf-rp:InsertResourcePropertiesRequestFailedFaultType"/>
- <xsd:complexType name="UpdateResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UpdateResourcePropertiesRequestFailedFault" type="wsrf-rp:UpdateResourcePropertiesRequestFailedFaultType"/>
- <xsd:complexType name="DeleteResourcePropertiesRequestFailedFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType">
- <xsd:sequence>
- <xsd:element
- name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="DeleteResourcePropertiesRequestFailedFault" type="wsrf-rp:DeleteResourcePropertiesRequestFailedFaultType"/>
- <xsd:element name="InsertResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Insert"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="InsertResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="UpdateResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Update"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="UpdateResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="DeleteResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rp:Delete"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="DeleteResourcePropertiesResponse">
- <xsd:complexType/>
- </xsd:element>
- <xsd:element name="QueryResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="1" ref="wsrf-rp:QueryExpression"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="QueryResourcePropertiesResponse">
- <xsd:complexType>
- <xsd:complexContent mixed="true">
- <xsd:restriction base="xsd:anyType">
- <xsd:sequence>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="1" processContents="lax"/>
- </xsd:sequence>
- </xsd:restriction>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="UnknownQueryExpressionDialectFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="UnknownQueryExpressionDialectFault" type="wsrf-rp:UnknownQueryExpressionDialectFaultType"/>
- <xsd:complexType name="InvalidQueryExpressionFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="InvalidQueryExpressionFault" type="wsrf-rp:InvalidQueryExpressionFaultType"/>
- <xsd:complexType name="QueryEvaluationErrorFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="QueryEvaluationErrorFault" type="wsrf-rp:QueryEvaluationErrorFaultType"/>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/r-2"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:complexType name="ResourceUnknownFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="ResourceUnknownFault" type="wsrf-r:ResourceUnknownFaultType"/>
- <xsd:complexType name="ResourceUnavailableFaultType">
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="ResourceUnavailableFault" type="wsrf-r:ResourceUnavailableFaultType"/>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/rmd-1"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rp-2"/>
- <xsd:import namespace="http://www.w3.org/2005/08/addressing"/>
- <xsd:simpleType name="PairsOfURIType">
- <xsd:list itemType="xsd:anyURI"/>
- </xsd:simpleType>
- <xsd:attribute name="Descriptor" type="xsd:QName"/>
- <xsd:attribute name="DescriptorLocation" type="xsd:anyURI"/>
- <xsd:complexType mixed="true" name="DocumentationType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0" namespace="##any" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute/>
- </xsd:complexType>
- <xsd:complexType name="DocumentedType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="DefinitionsType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrmd:MetadataDescriptor"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute
- name="targetNamespace"
- type="xsd:anyURI" use="required"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="Definitions" type="wsrmd:DefinitionsType">
- <xsd:key name="MetadataDescriptor">
- <xsd:annotation>
- <xsd:documentation>
- To form a QName, the name of any MetadataDescriptor must be
- unique within a Definitions element.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:selector xpath="wsrmd:MetadataDescriptor"/>
- <xsd:field xpath="@name"/>
- </xsd:key>
- </xsd:element>
- <xsd:complexType name="MetadataDescriptorType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrmd:Property"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="name"
- type="xsd:NCName" use="required"/>
- <xsd:attribute name="interface"
- type="xsd:QName" use="required"/>
- <xsd:attribute
- name="wsdlLocation" type="wsrmd:PairsOfURIType"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="MetadataDescriptor" type="wsrmd:MetadataDescriptorType"/>
- <xsd:complexType name="PropertyType">
- <xsd:complexContent>
- <xsd:extension base="wsrmd:DocumentedType">
- <xsd:sequence>
- <xsd:choice>
- <xsd:element
- maxOccurs="1"
- minOccurs="0" ref="wsrmd:ValidValues"/>
- <xsd:element
- maxOccurs="1"
- minOccurs="0" ref="wsrmd:ValidValueRange"/>
- </xsd:choice>
- <xsd:element maxOccurs="1"
- minOccurs="0" ref="wsrmd:StaticValues"/>
- <xsd:any
- maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="name"
- type="xsd:QName" use="required"/>
- <xsd:attribute name="mutability" type="wsrmd:MutabilityType"/>
- <xsd:attribute
- name="modifiability" type="wsrmd:ModifiabilityType"/>
- <xsd:attribute default="false"
- name="subscribability" type="xsd:boolean"/>
- <xsd:anyAttribute
- namespace="##other" processContents="lax"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element name="Property" type="wsrmd:PropertyType"/>
- <xsd:simpleType name="MutabilityType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="constant"/>
- <xsd:enumeration value="appendable"/>
- <xsd:enumeration value="mutable"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="ModifiabilityType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="read-only"/>
- <xsd:enumeration value="read-write"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:complexType mixed="true" name="ValidValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="ValidValues" type="wsrmd:ValidValuesType"/>
- <xsd:complexType mixed="true" name="ValidValueRangeType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:attribute name="lowerBound" type="xsd:anySimpleType"/>
- <xsd:attribute name="upperBound" type="xsd:anySimpleType"/>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="ValidValueRange" type="wsrmd:ValidValueRangeType"/>
- <xsd:complexType mixed="true" name="StaticValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="StaticValues" type="wsrmd:StaticValuesType"/>
- <xsd:complexType mixed="true" name="InitialValuesType">
- <xsd:sequence>
- <xsd:element maxOccurs="1"
- minOccurs="0"
- name="documentation" type="wsrmd:DocumentationType"/>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- <xsd:element name="InitialValues" type="wsrmd:InitialValuesType"/>
- <xsd:complexType name="MetadataDescriptorReferenceType">
- <xsd:complexContent>
- <xsd:extension base="wsa:EndpointReferenceType"/>
- </xsd:complexContent>
- </xsd:complexType>
- <xsd:element
- name="MetadataDescriptorReference" type="wsrmd:MetadataDescriptorReferenceType"/>
- <xsd:element name="MetadataResourceRP" type="wsrmd:DefinitionsType"/>
- </xsd:schema>
- <xsd:schema elementFormDefault="qualified" targetNamespace="http://amqp.apache.org/qpid/management/qman">
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rl-2"/>
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/rp-2"/>
- <xsd:import namespace="http://docs.oasis-open.org/wsrf/bf-2"/>
- <xsd:element name="QManWsResourceProperties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="wsrf-rl:CurrentTime"/>
- <xsd:element ref="wsrf-rl:TerminationTime"/>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" ref="wsrf-rp:QueryExpressionDialect"/>
- <xsd:element ref="qman:Name"/>
- <xsd:element ref="qman:Type"/>
- <xsd:element ref="qman:Arguments"/>
- <xsd:element ref="qman:VhostRef"/>
- <xsd:element ref="qman:Durable"/>
- <xsd:element ref="qman:MsgTotalEnqueues"/>
- <xsd:element ref="qman:ConsumerCount"/>
- <xsd:element ref="qman:ExpireTime"/>
- <xsd:element ref="qman:MgmtPubInterval"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="QManFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MethodInvocationFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="EntityInstanceNotFoundFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="MalformedEntityNameFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="NoSuchAttributeFault">
- <xsd:complexType>
- <xsd:complexContent>
- <xsd:extension base="wsrf-bf:BaseFaultType"/>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:complexType name="result">
- <xsd:sequence>
- <xsd:element name="statusCode" type="xsd:long"/>
- <xsd:element name="statusText" type="xsd:string"/>
- <xsd:complexType name="outputParameters">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element
- maxOccurs="unbounded"
- minOccurs="0" name="entry">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:name
- name="key" type="xsd:string"/>
- <xsd:element
- name="value" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:complexType>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Name" type="xsd:string"/>
- <xsd:element name="Type" type="xsd:string"/>
- <xsd:complexType name="map">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded"
- minOccurs="0" name="entry">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="key" type="xsd:string"/>
- <xsd:element
- name="value" type="xsd:anyType"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="Arguments" type="qman:map"/>
- <xsd:complexType name="uuid">
- <xsd:sequence>
- <xsd:element name="uuid" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="VhostRef" type="qman:uuid"/>
- <xsd:element name="Durable" type="xsd:boolean"/>
- <xsd:element name="MsgTotalEnqueues" type="xsd:long"/>
- <xsd:element name="ConsumerCount" type="xsd:integer"/>
- <xsd:element name="ExpireTime" type="xsd:dateTime"/>
- <xsd:element name="MgmtPubInterval" type="xsd:short"/>
- <xsd:element
- name="echoWithSimpleTypesRequest" type="qman:echoWithSimpleTypesRequest"/>
- <xsd:element
- name="echoWithSimpleTypesResponse" type="qman:echoWithSimpleTypesResponse"/>
- <xsd:complexType name="echoWithSimpleTypesRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="xsd:long"/>
- <xsd:element name="p2" type="xsd:boolean"/>
- <xsd:element name="p3" type="xsd:double"/>
- <xsd:element name="p4" type="xsd:float"/>
- <xsd:element name="p5" type="xsd:integer"/>
- <xsd:element name="p6" type="xsd:short"/>
- <xsd:element name="p7" type="xsd:string"/>
- <xsd:element name="p8" type="xsd:anyURI"/>
- <xsd:element name="p9" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypesResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithArraysRequest" type="qman:echoWithArraysRequest"/>
- <xsd:element name="echoWithArraysResponse" type="qman:echoWithArraysResponse"/>
- <xsd:complexType name="arrayOfLong">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:long"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfBoolean">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDouble">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:double"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfFloat">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:float"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfInteger">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:integer"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfShort">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:short"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfString">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfURI">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:anyURI"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDate">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:dateTime"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithArraysRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfLong"/>
- <xsd:element name="p2" type="qman:arrayOfBoolean"/>
- <xsd:element name="p3" type="qman:arrayOfDouble"/>
- <xsd:element name="p4" type="qman:arrayOfFloat"/>
- <xsd:element name="p5" type="qman:arrayOfInteger"/>
- <xsd:element name="p6" type="qman:arrayOfShort"/>
- <xsd:element name="p7" type="qman:arrayOfString"/>
- <xsd:element name="p8" type="qman:arrayOfURI"/>
- <xsd:element name="p9" type="qman:arrayOfDate"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithArraysResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="echoWithSimpleTypeArraysRequest" type="qman:echoWithSimpleTypeArraysRequest"/>
- <xsd:element
- name="echoWithSimpleTypeArraysResponse" type="qman:echoWithSimpleTypeArraysResponse"/>
- <xsd:complexType name="arrayOfLong">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:long"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfBoolean">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:boolean"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfDouble">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:double"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfFloat">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:float"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfInt">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:integer"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="arrayOfShort">
- <xsd:sequence>
- <xsd:element name="entry" type="xsd:short"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypeArraysRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfLong"/>
- <xsd:element name="p2" type="qman:arrayOfBoolean"/>
- <xsd:element name="p3" type="qman:arrayOfDouble"/>
- <xsd:element name="p4" type="qman:arrayOfFloat"/>
- <xsd:element name="p5" type="qman:arrayOfInt"/>
- <xsd:element name="p6" type="qman:arrayOfShort"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithSimpleTypeArraysResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithByteArrayRequest" type="qman:echoWithByteArrayRequest"/>
- <xsd:element
- name="echoWithByteArrayResponse" type="qman:echoWithByteArrayResponse"/>
- <xsd:complexType name="arrayOfByte">
- <xsd:sequence>
- <xsd:element name="entry" type=""/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithByteArrayRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:arrayOfByte"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithByteArrayResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element
- name="voidWithoutArgumentsRequest" type="qman:voidWithoutArgumentsRequest"/>
- <xsd:element
- name="voidWithoutArgumentsResponse" type="qman:voidWithoutArgumentsResponse"/>
- <xsd:complexType name="voidWithoutArgumentsRequest">
- <xsd:sequence/>
- </xsd:complexType>
- <xsd:complexType name="voidWithoutArgumentsResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="throwsExceptionRequest" type="qman:throwsExceptionRequest"/>
- <xsd:element name="throwsExceptionResponse" type="qman:throwsExceptionResponse"/>
- <xsd:complexType name="throwsExceptionRequest">
- <xsd:sequence/>
- </xsd:complexType>
- <xsd:complexType name="throwsExceptionResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithUUIDRequest" type="qman:echoWithUUIDRequest"/>
- <xsd:element name="echoWithUUIDResponse" type="qman:echoWithUUIDResponse"/>
- <xsd:complexType name="echoWithUUIDRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:uuid"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithUUIDResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:element name="echoWithMapRequest" type="qman:echoWithMapRequest"/>
- <xsd:element name="echoWithMapResponse" type="qman:echoWithMapResponse"/>
- <xsd:complexType name="echoWithMapRequest">
- <xsd:sequence>
- <xsd:element name="p1" type="qman:map"/>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="echoWithMapResponse">
- <xsd:sequence>
- <xsd:element name="result" type="qman:result"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
- <xsd:schema attributeFormDefault="unqualified"
- elementFormDefault="qualified"
- targetNamespace="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <xsd:import namespace="http://www.w3.org/2005/08/addressing"/>
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace">
- <xsd:annotation>
- <xsd:documentation>
- Get access to the xml: attribute groups for xml:lang as declared on 'schema'
- and 'documentation' below
- </xsd:documentation>
- </xsd:annotation>
- </xsd:import>
- <xsd:element name="BaseFault" type="wsrf-bf:BaseFaultType"/>
- <xsd:complexType name="BaseFaultType">
- <xsd:sequence>
- <xsd:any maxOccurs="unbounded"
- minOccurs="0"
- namespace="##other" processContents="lax"/>
- <xsd:element maxOccurs="1"
- minOccurs="1" name="Timestamp" type="xsd:dateTime"/>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="Originator" type="wsa:EndpointReferenceType"/>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="ErrorCode">
- <xsd:complexType>
- <xsd:complexContent mixed="true">
- <xsd:extension base="xsd:anyType">
- <xsd:attribute
- name="dialect"
- type="xsd:anyURI" use="required"/>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="unbounded"
- minOccurs="0" name="Description">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute
- ref="xml:lang" use="optional"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element maxOccurs="1"
- minOccurs="0" name="FaultCause">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:any maxOccurs="1"
- minOccurs="1"
- namespace="##other" processContents="lax"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:sequence>
- <xsd:anyAttribute namespace="##other" processContents="lax"/>
- </xsd:complexType>
- </xsd:schema>
- <xs:schema
- targetNamespace="http://www.w3.org/XML/1998/namespace"
- xml:lang="en" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:attribute name="lang" type="xs:language"/>
- <xs:attribute default="preserve" name="space">
- <xs:simpleType>
- <xs:restriction base="xs:NCName">
- <xs:enumeration value="default"/>
- <xs:enumeration value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="base" type="xs:anyURI"/>
- <xs:attributeGroup name="specialAttrs">
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- <xs:attribute ref="xml:space"/>
- </xs:attributeGroup>
- </xs:schema>
- </wsdl:types>
- <wsdl:message name="GetMetadataMsg">
- <wsdl:part element="wsx:GetMetadata" name="GetMetadataMsg"/>
- </wsdl:message>
- <wsdl:message name="GetMetadataResponseMsg">
- <wsdl:part element="wsx:Metadata" name="GetMetadataResponseMsg"/>
- </wsdl:message>
- <wsdl:message name="DestroyRequest">
- <wsdl:part element="wsrf-rl:Destroy" name="DestroyRequest"/>
- </wsdl:message>
- <wsdl:message name="DestroyResponse">
- <wsdl:part element="wsrf-rl:DestroyResponse" name="DestroyResponse"/>
- </wsdl:message>
- <wsdl:message name="ResourceNotDestroyedFault">
- <wsdl:part
- element="wsrf-rl:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault"/>
- </wsdl:message>
- <wsdl:message name="ResourceUnknownFault">
- <wsdl:part element="wsrf-r:ResourceUnknownFault" name="ResourceUnknownFault"/>
- </wsdl:message>
- <wsdl:message name="ResourceUnavailableFault">
- <wsdl:part
- element="wsrf-r:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:message>
- <wsdl:message name="SetTerminationTimeRequest">
- <wsdl:part element="wsrf-rl:SetTerminationTime" name="SetTerminationTimeRequest"/>
- </wsdl:message>
- <wsdl:message name="SetTerminationTimeResponse">
- <wsdl:part
- element="wsrf-rl:SetTerminationTimeResponse" name="SetTerminationTimeResponse"/>
- </wsdl:message>
- <wsdl:message name="UnableToSetTerminationTimeFault">
- <wsdl:part
- element="wsrf-rl:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
- </wsdl:message>
- <wsdl:message name="TerminationTimeChangeRejectedFault">
- <wsdl:part
- element="wsrf-rl:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyDocumentRequest">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyDocument" name="GetResourcePropertyDocumentRequest"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyDocumentResponse">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyDocumentResponse" name="GetResourcePropertyDocumentResponse"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyRequest">
- <wsdl:part element="wsrf-rp:GetResourceProperty" name="GetResourcePropertyRequest"/>
- </wsdl:message>
- <wsdl:message name="GetResourcePropertyResponse">
- <wsdl:part
- element="wsrf-rp:GetResourcePropertyResponse" name="GetResourcePropertyResponse"/>
- </wsdl:message>
- <wsdl:message name="InvalidResourcePropertyQNameFault">
- <wsdl:part
- element="wsrf-rp:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:message>
- <wsdl:message name="GetMultipleResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:GetMultipleResourceProperties" name="GetMultipleResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="GetMultipleResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:GetMultipleResourcePropertiesResponse" name="GetMultipleResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="QueryResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:QueryResourceProperties" name="QueryResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="QueryResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:QueryResourcePropertiesResponse" name="QueryResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="UnknownQueryExpressionDialectFault">
- <wsdl:part
- element="wsrf-rp:UnknownQueryExpressionDialectFault" name="UnknownQueryExpressionDialectFault"/>
- </wsdl:message>
- <wsdl:message name="InvalidQueryExpressionFault">
- <wsdl:part
- element="wsrf-rp:InvalidQueryExpressionFault" name="InvalidQueryExpressionFault"/>
- </wsdl:message>
- <wsdl:message name="QueryEvaluationErrorFault">
- <wsdl:part
- element="wsrf-rp:QueryEvaluationErrorFault" name="QueryEvaluationErrorFault"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertiesRequest">
- <wsdl:part
- element="wsrf-rp:SetResourceProperties" name="SetResourcePropertiesRequest"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertiesResponse">
- <wsdl:part
- element="wsrf-rp:SetResourcePropertiesResponse" name="SetResourcePropertiesResponse"/>
- </wsdl:message>
- <wsdl:message name="InvalidModificationFault">
- <wsdl:part
- element="wsrf-rp:InvalidModificationFault" name="InvalidModificationFault"/>
- </wsdl:message>
- <wsdl:message name="UnableToModifyResourcePropertyFault">
- <wsdl:part
- element="wsrf-rp:UnableToModifyResourcePropertyFault" name="UnableToModifyResourcePropertyFault"/>
- </wsdl:message>
- <wsdl:message name="SetResourcePropertyRequestFailedFault">
- <wsdl:part
- element="wsrf-rp:SetResourcePropertyRequestFailedFault" name="SetResourcePropertyRequestFailedFault"/>
- </wsdl:message>
- <wsdl:portType name="QManWsResourcePortType"
- wsrf-rp:ResourceProperties="qman:QManWsResourceProperties"
- wsrmd:Descriptor="QManWsResourceMetadata" wsrmd:DescriptorLocation="QManWsResource.rmd">
- <wsdl:operation name="GetMetadata">
- <wsdl:input message="qman:GetMetadataMsg"
- name="GetMetadataMsg" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata"/>
- <wsdl:output
- message="qman:GetMetadataResponseMsg"
- name="GetMetadataResponseMsg" wsa:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadataResponse"/>
- </wsdl:operation>
- <wsdl:operation name="Destroy">
- <wsdl:input message="qman:DestroyRequest"
- name="DestroyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyRequest"/>
- <wsdl:output message="qman:DestroyResponse"
- name="DestroyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination/DestroyResponse"/>
- <wsdl:fault
- message="qman:ResourceNotDestroyedFault" name="ResourceNotDestroyedFault"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:operation>
- <wsdl:operation name="SetTerminationTime">
- <wsdl:input
- message="qman:SetTerminationTimeRequest"
- name="SetTerminationTimeRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeRequest"/>
- <wsdl:output
- message="qman:SetTerminationTimeResponse"
- name="SetTerminationTimeResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination/SetTerminationTimeResponse"/>
- <wsdl:fault
- message="qman:UnableToSetTerminationTimeFault" name="UnableToSetTerminationTimeFault"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:TerminationTimeChangeRejectedFault" name="TerminationTimeChangeRejectedFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetResourcePropertyDocument">
- <wsdl:input
- message="qman:GetResourcePropertyDocumentRequest"
- name="GetResourcePropertyDocumentRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentRequest"/>
- <wsdl:output
- message="qman:GetResourcePropertyDocumentResponse"
- name="GetResourcePropertyDocumentResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourcePropertyDocument/GetResourcePropertyDocumentResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetResourceProperty">
- <wsdl:input
- message="qman:GetResourcePropertyRequest"
- name="GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest"/>
- <wsdl:output
- message="qman:GetResourcePropertyResponse"
- name="GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:operation>
- <wsdl:operation name="GetMultipleResourceProperties">
- <wsdl:input
- message="qman:GetMultipleResourcePropertiesRequest"
- name="GetMultipleResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:GetMultipleResourcePropertiesResponse"
- name="GetMultipleResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/GetMultipleResourceProperties/GetMultipleResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- </wsdl:operation>
- <wsdl:operation name="QueryResourceProperties">
- <wsdl:input
- message="qman:QueryResourcePropertiesRequest"
- name="QueryResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:QueryResourcePropertiesResponse"
- name="QueryResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/QueryResourceProperties/QueryResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:UnknownQueryExpressionDialectFault" name="UnknownQueryExpressionDialectFault"/>
- <wsdl:fault
- message="qman:InvalidQueryExpressionFault" name="InvalidQueryExpressionFault"/>
- <wsdl:fault
- message="qman:QueryEvaluationErrorFault" name="QueryEvaluationErrorFault"/>
- </wsdl:operation>
- <wsdl:operation name="SetResourceProperties">
- <wsdl:input
- message="qman:SetResourcePropertiesRequest"
- name="SetResourcePropertiesRequest" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest"/>
- <wsdl:output
- message="qman:SetResourcePropertiesResponse"
- name="SetResourcePropertiesResponse" wsa:Action="http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesResponse"/>
- <wsdl:fault
- message="qman:ResourceUnknownFault" name="ResourceUnknownFault"/>
- <wsdl:fault
- message="qman:ResourceUnavailableFault" name="ResourceUnavailableFault"/>
- <wsdl:fault
- message="qman:InvalidModificationFault" name="InvalidModificationFault"/>
- <wsdl:fault
- message="qman:UnableToModifyResourcePropertyFault" name="UnableToModifyResourcePropertyFault"/>
- <wsdl:fault
- message="qman:InvalidResourcePropertyQNameFault" name="InvalidResourcePropertyQNameFault"/>
- <wsdl:fault
- message="qman:SetResourcePropertyRequestFailedFault" name="SetResourcePropertyRequestFailedFault"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypes">
- <wsdl:input
- message="qman:echoWithSimpleTypesRequestMessage"
- name="echoWithSimpleTypesRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypes"/>
- <wsdl:output
- message="qman:echoWithSimpleTypesResponseMessage"
- name="echoWithSimpleTypesResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypesResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithArrays">
- <wsdl:input
- message="qman:echoWithArraysRequestMessage"
- name="echoWithArraysRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithArrays"/>
- <wsdl:output
- message="qman:echoWithArraysResponseMessage"
- name="echoWithArraysResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithArraysResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypeArrays">
- <wsdl:input
- message="qman:echoWithSimpleTypeArraysRequestMessage"
- name="echoWithSimpleTypeArraysRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArrays"/>
- <wsdl:output
- message="qman:echoWithSimpleTypeArraysResponseMessage"
- name="echoWithSimpleTypeArraysResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArraysResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithByteArray">
- <wsdl:input
- message="qman:echoWithByteArrayRequestMessage"
- name="echoWithByteArrayRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithByteArray"/>
- <wsdl:output
- message="qman:echoWithByteArrayResponseMessage"
- name="echoWithByteArrayResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithByteArrayResponse"/>
- </wsdl:operation>
- <wsdl:operation name="voidWithoutArguments">
- <wsdl:input
- message="qman:voidWithoutArgumentsRequestMessage"
- name="voidWithoutArgumentsRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/voidWithoutArguments"/>
- <wsdl:output
- message="qman:voidWithoutArgumentsResponseMessage"
- name="voidWithoutArgumentsResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/voidWithoutArgumentsResponse"/>
- </wsdl:operation>
- <wsdl:operation name="throwsException">
- <wsdl:input
- message="qman:throwsExceptionRequestMessage"
- name="throwsExceptionRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/throwsException"/>
- <wsdl:output
- message="qman:throwsExceptionResponseMessage"
- name="throwsExceptionResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/throwsExceptionResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithUUID">
- <wsdl:input
- message="qman:echoWithUUIDRequestMessage"
- name="echoWithUUIDRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithUUID"/>
- <wsdl:output
- message="qman:echoWithUUIDResponseMessage"
- name="echoWithUUIDResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithUUIDResponse"/>
- </wsdl:operation>
- <wsdl:operation name="echoWithMap">
- <wsdl:input
- message="qman:echoWithMapRequestMessage"
- name="echoWithMapRequest" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithMap"/>
- <wsdl:output
- message="qman:echoWithMapResponseMessage"
- name="echoWithMapResponse" wsa:action="http://amqp.apache.org/qpid/management/qman/echoWithMapResponse"/>
- </wsdl:operation>
- </wsdl:portType>
- <wsdl:binding name="QManWsResourceBinding" type="qman:QManWsResourcePortType">
- <wsdl-soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="GetMetadata">
- <wsdl-soap:operation soapAction="GetMetadata"/>
- <wsdl:input>
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="Destroy">
- <wsdl-soap:operation soapAction="Destroy"/>
- <wsdl:input name="DestroyRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="DestroyResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceNotDestroyedFault">
- <wsdl-soap:fault
- name="ResourceNotDestroyedFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="SetTerminationTime">
- <wsdl-soap:operation soapAction="SetTerminationTime"/>
- <wsdl:input name="SetTerminationTimeRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="SetTerminationTimeResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="UnableToSetTerminationTimeFault">
- <wsdl-soap:fault
- name="UnableToSetTerminationTimeFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="TerminationTimeChangeRejectedFault">
- <wsdl-soap:fault
- name="TerminationTimeChangeRejectedFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetResourcePropertyDocument">
- <wsdl-soap:operation soapAction="GetResourcePropertyDocument"/>
- <wsdl:input name="GetResourcePropertyDocumentRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetResourcePropertyDocumentResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetResourceProperty">
- <wsdl-soap:operation soapAction="GetResourceProperty"/>
- <wsdl:input name="GetResourcePropertyRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetResourcePropertyResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetMultipleResourceProperties">
- <wsdl-soap:operation soapAction="GetMultipleResourceProperties"/>
- <wsdl:input name="GetMultipleResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetMultipleResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="QueryResourceProperties">
- <wsdl-soap:operation soapAction="QueryResourceProperties"/>
- <wsdl:input name="QueryResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="QueryResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnknownQueryExpressionDialectFault">
- <wsdl-soap:fault
- name="UnknownQueryExpressionDialectFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidQueryExpressionFault">
- <wsdl-soap:fault
- name="InvalidQueryExpressionFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="QueryEvaluationErrorFault">
- <wsdl-soap:fault
- name="QueryEvaluationErrorFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="SetResourceProperties">
- <wsdl-soap:operation soapAction="http://oasis.org/SetResourceProperties"/>
- <wsdl:input name="SetResourcePropertiesRequest">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="SetResourcePropertiesResponse">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- <wsdl:fault name="ResourceUnknownFault">
- <wsdl-soap:fault
- name="ResourceUnknownFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="ResourceUnavailableFault">
- <wsdl-soap:fault
- name="ResourceUnavailableFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidModificationFault">
- <wsdl-soap:fault
- name="InvalidModificationFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnableToModifyResourcePropertyFault">
- <wsdl-soap:fault
- name="UnableToModifyResourcePropertyFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidResourcePropertyQNameFault">
- <wsdl-soap:fault
- name="InvalidResourcePropertyQNameFault" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="SetResourcePropertyRequestFailedFault">
- <wsdl-soap:fault
- name="SetResourcePropertyRequestFailedFault" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- <wsdl:operation name="GetMetadata">
- <wsdl-soap:operation soapAction="http://ws.apache.org/muse/test/wsrf/GetMetadata"/>
- <wsdl:input name="GetMetadataMsg">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:input>
- <wsdl:output name="GetMetadataResponseMsg">
- <wsdl-soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypes">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypes"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithArrays">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithArrays"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithSimpleTypeArrays">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithSimpleTypeArrays"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithByteArray">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithByteArray"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="voidWithoutArguments">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/voidWithoutArguments"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="throwsException">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/throwsException"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithUUID">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithUUID"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- <wsdl:operation name="echoWithMap">
- <wsdl-soap:operation soapAction="http://amqp.apache.org/qpid/management/qman/echoWithMap"/>
- <wsdl:input>
- <wsdl-soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output>
- <wsdl-soap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
- <wsdl:service name="QManWsResourceService">
- <wsdl:port binding="qman:QManWsResourceBinding" name="QManWsResourcePort">
- <wsdl-soap:address location="http://romagazzarini:8080/qman/services/QManWsResource"/>
- </wsdl:port>
- </wsdl:service>
- <message name="echoWithSimpleTypesRequestMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypesRequest" name="echoWithSimpleTypesRequest"/>
- </message>
- <wsdl:message name="echoWithSimpleTypesResponseMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypesResponse" name="echoWithSimpleTypesResponse"/>
- </wsdl:message>
- <message name="echoWithArraysRequestMessage">
- <wsdl:part element="qman:echoWithArraysRequest" name="echoWithArraysRequest"/>
- </message>
- <wsdl:message name="echoWithArraysResponseMessage">
- <wsdl:part element="qman:echoWithArraysResponse" name="echoWithArraysResponse"/>
- </wsdl:message>
- <message name="echoWithSimpleTypeArraysRequestMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypeArraysRequest" name="echoWithSimpleTypeArraysRequest"/>
- </message>
- <wsdl:message name="echoWithSimpleTypeArraysResponseMessage">
- <wsdl:part
- element="qman:echoWithSimpleTypeArraysResponse" name="echoWithSimpleTypeArraysResponse"/>
- </wsdl:message>
- <message name="echoWithByteArrayRequestMessage">
- <wsdl:part
- element="qman:echoWithByteArrayRequest" name="echoWithByteArrayRequest"/>
- </message>
- <wsdl:message name="echoWithByteArrayResponseMessage">
- <wsdl:part
- element="qman:echoWithByteArrayResponse" name="echoWithByteArrayResponse"/>
- </wsdl:message>
- <message name="voidWithoutArgumentsRequestMessage">
- <wsdl:part
- element="qman:voidWithoutArgumentsRequest" name="voidWithoutArgumentsRequest"/>
- </message>
- <wsdl:message name="voidWithoutArgumentsResponseMessage">
- <wsdl:part
- element="qman:voidWithoutArgumentsResponse" name="voidWithoutArgumentsResponse"/>
- </wsdl:message>
- <message name="throwsExceptionRequestMessage">
- <wsdl:part element="qman:throwsExceptionRequest" name="throwsExceptionRequest"/>
- </message>
- <wsdl:message name="throwsExceptionResponseMessage">
- <wsdl:part
- element="qman:throwsExceptionResponse" name="throwsExceptionResponse"/>
- </wsdl:message>
- <message name="echoWithUUIDRequestMessage">
- <wsdl:part element="qman:echoWithUUIDRequest" name="echoWithUUIDRequest"/>
- </message>
- <wsdl:message name="echoWithUUIDResponseMessage">
- <wsdl:part element="qman:echoWithUUIDResponse" name="echoWithUUIDResponse"/>
- </wsdl:message>
- <message name="echoWithMapRequestMessage">
- <wsdl:part element="qman:echoWithMapRequest" name="echoWithMapRequest"/>
- </message>
- <wsdl:message name="echoWithMapResponseMessage">
- <wsdl:part element="qman:echoWithMapResponse" name="echoWithMapResponse"/>
- </wsdl:message>
- </wsdl:definitions>
- </wsx:MetadataSection>
- </wsx:Metadata>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:103f564f-7008-8456-042f-095a092444f9</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MgmtPubInterval</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:b78625a8-af2f-b542-8001-d7e81d3de1c9</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:103f564f-7008-8456-042f-095a092444f9</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:MgmtPubInterval xmlns:qman="http://amqp.apache.org/qpid/management/qman">32767</qman:MgmtPubInterval>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0b80a9ca-9e02-1d6b-c0e0-8ceb8560ee6e</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:SetResourceProperties xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-rp:Update>
- <qman:MgmtPubInterval xmlns:qman="http://amqp.apache.org/qpid/management/qman">12</qman:MgmtPubInterval>
- </wsrf-rp:Update>
- </wsrf-rp:SetResourceProperties>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:ae67ff51-e1c1-f2c3-5243-d54905f3907b</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0b80a9ca-9e02-1d6b-c0e0-8ceb8560ee6e</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:SetResourcePropertiesResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0dca61e4-072f-3091-0f38-9a967f14666a</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:MgmtPubInterval</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:84399474-c5b1-8738-f410-fd86face1599</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0dca61e4-072f-3091-0f38-9a967f14666a</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:MgmtPubInterval xmlns:qman="http://amqp.apache.org/qpid/management/qman">12</qman:MgmtPubInterval>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-----------------------------------------------------------------------------------
-Resource has been correctly updated.
-----------------------------------------------------------------------------------
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:8be37e48-b3a5-0e4a-aea3-eda3aad58418</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Type</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:b92c8851-d071-204f-6506-3706694cf32e</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:8be37e48-b3a5-0e4a-aea3-eda3aad58418</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:7917abf6-5c85-7e25-4515-b7f60cd32c39</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:SetResourceProperties xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <wsrf-rp:Insert>
- <qman:Type xmlns:qman="http://amqp.apache.org/qpid/management/qman">This is a string.</qman:Type>
- </wsrf-rp:Insert>
- </wsrf-rp:SetResourceProperties>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/SetResourceProperties/SetResourcePropertiesResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:0b895a1f-39e5-8739-d9d7-390c5f2eb445</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:7917abf6-5c85-7e25-4515-b7f60cd32c39</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:SetResourcePropertiesResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"/>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (outgoing):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:8080/qman/services/QManWsResource</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyRequest</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:930f39a4-0114-03bd-9921-105579fb4213</wsa:MessageID>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
- </wsa:From>
- <qman-wsa:ResourceId
- xmlns:wsa="http://www.w3.org/2005/08/addressing"
- wsa:IsReferenceParameter="true" xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourceProperty
- xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2" xmlns:qman="http://amqp.apache.org/qpid/management/qman">qman:Type</wsrf-rp:GetResourceProperty>
- </soap:Body>
-</soap:Envelope>
-
-[CLIENT TRACE] SOAP envelope contents (incoming):
-
-<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Header>
- <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
- <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsrf/rpw-2/GetResourceProperty/GetResourcePropertyResponse</wsa:Action>
- <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:3d3f04ab-3171-da69-08b5-2e74927ee981</wsa:MessageID>
- <wsa:RelatesTo RelationshipType="wsa:Reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:930f39a4-0114-03bd-9921-105579fb4213</wsa:RelatesTo>
- <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
- <wsa:Address>http://localhost:8080/qman/services/QManWsResource</wsa:Address>
- <wsa:ReferenceParameters>
- <qman-wsa:ResourceId wsa:IsReferenceParameter="true"
- xmlns:qman-wsa="http://amqp.apache.org/qpid/management/qman/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing">Q-MAN: brokerID=0ef67394-e34a-4bff-b0bf-88cf359ba1a0,class=queue,name=1232966356552,objectId=894cddd3-b893-4e2f-94d2-2489f72cbdd6,package=org.apache.qpid</qman-wsa:ResourceId>
- </wsa:ReferenceParameters>
- </wsa:From>
- </soap:Header>
- <soap:Body>
- <wsrf-rp:GetResourcePropertyResponse xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2">
- <qman:Type xmlns:qman="http://amqp.apache.org/qpid/management/qman">This is a string.</qman:Type>
- </wsrf-rp:GetResourcePropertyResponse>
- </soap:Body>
-</soap:Envelope>
-
-----------------------------------------------------------------------------------
-Resource has been correctly updated.
-----------------------------------------------------------------------------------
diff --git a/java/management/client/src/example/org/apache/qpid/management/example/AbstractQManExample.java b/java/management/client/src/example/org/apache/qpid/management/example/AbstractQManExample.java deleted file mode 100644 index ffa96635a8..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/AbstractQManExample.java +++ /dev/null @@ -1,140 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import java.io.IOException;
-import java.net.URI;
-
-import org.apache.muse.ws.addressing.EndpointReference;
-
-/**
- * Common interface for all QMan related examples.
- *
- * @author Andrea Gazzarini
- */
-public abstract class AbstractQManExample
-{
- final static String LINE_SEPARATOR = System.getProperty("line.separator","\n");
- protected final static String PREFIX = "qman";
-
- /**
- * Prints out the expected command line of this sample and after that exits.
- */
- static void printUsageAndExit(String reason)
- {
- StringBuilder builder = new StringBuilder();
- builder.append("WARNING! Unable to run this sample : ")
- .append(reason)
- .append(LINE_SEPARATOR)
- .append("-------------------------------------------------------------")
- .append(LINE_SEPARATOR)
- .append("Expected command line args for this sample are :")
- .append(LINE_SEPARATOR)
- .append(LINE_SEPARATOR)
- .append("1) host : ip or host name where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("2) port : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("------------------------------------------------------------");
- System.out.println(builder);
- System.exit(1);
- }
-
- /**
- * Prints out a description of this example.
- */
- abstract void printOutExampleDescription();
-
- /**
- * Executes this example.
- * Note that this is just a template method used to avoid code duplication
- * (printOutExampleDescription() line) so in order to see how the example
- * works you should have a look at the concrete implementation of
- * executeExample(String host, int port).
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- */
- void execute(String [] arguments)
- {
- if (arguments.length != 2){
- printUsageAndExit("invalid command line was given.");
- }
-
- try
- {
- // 1) Parses command line arguments...
- String host = arguments[0];
- int port = Integer.parseInt(arguments[1]);
-
- printOutExampleDescription();
-
- waitForUserInput("Type enter to proceed...");
-
- executeExample(host, port);
-
- } catch(NumberFormatException exception)
- {
- printUsageAndExit("port number must be a number.");
- } catch(Exception exception)
- {
- System.out.println("-----------------------EXAMPLE FAILURE-----------");
- System.out.println("Not well-defined exception was detected while");
- System.out.println("running the example.");
- exception.printStackTrace(System.out);
- System.out.println("--------------------------------------------------------");
- }
- }
-
- protected void waitForUserInput(String message) throws IOException {
- System.out.println(message);
- System.in.read();
- }
-
- /**
- * Each concrete implementor must define here how the example works.
- * So, on top of that, user who wants to see how to use a specific feature
- * should have a look at the concrete implementation of this method..
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception{};
-
- /**
- * Returns the endpoint reference of the adapter service.
- *
- * @param host ip or host name where the service is running.
- * @param port the port number of the server where the service is running.
- * @return the endpoint reference of the adapter service.
- */
- EndpointReference getAdapterEndpointReference(String host, int port)
- {
- URI address = URI.create(
- "http://"+
- host+
- ":"+
- port+
- "/qman/services/adapter");
- return new EndpointReference(address);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/ConnectWithBrokerExample.java b/java/management/client/src/example/org/apache/qpid/management/example/ConnectWithBrokerExample.java deleted file mode 100644 index 153f0f66d5..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/ConnectWithBrokerExample.java +++ /dev/null @@ -1,240 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-
-/**
- * This example shows how to connect QMan with a broker using the adapter interface.
- * As you can see the interface is very simple and requests you the following parameters :
- *
- * <ul>
- * <li>hostname : the host (hostname or ip) where the broker is running;</li>
- * <li>port : the port number of the running broker;</li>
- * <li>virtual host : the name of the virtual host;</li>
- * <li>username : the username that will be used for estabilshing connection.</li>
- * <li>password : the password that will be used for estabilshing connection.</li>
- * <li>initial pool capacity : the initial size of broker connection pool. </li>
- * <li>maximum pool capacity : the max allowed size of broker connection pool.</li>
- * <li>maximum wait timeout : the max wait timeout for retrieving connections.</li>
- * </ul>
- *
- * @author Andrea Gazzarini
- */
-public class ConnectWithBrokerExample extends AbstractQManExample
-{
-
- /**
- * Executes the connect example.
- * Although not specified explicitly, the input array MUST contains in the following order :
- *
- * <ul>
- * <li>host : the hostname where QMan is running;</li>
- * <li>port : the port number where QMan is running;</li>
- * <li>qpid host : the host name where QPid is running;</li>
- * <li>qpid port : the port number where Qpid is running;</li>
- * <li>virtual host : the virtual host name;</li>
- * <li>username : the username that will be used for estabilshing connection.</li>
- * <li>password : the password that will be used for estabilshing connection.</li>
- * <li>initial pool capacity : the initial size of broker connection pool. </li>
- * <li>maximum pool capacity : the max allowed size of broker connection pool.</li>
- * <li>maximum wait timeout : the max wait timeout for retrieving connections.</li>
- * </ul>
- *
- * Note that this example differs from the others (and therefore is overriding the execute() method) because
- * in this case we are not using the "standard" WSRF interface but instead an additional custom
- * "operation" on a WS-Resource.
- *
- * @param arguments the commadn line arguments.
- */
- void execute(String [] arguments)
- {
- if (arguments.length != 10){
- printUsageAndExit("invalid command line was given.");
- }
-
- try
- {
- // 1) Parses command line arguments...
- String host = arguments[0];
- int port = Integer.parseInt(arguments[1]);
- String qpidHost = arguments[2];
- int qpidPort = Integer.parseInt(arguments[3]);
- String virtualHost = arguments[4];
- String username = arguments[5];
- String password = arguments[6];
- int initPoolCapacity = Integer.parseInt(arguments[7]);
- int maxPoolCapacity = Integer.parseInt(arguments[8]);
- long maxWaitTimeout = Long.parseLong(arguments[9]);
-
- printOutExampleDescription();
-
- waitForUserInput("Type enter to proceed...");
-
- executeExample(
- host,
- port,
- qpidHost,
- qpidPort,
- virtualHost,
- username,
- password,
- initPoolCapacity,
- maxPoolCapacity,
- maxWaitTimeout);
-
- } catch(NumberFormatException exception)
- {
- printUsageAndExit("Unable to run the example. Please ensure that all numeric values are correctly supplied.");
- } catch(Exception exception)
- {
- System.out.println("-----------------------EXAMPLE FAILURE-----------");
- System.out.println("Not well-defined exception was detected while");
- System.out.println("running the example.");
- exception.printStackTrace(System.out);
- System.out.println("--------------------------------------------------------");
- }
- }
-
- /**
- * Connects QMan with a broker.
- *
- *@param host the hostname where QMan is running;
- *@param port the port number where QMan is running;
- *@param qpidHost the host name where QPid is running;
- *@param qpidPort the port number where Qpid is running;
- *@param virtualHost the virtual host name;
- *@param username the username that will be used for estabilshing connection.
- *@param password the password that will be used for estabilshing connection.
- *@param initPoolCapacity the initial size of broker connection pool.
- *@param maxPoolCapacity the max allowed size of broker connection pool.
- *@param maxWaitTimeout the max wait timeout for retrieving connections.
- *
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port, String qpidHost, int qpidPort, String virtualHost, String username, String password, int initPoolCapacity, int maxPoolCapacity, long maxWaitTimeout) throws Exception
- {
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
- WsResourceClient adapterClient = new WsResourceClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 2) Creates the Adapter service client...
- adapterClient.invoke(
- getProxyHandler(),
- new Object[]{
- qpidHost,
- qpidPort,
- username,
- password,
- virtualHost,
- initPoolCapacity,
- maxPoolCapacity,
- maxWaitTimeout});
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows how to connect QMan with a broker using");
- System.out.println("the adapter interface.");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler getProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://amqp.apache.org/qpid/management/qman/Connect");
- handler.setRequestName(new QName("http://amqp.apache.org/qpid/management/qman", "Connect", PREFIX));
- handler.setRequestParameterNames(new QName[]{
- new QName("http://amqp.apache.org/qpid/management/qman", "host", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "port", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "username", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "password", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "virtualHost", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "initialPoolCapacity", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "maxPoolCapacity", PREFIX),
- new QName("http://amqp.apache.org/qpid/management/qman", "maxWaitTimeout", PREFIX)});
- handler.setResponseName(new QName("http://amqp.apache.org/qpid/management/qman", "ConnectResponse", PREFIX));
- handler.setReturnType(null);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new ConnectWithBrokerExample().execute(arguments);
- }
-
- static void printUsageAndExit(String reason)
- {
- StringBuilder builder = new StringBuilder();
- builder.append("WARNING! Unable to run this sample : ")
- .append(reason)
- .append(LINE_SEPARATOR)
- .append("-------------------------------------------------------------")
- .append(LINE_SEPARATOR)
- .append("Expected command line args for this sample are :")
- .append(LINE_SEPARATOR)
- .append(LINE_SEPARATOR)
- .append("1) host : ip or host name where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("2) port : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("3) qpid host : port number where Qpid is running.")
- .append(LINE_SEPARATOR)
- .append("4) qpid port : port number where Qpid is running.")
- .append(LINE_SEPARATOR)
- .append("5) virtual host : virtual host name.")
- .append(LINE_SEPARATOR)
- .append("6) username : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("7) password : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("8) initial pool capacity : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("9) max pool capacity : port number where QMan is running.")
- .append(LINE_SEPARATOR)
- .append("10) max wait timeout : port number where QMan is running.")
- .append(LINE_SEPARATOR)
-
- .append("------------------------------------------------------------");
- System.out.println(builder);
- System.exit(1);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/ConsumerAndProducerExample.java b/java/management/client/src/example/org/apache/qpid/management/example/ConsumerAndProducerExample.java deleted file mode 100644 index 42587d78ff..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/ConsumerAndProducerExample.java +++ /dev/null @@ -1,293 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import java.net.URI;
-import java.util.Date;
-
-import org.apache.muse.util.xml.XPathUtils;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.addressing.soap.SoapFault;
-import org.apache.muse.ws.notification.impl.FilterCollection;
-import org.apache.muse.ws.notification.impl.MessagePatternFilter;
-import org.apache.muse.ws.notification.impl.ProducerPropertiesFilter;
-import org.apache.muse.ws.notification.impl.TopicFilter;
-import org.apache.muse.ws.notification.remote.NotificationProducerClient;
-import org.apache.qpid.management.Names;
-
-/**
- * This example is demonstrating a WS-Notification scenario
- * when (for simplicity) QMan is at the same time consumer
- * and producer.
- *
- * Basically we have (on producer side) two topics : one for
- * lifecycle events of object instance (objects created & removed)
- * and another one for lifecycle of event (events created).
- *
- * On consumer side there are many options that you can use in
- * order to made a sunscription :
- *
- * <ul>
- * <li>you could be an observer of all messages (all topics);</li>
- * <li>you could be an observer of one specific topic;</li>
- * <li>
- * you could be an observer of all messages that match
- * a condition expressed in XPath;
- * </li>
- * </ul>
- *
- * All those options are provided with or withour a termination time.
- * A subscription with a termination time will have a predefined expiry
- * date while if there's no termination the subscription will never expire.
- *
- * @author Andrea Gazzarini
- *
- */
-public class ConsumerAndProducerExample extends AbstractQManExample
-{
- @Override
- void executeExample(String host, int port) throws Exception
- {
- // This is QMan...
- URI producerURI = URI.create("http://"+host+":"+port+"/qman/services/adapter");
-
- // ...and this is QMan too! Note that it has an hidden consumer capability that is used in
- // order to run successfully this example...
- URI consumerURI = URI.create("http://"+host+":"+port+"/qman/services/consumer");
-
- EndpointReference producerEPR = new EndpointReference(producerURI);
- EndpointReference consumerEPR = new EndpointReference(consumerURI);
-
- // Example 1 : all messages on all topics without termination time.
- subscribeAllMessagesWithoutTerminationTime(producerEPR,consumerEPR);
-
- // Example 2 : all messages on all topics with termination time.
- subscribeAllMessagesWithTerminationTime(producerEPR,consumerEPR);
-
- // Example 3: Topic filter without termination time.
- topicSubscriptionWithoutTerminationTime(producerEPR,consumerEPR);
-
- // Example 4: Topic filter with termination time.
- topicSubscriptionWithTerminationTime(producerEPR,consumerEPR);
-
- // Example 5: a MessageFilter is installed in order to listen only for connection events
- // (connections created or removed). The subscription never expire.
- allMessagesWithMessageFilterWithoutTerminationTime(producerEPR,consumerEPR);
-
- // Example 6: a MessageFilter is installed in order to listen only for connection events
- // (connections created or removed). The subscription will expire in 10 seconds.
- allMessagesWithMessageFilterAndTerminationTime(producerEPR,consumerEPR);
-
- // Example 7 : a subscription with more than one filter.
- complexSubscription(producerEPR, consumerEPR);
- }
-
- /**
- * Makes a subscription on all topics / all messages without an expiry date.
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void subscribeAllMessagesWithoutTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- null, // Filter, if null that means "all messages"
- null); // Termination Time : if null the subscription will never expire.
- }
-
- /**
- * Makes a subscription on all topics / all messages with 10 seconds as termination time.
- * The subscription will expire after 10 seconds.
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void subscribeAllMessagesWithTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- null, // Filter, if null that means "all messages"
- new Date(System.currentTimeMillis() + 10000)); // Termination Time
- }
-
- /**
- * Makes a subscription on a specifc topic without an expiry date.
- * Only messages published on the given topic will be delivered to the given consumer.
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void topicSubscriptionWithoutTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- TopicFilter filter = new TopicFilter(Names.EVENTS_LIFECYLE_TOPIC_NAME);
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- filter, // Topic Filter
- null); // Termination Time : if null the subscription will never expire.
- }
-
- /**
- * Makes a subscription on a specifc topic with an expiry date.
- * Only messages published on the given topic will be delivered to the given consumer.
- * The subscription will end after 10 seconds
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void topicSubscriptionWithTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- TopicFilter filter = new TopicFilter(Names.EVENTS_LIFECYLE_TOPIC_NAME);
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- filter, // Topic Filter
- new Date(System.currentTimeMillis() + 10000)); // Termination Time
- }
-
- /**
- * Makes a subscription on all topics with a message filter without an expiry date.
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void allMessagesWithMessageFilterWithoutTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- // Applying this filter will result in a subscription that wll be notified only when a "connection"
- // object is created or removed
- MessagePatternFilter filter= new MessagePatternFilter(
- "/wsnt:NotificationMessage/wsnt:Message/qman:LifeCycleEvent/qman:Resource/qman:Name/text()='connection'", // expression (XPath)
- XPathUtils.NAMESPACE_URI); // Dialect : the only supported dialect is XPath 1.0
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- filter, // Message Filter
- null); // Termination Time : if null the subscription will never expire.
- }
-
- /**
- * Makes a subscription on all topics with a message filter and an expiry date.
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void allMessagesWithMessageFilterAndTerminationTime(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- // Applying this filter will result in a subscription that wll be notified only when a "connection"
- // object is created or removed
- MessagePatternFilter filter= new MessagePatternFilter(
- "/wsnt:NotificationMessage/wsnt:Message/qman:LifeCycleEvent/qman:Resource/qman:Name/text()='connection'", // expression (XPath)
- XPathUtils.NAMESPACE_URI); // Dialect : the only supported dialect is XPath 1.0
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- filter, // Message Filter
- new Date(System.currentTimeMillis() + 10000)); // Termination Time
- }
-
- /**
- * Makes a subscription on a specifc topic with an expiry date.
- * Only messages published on the given topic will be delivered to the given consumer.
- * The subscription will end after 10 seconds
- *
- * @param producer the producer endpoint reference.
- * @param consumer the consumer endpoint reference .
- * @throws SoapFault when the subscription cannot be made.
- */
- private void complexSubscription(EndpointReference producer, EndpointReference consumer) throws SoapFault
- {
- NotificationProducerClient producerClient = new NotificationProducerClient(producer);
- producerClient.setTrace(true);
-
- FilterCollection filter = new FilterCollection();
-
- TopicFilter topicFilter = new TopicFilter(Names.EVENTS_LIFECYLE_TOPIC_NAME);
- MessagePatternFilter messageFilter= new MessagePatternFilter(
- "/wsnt:NotificationMessage/wsnt:Message/qman:LifeCycleEvent/qman:Resource/qman:Name/text()='connection'", // expression (XPath)
- XPathUtils.NAMESPACE_URI); // Dialect : the only supported dialect is XPath 1.0
-
- ProducerPropertiesFilter producerFilter = new ProducerPropertiesFilter(
- "boolean(/*/MgtPubInterval > 100 and /*/MsgTotalEnqueues > 56272)",
- XPathUtils.NAMESPACE_URI);
-
- filter.addFilter(topicFilter);
- filter.addFilter(messageFilter);
- filter.addFilter(producerFilter);
-
- producerClient.subscribe(
- consumer, // Consumer Endpoint reference
- filter, // Topic Filter
- new Date(System.currentTimeMillis() + 10000)); // Termination Time
- }
-
- @Override
- void printOutExampleDescription()
- {
- System.out.println("This example is demonstrating a WS-Notification scenario ");
- System.out.println("when (for simplicity) QMan is at the same time consumer ");
- System.out.println("and producer.");
- System.out.println();
- System.out.println("Basically we have (on producer side) two topics : one for");
- System.out.println("lifecycle events of object instance (objects created & removed) ");
- System.out.println("and another one for lifecycle of event (events created).");
- System.out.println();
- System.out.println("On consumer side there are many options that you can use in");
- System.out.println("order to made a sunscription :");
- System.out.println();
- System.out.println("- you could be an observer of all messages (all topics);");
- System.out.println("- you could be an observer of one specific topic;");
- System.out.println("- you could be an observer of all messages that match a condition expressed in XPath;");
- System.out.println();
- System.out.println("All those options are provided with or withour a termination time.");
- System.out.println("A subscription with a termination time will have a predefined expiry");
- System.out.println("date while if there's no termination the subscription will never expire.");
- }
-
- public static void main(String[] args)
- {
- new ConsumerAndProducerExample().execute(new String[]{"localhost","8080"});
- }
-}
diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetMultipleResourcePropertiesExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetMultipleResourcePropertiesExample.java deleted file mode 100644 index 413222a79d..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetMultipleResourcePropertiesExample.java +++ /dev/null @@ -1,179 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.util.xml.XmlUtils;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * 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 is sent to the
- * first child.
- * The result metadata descriptor contains all properties names of the target WS-Resource.
- * Those names are then used for retrieving the corresponding values.
- *
- * @author Andrea Gazzarini
- */
-public class GetMultipleResourcePropertiesExample extends AbstractQManExample
-{
-
- /**
- * 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 is sent to the
- * first child.
- * The result metadata descriptor contains all properties names of the target WS-Resource.
- * Those names are then used for retrieving the corresponding values.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
-
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) Creates a proxy handler for service invocation.
- ProxyHandler metadataProxyHandler = createProxyHandler();
-
- // 5) ..and invokes the GetMetadata on the first member.
- WsResourceClient wsResourceClient = resources[0];
- wsResourceClient.setTrace(true);
-
- // Dialect is RDM for this example
- String dialect = "http://docs.oasis-open.org/wsrf/rmd-1";
- Object [] inputParameters = {dialect};
-
- // RDM is the first element of the returned array.
- // The first element is a wsx:Metadata containing all resource properties.
- Element [] metadata = (Element[]) wsResourceClient.invoke(metadataProxyHandler, inputParameters);
- Element resourceMetadataDescriptor = metadata[0];
-
- // 6) using XPath navigates xml in order to get the list of all properties.
- Element [] properties = XmlUtils.findInSubTree(
- resourceMetadataDescriptor,
- new QName("http://docs.oasis-open.org/wsrf/rmd-1","Property","wsrmd"));
- List<QName> names = new ArrayList<QName>();
-
- for (Element property : properties)
- {
-
- String attributeName = property.getAttribute("name"); // = qman:<Attribute Name>
-
- // For this example we are only interested on qman namespace related properties...
- if (attributeName.startsWith("qman"))
- {
- String attributeNameWithoutPrefix = attributeName.replaceFirst("qman:", ""); // = <Attribute Name>
-
- names.add(new QName(
- "http://amqp.apache.org/qpid/management/qman",
- attributeNameWithoutPrefix,
- "qman"));
- }
- }
-
- QName [] qnames = names.toArray(new QName[names.size()]);
-
- // 7) Send a GetMultipleResourcePropertiesRequest.
- // We do nothing with the returned value(s) because it / they
- // has / have already printed out (wsResourceClient.setTrace(true))
- @SuppressWarnings("unused")
- Element [] values = wsResourceClient.getMultipleResourceProperties(qnames);
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows how to get properties from a");
- System.out.println("WS-Resource using one request. ");
- System.out.println("First of all a request is send to WS-DM in order to get");
- System.out.println("all registered WS-Resources.");
- System.out.println("If the returned list is not empty then a GetMetadataRequest");
- System.out.println("to the first child.");
- System.out.println("The result metadata descriptor contains all property names of");
- System.out.println("the target WS-Resource.");
- System.out.println("Those names are then used for retrieving the corresponding values");
- System.out.println("using the GetMultipleResourceProperties request.");
- System.out.println();
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler createProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata");
- handler.setRequestName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "GetMetadata", PREFIX));
- handler.setRequestParameterNames(new QName[]{new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Dialect", PREFIX)});
- handler.setResponseName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Metadata", PREFIX));
- handler.setReturnType(Element[].class);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new GetMultipleResourcePropertiesExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetQManResourceMembersExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetQManResourceMembersExample.java deleted file mode 100644 index f74a44ab57..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetQManResourceMembersExample.java +++ /dev/null @@ -1,93 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-
-/**
- * An example demonstrating the usage of GetResourcePropertyRequest/Response on
- * the WS-DM Adapter.
- *
- * @author Andrea Gazzarini
- */
-public class GetQManResourceMembersExample extends AbstractQManExample
-{
- /**
- * Looks for memebers of QMan group requesting ws-rp:Entry property to
- * WS-DM Adapter resource service.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference serviceEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(serviceEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Invokes the service.
- WsResourceClient [] resources = adapterClient.getMembers();
-
- String result = (resources.length != 0)
- ? ("QMan has at the moment "+resources.length+" registered resources.")
- : "It seems that there are no managed resource on QMan side...";
-
- System.out.println("--------------------------------------------------------------------------");
- System.out.println(result);
- System.out.println("--------------------------------------------------------------------------");
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows the usage of WS-DM ");
- System.out.println("GetResourcePropertyRequest / Response on a ");
- System.out.println("Group service.");
- System.out.println("The target resource is the WS-DM Adapter itself ");
- System.out.println("and the requested property is \"wsrf-sg:Entry\".");
- System.out.println("WS-DM Adapter is a special WS-Resource (is a Group)");
- System.out.println("that acts as the main entry point for retrieving");
- System.out.println("all other managed resources.");
- System.out.println("So clients that want to deal with QMan WS-Resources");
- System.out.println("must first get resource identifiers sending");
- System.out.println("a GetResourcePropertyRequest to WS-DM Adapter ");
- System.out.println("with \"wsrf-sg:Entry\" as target target property.");
- System.out.println();
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- public static void main(String[] arguments)
- {
- new GetQManResourceMembersExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetResourceMetadataDescriptorExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetResourceMetadataDescriptorExample.java deleted file mode 100644 index 84befc01e4..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetResourceMetadataDescriptorExample.java +++ /dev/null @@ -1,156 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * This example shows how to get metadata from a WS-Resource.
- * The service supports different kinds of metadata.
- * User who wants to receive metadata of a WS-Resource must
- * send a GetMetadataRequesta specifying the requested dialect.
- *
- * Supported metadata that could be requested are
- *
- * <ul>
- * <li>
- * WSDL : requested using "http://schemas.xmlsoap.org/wsdl/" as dialect..
- * <li>
- * <li>
- * RDM (Resource Metadata Descriptor) : requested using "http://docs.oasis-open.org/wsrf/rmd-1 "as dialect.
- * </li>
- * </ul>
- *
- * Note that this example focuses on RDM Metadata only; another example is dedicated to WSDL.
- *
- * @author Andrea Gazzarini
- */
-public class GetResourceMetadataDescriptorExample extends AbstractQManExample
-{
-
- /**
- * First, sends a request to WS-DM Adapter in order to get the list of managed resources.
- * If the list is not empty, then takes the first member and sends it a GetMetadataRequest
- * in order to get its RDM.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
-
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) Creates a proxy handler for service invocation.
- ProxyHandler metadataProxyHandler = createProxyHandler();
-
- // 5) ..and invokes the GetMetadata on the first member.
- WsResourceClient firstMember = resources[0];
- firstMember.setTrace(true);
-
- // Dialect is RDM for this example
- String dialect = "http://docs.oasis-open.org/wsrf/rmd-1";
- Object [] inputParameters = {dialect};
-
- // WSDL is the first element of the returned array. We don't need to print out it here
- // because at this point it should have been already printed out (line 96 : firstMember.setTrace(true))
- @SuppressWarnings("unused")
- Element [] metadata = (Element[]) firstMember.invoke(metadataProxyHandler, inputParameters);
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("The example shows how to get metadata from a");
- System.out.println("WS-Resource.");
- System.out.println("A QMan WS-Resource has different kinds of metadata.");
- System.out.println("(see below)");
- System.out.println("User who wants to receive metadata of a WS-Resource");
- System.out.println("must send a GetMetadataRequesta specifying the");
- System.out.println("associated dialect.");
- System.out.println("Supported metadata that could be requested are : ");
- System.out.println();
- System.out.println("- WSDL : in this case dialect is \"http://schemas.xmlsoap.org/wsdl/\";");
- System.out.println("- RDM (Resource Metadata Descriptor) : in this case dialect is \"http://docs.oasis-open.org/wsrf/rmd-1 \".");
- System.out.println();
- System.out.println("Note that this examples focuses on RDM Metadata only;");
- System.out.println("another one is dedicated to WSDL.");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler createProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata");
- handler.setRequestName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "GetMetadata", PREFIX));
- handler.setRequestParameterNames(new QName[]{new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Dialect", PREFIX)});
- handler.setResponseName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Metadata", PREFIX));
- handler.setReturnType(Element[].class);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new GetResourceMetadataDescriptorExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyDocumentExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyDocumentExample.java deleted file mode 100644 index 56ce81358d..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyDocumentExample.java +++ /dev/null @@ -1,111 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * This example shows how to get the whole property document from a WS-Resource.
- * Resource property document represents a particular composed structural view of
- * the resource properties of the WS-Resource.
- * Let's say that It is a way to get all-in-once the state of the WS-Resource.
- *
- * 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 GetResourcePropertyDocumentRequest is
- * sent to the first child.
- *
- * @author Andrea Gazzarini
- */
-public class GetResourcePropertyDocumentExample extends AbstractQManExample
-{
-
- /**
- * 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 GetResourcePropertyDocumentRequest is
- * sent to the first child.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
-
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) ..and invokes the GetMetadata on the first member.
- WsResourceClient wsResourceClient = resources[0];
- wsResourceClient.setTrace(true);
-
- @SuppressWarnings("unused")
- Element resourcePropertyDocument = wsResourceClient.getResourcePropertyDocument();
- }
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows how to get the whole property");
- System.out.println("document from a WS-Resource.");
- System.out.println("Resource property document represents a particular ");
- System.out.println("composed structural view of the resource properties");
- System.out.println("of the WS-Resource.");
- System.out.println("First of all a request is send to WS-DM in order to get");
- System.out.println("all registered WS-Resources.");
- System.out.println("the target WS-Resource.");
- System.out.println("If the returned list is not empty then a");
- System.out.println("GetResourcePropertyDocumentRequest is sent to the first child.");
- System.out.println();
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- public static void main(String[] arguments)
- {
- new GetResourcePropertyDocumentExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyExample.java deleted file mode 100644 index 28ed1c7925..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetResourcePropertyExample.java +++ /dev/null @@ -1,172 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.util.xml.XmlUtils;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * This example shows how to get the property value from a WS-Resource.
- * 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 is sent to the
- * first child.
- * The result metadata descriptor contains all properties of the target WS-Resource.
- * For each of them a GetResourcePropertyRequest is sent in order to get its value.
- *
- * @author Andrea Gazzarini
- */
-public class GetResourcePropertyExample extends AbstractQManExample
-{
-
- /**
- * First, sends a request to WS-DM Adapter in order to get the list of managed resources.
- * If the list is not empty, then takes the first member and sends it a GetMetadataRequest
- * in order to get its WSDL.
- * After that, for each property contained in ResourceMetadataDescriptorm (RDM) a
- * GetResourcePropertyRequest is sent in order to get its value.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
-
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) Creates a proxy handler for service invocation.
- ProxyHandler metadataProxyHandler = createProxyHandler();
-
- // 5) ..and invokes the GetMetadata on the first member.
- WsResourceClient wsResourceClient = resources[0];
- wsResourceClient.setTrace(true);
-
- // Dialect is RDM for this example
- String dialect = "http://docs.oasis-open.org/wsrf/rmd-1";
- Object [] inputParameters = {dialect};
-
- // RDM is the first element of the returned array.
- // The first element is a wsx:Metadata containing all resource properties.
- Element [] metadata = (Element[]) wsResourceClient.invoke(metadataProxyHandler, inputParameters);
- Element resourceMetadataDescriptor = metadata[0];
-
- // 6) using XPath navigates xml in order to get the list of all properties.
- Element [] properties = XmlUtils.findInSubTree(
- resourceMetadataDescriptor,
- new QName("http://docs.oasis-open.org/wsrf/rmd-1","Property","wsrmd"));
-
- for (Element property : properties)
- {
-
- String attributeName = property.getAttribute("name"); // = qman:<Attribute Name>
-
- // For this example we are only interested on qman namespace related properties...
- if (attributeName.startsWith("qman"))
- {
- String attributeNameWithoutPrefix = attributeName.replaceFirst("qman:", ""); // = <Attribute Name>
-
- // 7) Send a GetResourcePropertyRequest for the given attribute.
- // We do nothing with the returned value(s) because it / they
- // has / have already printed out (wsResourceClient.setTrace(true))
- @SuppressWarnings("unused")
- Element [] values = wsResourceClient.getResourceProperty(
- new QName(
- "http://amqp.apache.org/qpid/management/qman",
- attributeNameWithoutPrefix,
- "qman"));
- }
- }
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows how to get the property value");
- System.out.println("from a WS-Resource.");
- System.out.println("First of all a request is send to WS-DM in order to get");
- System.out.println("all registered WS-Resources.");
- System.out.println("If the returned list is not empty then a GetMetadataRequest");
- System.out.println("to the first child.");
- System.out.println("The result metadata descriptor contains all properties of");
- System.out.println("the target WS-Resource.");
- System.out.println("For each of them a GetResourcePropertyRequest is sent");
- System.out.println(" in order to get its value.");
- System.out.println();
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler createProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata");
- handler.setRequestName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "GetMetadata", PREFIX));
- handler.setRequestParameterNames(new QName[]{new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Dialect", PREFIX)});
- handler.setResponseName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Metadata", PREFIX));
- handler.setReturnType(Element[].class);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new GetResourcePropertyExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/GetWSDLMetadataExample.java b/java/management/client/src/example/org/apache/qpid/management/example/GetWSDLMetadataExample.java deleted file mode 100644 index ecda6e8fb1..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/GetWSDLMetadataExample.java +++ /dev/null @@ -1,156 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * This example shows how to get metadata from a WS-Resource.
- * The service supports different kinds of metadata.
- * User who wants to receive metadata of a WS-Resource must
- * send a GetMetadataRequesta specifying the requested dialect.
- *
- * Supported metadata that could be requested are
- *
- * <ul>
- * <li>
- * WSDL : requested using "http://schemas.xmlsoap.org/wsdl/" as dialect..
- * <li>
- * <li>
- * RDM (Resource Metadata Descriptor) : requested using "http://docs.oasis-open.org/wsrf/rmd-1 "as dialect.
- * </li>
- * </ul>
- *
- * Note that this example focuses on WSDL Metadata only; another example is dedicated to RDM.
- *
- * @author Andrea Gazzarini
- */
-public class GetWSDLMetadataExample extends AbstractQManExample
-{
-
- /**
- * First, sends a request to WS-DM Adapter in order to get the list of managed resources.
- * If the list is not empty, then takes the first member and sends it a GetMetadataRequest
- * in order to get its WSDL.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
-
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(true);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) Creates a proxy handler for service invocation.
- ProxyHandler metadataProxyHandler = createProxyHandler();
-
- // 5) ..and invokes the GetMetadata on the first member.
- WsResourceClient firstMember = resources[0];
- firstMember.setTrace(true);
-
- // Dialect is WSDL for this example
- String dialect = "http://schemas.xmlsoap.org/wsdl/";
- Object [] inputParameters = {dialect};
-
- // WSDL is the first element of the returned array. We don't need to print out it here
- // because at this point it should have been already printed out (line 96 : firstMember.setTrace(true))
- @SuppressWarnings("unused")
- Element [] metadata = (Element[]) firstMember.invoke(metadataProxyHandler, inputParameters);
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("The example shows how to get metadata from a");
- System.out.println("WS-Resource.");
- System.out.println("A QMan WS-Resource has different kinds of metadata.");
- System.out.println("(see below)");
- System.out.println("User who wants to receive metadata of a WS-Resource");
- System.out.println("must send a GetMetadataRequesta specifying the");
- System.out.println("associated dialect.");
- System.out.println("Supported metadata that could be requested are : ");
- System.out.println();
- System.out.println("- WSDL : in this case dialect is \"http://schemas.xmlsoap.org/wsdl/\";");
- System.out.println("- RDM (Resource Metadata Descriptor) : in this case dialect is \"http://docs.oasis-open.org/wsrf/rmd-1 \".");
- System.out.println();
- System.out.println("Note that this examples focuses on WSDL Metadata only;");
- System.out.println("another one is dedicated to RDM.");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler createProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata");
- handler.setRequestName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "GetMetadata", PREFIX));
- handler.setRequestParameterNames(new QName[]{new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Dialect", PREFIX)});
- handler.setResponseName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Metadata", PREFIX));
- handler.setReturnType(Element[].class);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new GetWSDLMetadataExample().execute(arguments);
- }
-}
\ No newline at end of file diff --git a/java/management/client/src/example/org/apache/qpid/management/example/PausableSubscriptionExample.java b/java/management/client/src/example/org/apache/qpid/management/example/PausableSubscriptionExample.java deleted file mode 100644 index 01a27a16f9..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/PausableSubscriptionExample.java +++ /dev/null @@ -1,88 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import java.net.URI;
-
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.notification.remote.NotificationProducerClient;
-import org.apache.muse.ws.notification.remote.SubscriptionClient;
-
-/**
- * This example is demonstrating a WS-Notification scenario
- * when (for simplicity) QMan is at the same time consumer
- * and producer.
- *
- * Specifically the example shows how a requestor can create, pause and resume
- * a subscription.
- *
- * @author Andrea Gazzarini
- *
- */
-public class PausableSubscriptionExample extends AbstractQManExample
-{
- @Override
- void executeExample(String host, int port) throws Exception
- {
- // This is QMan...
- URI producerURI = URI.create("http://"+host+":"+port+"/qman/services/adapter");
-
- // ...and this is QMan too! Note that it has an hidden consumer capability that is used in
- // order to run successfully this example...
- URI consumerURI = URI.create("http://"+host+":"+port+"/qman/services/consumer");
-
- EndpointReference producerEPR = new EndpointReference(producerURI);
- EndpointReference consumerEPR = new EndpointReference(consumerURI);
-
- NotificationProducerClient producerClient = new NotificationProducerClient(producerEPR);
- producerClient.setTrace(true);
-
- // 1) Creates a subscription and gets the corresponding reference.
- SubscriptionClient subscriptionClient = producerClient.subscribe(
- consumerEPR, // Consumer Endpoint reference
- null, // Filter, if null that means "all messages"
- null); // Termination Time : if null the subscription will never expire.
- subscriptionClient.setTrace(true);
-
-
- // 2) Pauses the subscription.
- subscriptionClient.pauseSubscription();
-
- // 3) Resumes the subscription.
- subscriptionClient.resumeSubscription();
- }
-
- @Override
- void printOutExampleDescription()
- {
- System.out.println("This example is demonstrating a WS-Notification scenario ");
- System.out.println("when (for simplicity) QMan is at the same time consumer ");
- System.out.println("and producer.");
- System.out.println();
- System.out.println("Specifically the example shows how a requestor can create,");
- System.out.println("pause and resume a subscription.");
- }
-
- public static void main(String[] args)
- {
- new PausableSubscriptionExample().execute(new String[]{"romagazzarini","8080"});
- }
-}
diff --git a/java/management/client/src/example/org/apache/qpid/management/example/SetResourcePropertyExample.java b/java/management/client/src/example/org/apache/qpid/management/example/SetResourcePropertyExample.java deleted file mode 100644 index 8aed3101ff..0000000000 --- a/java/management/client/src/example/org/apache/qpid/management/example/SetResourcePropertyExample.java +++ /dev/null @@ -1,306 +0,0 @@ -/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.qpid.management.example;
-
-import java.lang.reflect.Array;
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-
-import org.apache.muse.core.proxy.ProxyHandler;
-import org.apache.muse.core.proxy.ReflectionProxyHandler;
-import org.apache.muse.util.xml.XmlUtils;
-import org.apache.muse.ws.addressing.EndpointReference;
-import org.apache.muse.ws.resource.remote.WsResourceClient;
-import org.apache.muse.ws.resource.sg.remote.ServiceGroupClient;
-import org.w3c.dom.Element;
-
-/**
- * This example shows how to change the state of a WS-Resource. That means
- * a SetResourcePropertyRequest is sent to that WS-Resource.
- * 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 two GetMetadataRequests are sent to the
- * first child (one for WSDL and one for RDM).
- * The result metadata descriptors are the used to determine :
- *
- * <br> What are names of WS-Resouce properties
- * <br> Their modifiability (read-only or read-write)
- * <br> Their type
- *
- * So a SetResourcePropertyRequest can be sent in order to change the WS-Resource state.
- * The example is looking for a property that has one of the following datatype :
- *
- * <ul>
- * <li>String</li>
- * <li>Long</li>
- * <li>Integer</li>
- * <li>Short</li>
- * <li>Double</li>
- * <li>Float</li>
- * </ul>
- *
- * After the update / insert request has been sent, a GetResourcePropertiesRequest is made
- * again in order to see if the state has changed correctly.
- *
- * @author Andrea Gazzarini
- */
-public class SetResourcePropertyExample extends AbstractQManExample
-{
- /**
- * 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 two GetMetadataRequests are sent to the
- * first child (one for WSDL and one for RDM).
- * The result metadata descriptors are the used to determine :
- *
- * <br> What are names of WS-Resouce properties
- * <br> Their modifiability (read-only or read-write)
- * <br> Their type
- *
- * So a SetResourcePropertyRequest can be sent in order to change the WS-Resource state.
- * The example is looking for a property that has one of the following datatype :
- *
- * <ul>
- * <li>String</li>
- * <li>Long</li>
- * <li>Integer</li>
- * <li>Short</li>
- * <li>Double</li>
- * <li>Float</li>
- * </ul>
- *
- * After the update / insert request has been sent, a GetResourcePropertiesRequest is made
- * again in order to see if the state has changed correctly.
- *
- * @param host the host where QMan is running.
- * @param port the port where QMan is running.
- * @throws Exception when the example fails (not at application level).
- */
- void executeExample(String host, int port) throws Exception
- {
- // 1) Creates an endpoint reference of the adapter service...
- EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
-
- // 2) Creates the Adapter service client...
- ServiceGroupClient adapterClient = new ServiceGroupClient(adapterEndpointReference);
- adapterClient.setTrace(false);
-
- // 3) Retrieves the all registered members (QMan WS-Resources)
- WsResourceClient [] resources = adapterClient.getMembers();
-
- // Sanity check : we cannot proceed if there are no WS-Resources.
- if (resources.length == 0)
- {
- System.out.println("----------------------------WARNING---------------------------");
- System.out.println("Cannot proceed with the example... it seems");
- System.out.println("that there are no managed WS-Resources on QMan.");
- System.out.println("Please check QMan in order to see that it is really");
- System.out.println("connected with a broker.");
- System.out.println("-------------------------------------------------------------------");
- System.exit(0);
- }
-
- // 4) Creates a proxy handler for service invocation.
- ProxyHandler metadataProxyHandler = createProxyHandler();
-
- // 5) ..and invokes the GetMetadata on the first member.
- WsResourceClient wsResourceClient = resources[0];
- wsResourceClient.setTrace(true);
-
- // Resource Metadata Descriptor
- String dialect = "http://docs.oasis-open.org/wsrf/rmd-1";
- Object [] inputParameters = {dialect};
-
- // RDM is the first element of the returned array.
- // The first element is a wsx:Metadata containing all resource properties.
- Element [] metadata = (Element[]) wsResourceClient.invoke(metadataProxyHandler, inputParameters);
- Element resourceMetadataDescriptor = metadata[0];
-
- // 6) Now we need WSDL in order to catch datatypes
- dialect = "http://schemas.xmlsoap.org/wsdl/";
- inputParameters = new Object[]{dialect};
- metadata = (Element[]) wsResourceClient.invoke(metadataProxyHandler, inputParameters);
- Element wsdl = metadata[0];
-
- //7) Defines sample values used for update property.
- Map<String, Object> sampleValues = new HashMap<String, Object>();
- sampleValues.put("xsd:string","This is a string.");
- sampleValues.put("xsd:integer",new Integer(12345));
- sampleValues.put("xsd:int",new Integer(54321));
- sampleValues.put("xsd:long",new Integer(12345));
- sampleValues.put("xsd:double",new Double(12345.6d));
- sampleValues.put("xsd:float",new Float(123.4f));
- sampleValues.put("xsd:short",new Short((short)12));
-
- // 8) using XPath navigates xml in order to get the list of all properties.
- Element [] properties = XmlUtils.findInSubTree(
- resourceMetadataDescriptor,
- new QName("http://docs.oasis-open.org/wsrf/rmd-1","Property","wsrmd"));
-
- Element [] wsdlElements = XmlUtils.findInSubTree(
- wsdl,
- new QName("http://www.w3.org/2001/XMLSchema","element","xsd"));
-
- // Did we find at least one writable property?
- boolean atLeastOnePropertyHasBeenFound = false;
-
- for (Element property : properties)
- {
- // Sanity check : if the property is read-only then proceed with next
- // property.
- if (!"read-write".equals(property.getAttribute("modifiability")))
- {
- continue;
- }
-
- String attributeName = property.getAttribute("name"); // = qman:<Attribute Name>
-
- // For this example we are only interested on qman namespace related properties...
- if (attributeName.startsWith("qman"))
- {
- String attributeNameWithoutPrefix = attributeName.replaceFirst("qman:", ""); // = <Attribute Name>
-
- for (Element wsdlElement : wsdlElements)
- {
- String name = wsdlElement.getAttribute("name");
- String type = wsdlElement.getAttribute("type");
- if ((name != null) && (attributeNameWithoutPrefix.equals(name)) && (type != null))
- {
- Object newValue = sampleValues.get(type);
- if (newValue != null)
- {
- atLeastOnePropertyHasBeenFound = true;
-
- inputParameters = new Object[] {newValue};
-
- // 9) Makes a GetResourcePropertiesRequest in order to get the current value.
- QName propertyQName = new QName(
- "http://amqp.apache.org/qpid/management/qman",
- name,
- "qman");
-
- // The returned value is really an array because property shoudl be a multi-value property.
- // So in order to get its value we need to extract the first value.
- Object currentValue = wsResourceClient.getPropertyAsObject(propertyQName,newValue.getClass());
-
- // 10a) If the property is not set (value is null) then an "Insert" request must be sent.
- if (currentValue == null || Array.getLength(currentValue) == 0)
- {
- wsResourceClient.insertResourceProperty(propertyQName,inputParameters);
- }
- // 10b) If the property is not null then an "Update" request must be sent.
- else
- {
- wsResourceClient.updateResourceProperty(propertyQName,inputParameters);
- }
-
- // 11) Let's query again the resource using GetResourceProperties in order to ensure the
- // previous property has been properly updated.
- currentValue = wsResourceClient.getPropertyAsObject(propertyQName,newValue.getClass());
-
- String resultMessage = (newValue.equals(Array.get(currentValue, 0)))
- ? "Resource has been correctly updated."
- : "Something was wrong : resource seems not to be properly updated.";
-
- System.out.println("----------------------------------------------------------------------------------");
- System.out.println(resultMessage);
- System.out.println("----------------------------------------------------------------------------------");
-
- // Let's stop...one property is enough for this example :)
- break;
- }
- }
- }
- if (!atLeastOnePropertyHasBeenFound)
- {
- System.out.println("----------------------------------------------------------------------------------");
- System.out.println("WARNING : This example wasn't able to run because no writable ");
- System.out.println("property has been found on the target WS-Resource.");
- System.out.println("----------------------------------------------------------------------------------");
- }
- }
- }
- }
-
- /**
- * Prints out a description of this example.
- */
- void printOutExampleDescription()
- {
- System.out.println(" "+getClass().getSimpleName()+" ");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("This example shows how to change the state of a WS-Resource.");
- System.out.println("That means a SetResourcePropertyRequest is sent to that");
- System.out.println("WS-Resource.");
- System.out.println("First of all a request is send to WS-DM in order to get all");
- System.out.println("registered WS-Resources.");
- System.out.println("If the returned list is not empty then two GetMetadataRequests");
- System.out.println("(one for WSDL and one for RDM) are sent to the first child.");
- System.out.println("The result metadata descriptors are used for determine :");
- System.out.println();
- System.out.println("1) WS-Resource property names;");
- System.out.println("2) Modifiability (read-only, read-write");
- System.out.println("3) Datatype;");
- System.out.println("-------------------------------------------------------------------");
- System.out.println();
- System.out.println("So a SetResourcePropertyRequest can be sent in order");
- System.out.println("to change the WS-Resource state.");
- System.out.println("The example is looking for a property that has one of the");
- System.out.println("following datatype :");
- System.out.println();
- System.out.println("1) String (xsd:string)");
- System.out.println("2) Long (xsd:long)");
- System.out.println("3) Integer (xsd:integer or xsd:int)");
- System.out.println("4) Double (xsd:double)");
- System.out.println("5) Float (xsd:float)");
- System.out.println("6) Short (xsd:short)");
- System.out.println();
- System.out.println("After the update / insert request has been sent, a ");
- System.out.println("GetResourcePropertiesRequest is made again");
- System.out.println("in order to see if the state has changed correctly.");
- System.out.println();
- }
-
- /**
- * A proxy handler is a module needed in order to make a capability
- * service invocation.
- * It contains logic to serialize and deserialize request, response, input and
- * output parameters during a web service invocation.
- *
- * @return a proxy handler.
- */
- private ProxyHandler createProxyHandler()
- {
- ProxyHandler handler = new ReflectionProxyHandler();
- handler.setAction("http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata");
- handler.setRequestName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "GetMetadata", PREFIX));
- handler.setRequestParameterNames(new QName[]{new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Dialect", PREFIX)});
- handler.setResponseName(new QName("http://schemas.xmlsoap.org/ws/2004/09/mex", "Metadata", PREFIX));
- handler.setReturnType(Element[].class);
- return handler;
- }
-
- public static void main(String[] arguments)
- {
- new SetResourcePropertyExample().execute(arguments);
- }
-}
\ No newline at end of file |