Great. Now I understood how it works (this is the first time I work with XML and web services).
 
Thank you all.
Lombrera.


"Dziembowski, Kinga" <[EMAIL PROTECTED]> escreveu:

Lombrera,

As Bryan indicated, the properties are identified by QNames – the correct namespace qualification is a key for success.

In your GetProperyCpuUsageFromHost you have http://ws.apache.org/muse/example/host as a namespace for the CpuUsage property.

The correct value is:

http://ws.apache.org/muse/example/host/properties

 

In the wsdl you have:

<element maxOccurs="1" minOccurs="1" ref="host-prop:CpuUsage" />

 

Please examine wsdl and resolve the prefix (host-prop ) to the namespace value. This way you will create correct request.

Kinga

 

 

Kinga Dziembowski

Hewlett-Packard Company

Applied Technology Office (ATO)

856.638.6065

[EMAIL PROTECTED]

 


From: Lombrera Lombrera [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005 11:10 AM
To: [email protected]
Subject: about a getPropertie and a Subscription

 

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!


Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!

Reply via email to