|
Hi, It looks like your requests are not
perfect. Attached please find the requests and responses for Caption and
Description properties send to the Host resource. I am assuming that you created
a host resource instance. Please be aware that the server validates
the requests, and they need to conform to the schema definition for each
request. Please compare your requests with attached to find what was the reason
for your problems. For your b) question – I am not sure
what exactly you tried to do.
Do not hesitate to ask more questions. Kinga Kinga Dziembowski Hewlett-Packard Company Applied Technology Office (ATO) 856.638.6065 [EMAIL PROTECTED] From: Lombrera
Lombrera [mailto:[EMAIL PROTECTED] Hi all, I would like to thank you for the previou reply. I have also more two questions: a - I did a .xml file to receive all properties
from "Host" service. Everything works fine. I received the value
of all properties from "Host". So, I tried also to receive just the value from a specific
propertie. For the properties "ResourceId" and "Topic"
(this one already included in the requests directory) everything works fine.
But for others like "Caption", "CpuUsage"
and "AvailableMemory" it did not work. The response message
gives me "...Invalid propertie name..." Why this occur? b - I tried also to do a subscription request to a propertie,
like CpuUsage, from "Host" service. It did not work. The response I receive is "...Given TopicExpression did not match
any Topics supported by this NotificationProducer - the WS-BaseN spec mandates
that it match at least one..." Why this occur? I took a look in the host.wsdl file but did not found
the reason. In the Hermes filesystem example these things works fine for me. Thanks in advance. []s Yahoo!
Acesso Grátis: Internet rápida e grátis. Instale
o discador agora! |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"> <wsa:To mustUnderstand="1">http://localhost:8080/muse/services/host</wsa:To> <wsa:Action mustUnderstand="1">http://ws.apache.org/muse/example/host/GetResourcePropertyRequest</wsa:Action> <int:ResourceID xmlns:int="http://ws.apache.org/muse/example/host">{http://ws.apache.org/muse/example/host}host1</int:ResourceID> </SOAP-ENV:Header> <SOAP-ENV:Body> <m:GetResourceProperty xmlns:m="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:q="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd">q:Description</m:GetResourceProperty> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"> <soapenv:Header> <wsa:MessageID soapenv:mustUnderstand="0">uuid:b8b6a220-f935-11d9-977a-f39166dd1abb</wsa:MessageID> <wsa:To soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous</wsa:To> <wsa:Action soapenv:mustUnderstand="0">http://ws.apache.org/muse/example/host/GetResourcePropertyRequestResponse</wsa:Action> <wsa:From soapenv:mustUnderstand="0"> <wsa:Address>http://localhost:8080/muse/services/host</wsa:Address> <wsa:ReferenceProperties> <int:ResourceID xmlns:int="http://ws.apache.org/muse/example/host">{http://ws.apache.org/muse/example/host}host1</int:ResourceID> </wsa:ReferenceProperties> </wsa:From> </soapenv:Header> <soapenv:Body> <wsrf:GetResourcePropertyResponse xmlns:wsrf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"> <wsdm:Description xmlns:wsdm="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" xml:lang="en">Host Resource</wsdm:Description> </wsrf:GetResourcePropertyResponse> </soapenv:Body> </soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"> <soapenv:Header> <wsa:MessageID soapenv:mustUnderstand="0">uuid:ea5b3890-f935-11d9-977a-f39166dd1abb</wsa:MessageID> <wsa:To soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2003/03/addressing/role/anonymous</wsa:To> <wsa:Action soapenv:mustUnderstand="0">http://ws.apache.org/muse/example/host/GetResourcePropertyRequestResponse</wsa:Action> <wsa:From soapenv:mustUnderstand="0"> <wsa:Address>http://localhost:8080/muse/services/host</wsa:Address> <wsa:ReferenceProperties> <int:ResourceID xmlns:int="http://ws.apache.org/muse/example/host">{http://ws.apache.org/muse/example/host}host1</int:ResourceID> </wsa:ReferenceProperties> </wsa:From> </soapenv:Header> <soapenv:Body> <wsrf:GetResourcePropertyResponse xmlns:wsrf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"> <wsdm:Caption xmlns:wsdm="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd" xml:lang="en">Host-{http://ws.apache.org/muse/example/host}host1</wsdm:Caption> </wsrf:GetResourcePropertyResponse> </soapenv:Body> </soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"> <wsa:To mustUnderstand="1">http://localhost:8080/muse/services/host</wsa:To> <wsa:Action mustUnderstand="1">http://ws.apache.org/muse/example/host/GetResourcePropertyRequest</wsa:Action> <int:ResourceID xmlns:int="http://ws.apache.org/muse/example/host">{http://ws.apache.org/muse/example/host}host1</int:ResourceID> </SOAP-ENV:Header> <SOAP-ENV:Body> <m:GetResourceProperty xmlns:m="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:q="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd">q:Caption</m:GetResourceProperty> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
