|
Lombrera,
You did not send the request messages that failed, but I
have an idea about what the problem is. The namespace for the properties is
important. The ResourceId property is in the MUWS part 1 namespace, whereas the
namespace for Caption and Description is in the MUWS part 2 namespace. The
argument to GetResourceProperty is a QName and thus requires that the
correct namespace prefix be used. In any case, the examples that Kinga included
will work.
Bryan From: Dziembowski, Kinga Sent: Wednesday, July 20, 2005 9:36 AM To: [email protected] Subject: RE: about a getPropertie and a Subscription 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! |
- about a getPropertie and a Subscription Lombrera Lombrera
- RE: about a getPropertie and a Subscription Dziembowski, Kinga
- RE: about a getPropertie and a Subscription Murray, Bryan P.
- RE: about a getPropertie and a Subscription Lombrera Lombrera
- RE: about a getPropertie and a Subscription Dziembowski, Kinga
- RE: about a getPropertie and a Subscription Lombrera Lombrera
