This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes what will  happened for  HashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "what will  happened for  HashMap" Watch "what will  happened for  HashMap" New topic
Author

what will happened for HashMap

abdul prodhani
Greenhorn

Joined: Nov 07, 2007
Posts: 7
when i passed HashMap object in invokeRobust i am getting always OMException:NullPointerException ...
for example:
<code>

UserCl ob=new UserCl();
HashMap<String,Object> hm=-new HashMap<Object,Object>;
hm.put<"KEY","value">;
ob.setHM(hm);
QName opSetQuiz = new QName("http:xsd","submitUsedata");
Object[] opSetQuizArgs = new Object[] {ob};
client.invokeRobust(opSetQuiz, opSetQuizArgs);
<code>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: what will happened for HashMap
 
Similar Threads
OMException java.lang.NullPointerExce
OMException java.lang.NullPointerExce
Problem with Jackson Parser
how can i deal with this unchecked warning?
nothing display in TCPMON