Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to write service?

 
B Sleek
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would I write a write a web service that returns this response? Should I just create a single object to encapsulate the date, or what? Thanks for help.

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a document-style web service, the Java code would look like
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic