method names???

View: New views
7 Messages — Rating Filter:   Alert me  

method names???

by Prash_blah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I tried using the GetClass and it seems to return all the property names for a class, but i am unable to get the list of method names. Is there a different option for the same or is this a bug?

Thanks
Prashanth

Re: method names???

by Suresh Sundriyal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's again a bug in SFCC.

If I recall correctly, this bug was mentioned once before in relation to invokeMethods in Openwsman, where Openwsman is not able to determine the parametertypes correctly and converts all invokemethod parameters to strings. Not sure if this was fixed in SFCC-v2.2.0 but it was definitely there in SFCC-v2.1.0.

--
Suresh

________________________________________
From: Prash_blah [prashanth.venky@...]
Sent: Tuesday, September 01, 2009 2:50 AM
To: openwsman-devel@...
Subject: [Openwsman-devel]  method names???

Hi,

I tried using the GetClass and it seems to return all the property names for
a class, but i am unable to get the list of method names. Is there a
different option for the same or is this a bug?

Thanks
Prashanth
--
View this message in context: http://www.nabble.com/method-names----tp25237408p25237408.html
Sent from the Openwsman - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: method names???

by warptrosse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is not fixed. Few days ago, I sent a mail to sblim list asking about this, but not responses yet... I will try to found how to achieve this soon (if it is posible).

regards

On Tue, Sep 1, 2009 at 1:12 PM, Suresh Sundriyal <ssundriy@...> wrote:
That's again a bug in SFCC.

If I recall correctly, this bug was mentioned once before in relation to invokeMethods in Openwsman, where Openwsman is not able to determine the parametertypes correctly and converts all invokemethod parameters to strings. Not sure if this was fixed in SFCC-v2.2.0 but it was definitely there in SFCC-v2.1.0.

--
Suresh

________________________________________
From: Prash_blah [prashanth.venky@...]
Sent: Tuesday, September 01, 2009 2:50 AM
To: openwsman-devel@...
Subject: [Openwsman-devel]  method names???

Hi,

I tried using the GetClass and it seems to return all the property names for
a class, but i am unable to get the list of method names. Is there a
different option for the same or is this a bug?

Thanks
Prashanth
--
View this message in context: http://www.nabble.com/method-names----tp25237408p25237408.html
Sent from the Openwsman - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel



--
WARPTROSSE {The knowledge of a man belongs to all the humanity}

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: method names???

by Chris_Poblete :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

There was an issue with invoke method where it does not take EPR type parameter. The fix for that has been submitted.  However, the processing for invoke method parameters may be different from getting the list of method names with getclass as described below.

 

Thanks,

-Chris Poblete

 

From: warptrosse [mailto:warptrosse@...]
Sent: Tuesday, September 01, 2009 12:27 PM
To: Suresh Sundriyal
Cc: Prash_blah; openwsman-devel@...
Subject: Re: [Openwsman-devel] method names???

 

It is not fixed. Few days ago, I sent a mail to sblim list asking about this, but not responses yet... I will try to found how to achieve this soon (if it is posible).

regards

On Tue, Sep 1, 2009 at 1:12 PM, Suresh Sundriyal <ssundriy@...> wrote:

That's again a bug in SFCC.

If I recall correctly, this bug was mentioned once before in relation to invokeMethods in Openwsman, where Openwsman is not able to determine the parametertypes correctly and converts all invokemethod parameters to strings. Not sure if this was fixed in SFCC-v2.2.0 but it was definitely there in SFCC-v2.1.0.

--
Suresh

________________________________________
From: Prash_blah [prashanth.venky@...]
Sent: Tuesday, September 01, 2009 2:50 AM
To: openwsman-devel@...
Subject: [Openwsman-devel]  method names???


Hi,

I tried using the GetClass and it seems to return all the property names for
a class, but i am unable to get the list of method names. Is there a
different option for the same or is this a bug?

Thanks
Prashanth
--
View this message in context: http://www.nabble.com/method-names----tp25237408p25237408.html
Sent from the Openwsman - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel




--
WARPTROSSE {The knowledge of a man belongs to all the humanity}


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: method names???

by Suresh Sundriyal-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Chris,

