• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting only null values  RSS feed

 
abdul prodhani
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir,
In my services class i have a method which return array object.Now when i retrieved this values using this below code,which gives only null values..
please help me....

[code]

{
Object[] oarg= new Object[] {};
Class[] rt= new Class[] {Object[].class};
Object[] response = client.invokeBlocking(qn, oarg, rt);
Object[] res=(Object[])response[0];
if(res == null)
{
System.out.println("res didnot initialize!");
return;
}
for(int i = 0; i < res.length; i++)
{
System.out.println("item: " + res[i]+ "\tvalue: " + res[i]);
}
}
[code]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!