So I have a simple web service:
@WebMethod(operationName=\"getBookList\")
public HashMap getBookList()
{
HashMap
JAX-WS How to make SOAP Response return Hashmap object
You should not expose any Java specific constructs like HashMap via a Web Service.
Web Services is about interoperability and following paths like yours is the wrong way.
Just return the information required so that the web service client can build the hash table regardless of the programming language it is written