CMPI_ref parameters are processed correctly after your fix, however the
rest of the parameter types are still blindly converted to CMPI_chars or
CMPI_string (I don't remember exactly which one).  There is no way  to
determine the  exact type using a getclass operation with SFCC.

Considering that the PARAMTYPE value is optional in CIM-XML, we could
get away without specifying the type however, SFCC does not allow you to
construct messages without the PARAMTYPE (at least I could not see a way
to do it), and till SFCB v1.3.3, SFCB did not handle messages without
PARAMTYPES properly. SFCB v1.3.4 actually has a fix that corrects this
issue. For now, I'm hacking SFCC to actually construct messages without
the PARAMTYPE values but I don't think that is a correct fix. The
correct fix would be to actually fix the getclass operation in SFCC to
include the invokemethod data as well as the parameters for the
invokemethod and their types.

--
Suresh

Chris_Poblete@... wrote:

>
> There was an issue with invoke method where it does not take EPR type
> parameter. The fix for that has been submitted.  However, the
> processing for invoke method parameters may be different from getting
> the list of method names with getclass as described below.
>
>  
>
> Thanks,
>
> /-Chris Poblete/
>
>  
>
> *From:* warptrosse [mailto:warptrosse@...]
> *Sent:* Tuesday, September 01, 2009 12:27 PM
> *To:* Suresh Sundriyal
> *Cc:* Prash_blah; openwsman-devel@...
> *Subject:* Re: [Openwsman-devel] method names???
>
>  
>
> It is not fixed. Few days ago, I sent a mail to sblim list asking
> about this, but not responses yet... I will try to found how to
> achieve this soon (if it is posible).
>
> regards
>
> On Tue, Sep 1, 2009 at 1:12 PM, Suresh Sundriyal <ssundriy@...
> <mailto:ssundriy@...>> wrote:
>
> That's again a bug in SFCC.
>
> If I recall correctly, this bug was mentioned once before in relation
> to invokeMethods in Openwsman, where Openwsman is not able to
> determine the parametertypes correctly and converts all invokemethod
> parameters to strings. Not sure if this was fixed in SFCC-v2.2.0 but
> it was definitely there in SFCC-v2.1.0.
>
> --
> Suresh
>
> ________________________________________
> From: Prash_blah [prashanth.venky@...
> <mailto:prashanth.venky@...>]
> Sent: Tuesday, September 01, 2009 2:50 AM
> To: openwsman-devel@...
> <mailto:openwsman-devel@...>
> Subject: [Openwsman-devel]  method names???
>
>
> Hi,
>
> I tried using the GetClass and it seems to return all the property
> names for
> a class, but i am unable to get the list of method names. Is there a
> different option for the same or is this a bug?
>
> Thanks
> Prashanth
> --
> View this message in context:
> http://www.nabble.com/method-names----tp25237408p25237408.html
> Sent from the Openwsman - Development mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openwsman-devel mailing list
> Openwsman-devel@...
> <mailto:Openwsman-devel@...>
> https://lists.sourceforge.net/lists/listinfo/openwsman-devel
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openwsman-devel mailing list
> Openwsman-devel@...
> <mailto:Openwsman-devel@...>
> https://lists.sourceforge.net/lists/listinfo/openwsman-devel
>
>
>
>
> --
> WARPTROSSE {The knowledge of a man belongs to all the humanity}
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: method names???

by Prash_blah :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I am not sure if you guys got my query correctly. When i execute GetClass in wsman, it lists only the list of Properties. It does not show the list of methods implemented by the class. I am not sure if this is a sfcc bug or a wsman bug?

Thanks
Prashanth

On Wed, Sep 2, 2009 at 12:17 AM, Suresh Sundriyal <ssundriy@...> wrote:
Hi Chris,

CMPI_ref parameters are processed correctly after your fix, however the rest of the parameter types are still blindly converted to CMPI_chars or CMPI_string (I don't remember exactly which one).  There is no way  to determine the  exact type using a getclass operation with SFCC.

Considering that the PARAMTYPE value is optional in CIM-XML, we could get away without specifying the type however, SFCC does not allow you to construct messages without the PARAMTYPE (at least I could not see a way to do it), and till SFCB v1.3.3, SFCB did not handle messages without PARAMTYPES properly. SFCB v1.3.4 actually has a fix that corrects this issue. For now, I'm hacking SFCC to actually construct messages without the PARAMTYPE values but I don't think that is a correct fix. The correct fix would be to actually fix the getclass operation in SFCC to include the invokemethod data as well as the parameters for the invokemethod and their types.

--
Suresh

There was an issue with invoke method where it does not take EPR type parameter. The fix for that has been submitted.  However, the processing for invoke method parameters may be different from getting the list of method names with getclass as described below.

 
Thanks,

/-Chris Poblete/

 
*From:* warptrosse [mailto:warptrosse@...]
*Sent:* Tuesday, September 01, 2009 12:27 PM
*To:* Suresh Sundriyal
*Cc:* Prash_blah; openwsman-devel@...
*Subject:* Re: [Openwsman-devel] method names???

 
It is not fixed. Few days ago, I sent a mail to sblim list asking about this, but not responses yet... I will try to found how to achieve this soon (if it is posible).

regards

On Tue, Sep 1, 2009 at 1:12 PM, Suresh Sundriyal <ssundriy@... <mailto:ssundriy@...>> wrote:

That's again a bug in SFCC.

If I recall correctly, this bug was mentioned once before in relation to invokeMethods in Openwsman, where Openwsman is not able to determine the parametertypes correctly and converts all invokemethod parameters to strings. Not sure if this was fixed in SFCC-v2.2.0 but it was definitely there in SFCC-v2.1.0.

--
Suresh

________________________________________
From: Prash_blah [prashanth.venky@... <mailto:prashanth.venky@...>]

Sent: Tuesday, September 01, 2009 2:50 AM
To: openwsman-devel@... <mailto:openwsman-devel@...>

Subject: [Openwsman-devel]  method names???


Hi,

I tried using the GetClass and it seems to return all the property names for
a class, but i am unable to get the list of method names. Is there a
different option for the same or is this a bug?

Thanks
Prashanth
--
View this message in context: http://www.nabble.com/method-names----tp25237408p25237408.html
Sent from the Openwsman - Development mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@... <mailto:Openwsman-devel@...>

https://lists.sourceforge.net/lists/listinfo/openwsman-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@... <mailto:Openwsman-devel@...>

https://lists.sourceforge.net/lists/listinfo/openwsman-devel




--
WARPTROSSE {The knowledge of a man belongs to all the humanity}




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel

Re: method names???

by Klaus Kaempf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

* Prashanth Venky <prashanth.venky@...> [Sep 02. 2009 14:36]:
> Hi All,
> I am not sure if you guys got my query correctly. When i execute GetClass in
> wsman, it lists only the list of Properties. It does not show the list of
> methods implemented by the class. I am not sure if this is a sfcc bug or a
> wsman bug?

From my recent debugging efforts within sfcc, I'm pretty sure it is
within sfcc ;-)

I am currently looking at sfcc's test cases, esp. test_gc (for
GetClass) which also fails to report methods.

Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel