This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I was reading through a post given at "http://forums.oracle.com/forums/thread.jspa?threadID=2151051&tstart=0" and tried it my self, but facing the same issue reported in the thread.
My code is as follows
Before trying to deploy this as a webservice, I tried to run this as a standalone and it is working fine. But after deploying and trying to invoke the service, I see an exception as
and when I tried SOAPUi, I see the SOAP response being truncated abrubtly
There is nothing after body.
and in the server logs,
From the server logs, we see that the processing was completed on server side, but while returning back the response, something went wrong and apparently something to do with JAXB marshalling.... but I do not understand the root cause.....
Is it a sin to return an object ?
Also, should there be any application exception, I know that it would be nicely wrapped in soap fault. But does this not happen in this kind of situation.