Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unmarshelling problem at the serverside in JAXWS  RSS feed

 
Veeresh Hosur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am sending XMLGregorianCalendar from client side where as at the serverside Calendar object is been used. Apart from XMLGregorianCalendar all the values to the serverside are proper but the Calendar is always getting populated with null value. Can anybody help me out to solve this problem

Thanks
Veeresh Hosur
 
Veeresh Hosur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I got the solution for this. While sending the XMLGregorianCalendar to the webservice, we should create XMLGregorianCalendar in following manner

Thanks
Veeresh Hosur
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!