this is a know issue and a bug was recently opened about this. We will fix it
asap and release a 2.0.1.
Actually this subject was raised some time ago and some one on the List ( I do
not remember who it was) wanted to submit a patch to fix this, hence I was
waiting for the patch and never fixed the issue :(
Is this someone still out there maybe with a patch ready to go?
Anas
A J wrote:
> Hi,
>
> Has anyone tried invoking a method with any none-string type parameter?
>
> I just used wsman client run a method with input file t1.xml for parameters,
> but wsman server return InvalidParameter error.
> The command I send is,
> ./wsman invoke
http://.../PowerMgmtSvc ... -a RequestStateChange -J t1.xml
>
> and the t1.xml is,
> <n0:RequestStateChange_INPUT xmlns:n0="
http://.../PowerMgmtSvc">
> <n0:PowerState>2</n0:PowerState>
> </n0:RequestStateChange_INPUT>
>
> I check the sfcb receiving CIM_XML and found the type of parameter
> PowerState is "string" that was send by openwsman. The correct type of
> PowerState is int, therefore sfcb return InvalidParameter.
>
> Has anyone know how to fix this issue? How to set the type of method
> parameter by input xml?
>
> Thanks,
> AJ
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Openwsman-devel mailing list
Openwsman-devel@...
https://lists.sourceforge.net/lists/listinfo/openwsman-devel