Topic
  • 1 reply
  • Latest Post - ‏2013-08-05T04:39:47Z by mburati
Prakash_uit
Prakash_uit
18 Posts

Pinned topic Passing an java.lang.Object to Service Operation

‏2013-08-02T22:59:12Z |

Am using the Service provider - consumer model, in which i have an Service operation defined and it calls an action list which is configured to take an Object as an parameter. Now on the Service consumer model am trying to call the Service operation with the Generated method[******WithArgs(Object)] passing in the java.lang.Object, which is in turn an  Hashmap.

But on the service opertion action list while i try to type cast the object to Hashmap. it says ClassCastException, cannot cast string to hashmap. Am curious to know how does map object i passed in been converted to string in this case.