[EMAIL PROTECTED] wrote:
Hello Ted,

Yes, this method works for the encoding of schema hash in the Schema Request (AM1S).

Now I am able to fetch the Schema for the desired class. I have another question in the format of this schema. You can see it at the end of this email (output from the Management Client)… Also attached the output.text with this email.

1. Is this format correct? Am I printing the Schema-hash (from the schema request correctly)

For example, I am doubtful about access, index, type… I am getting their corresponding numeric values here…
Rahul,

You have parsed most of the schema data correctly. The only problem I see with your code is that it doesn't handle method arguments. When you decode the map for a method, you need to get the argument count and decode maps for each argument.

The "index" field is boolean (0=false, 1=true), the meanings for the numeric values for "access" and "type" are documented on the wiki page (http://cwiki.apache.org/confluence/display/qpid/Management+Design+notes).

-Ted

Reply via email to