I still could not resolve the annotation issue. However i could develop a sample web service without using annotation. I tried writing a sample client program to invoke the web service. This was done using HttpURLConnection. But this gives the following error in the server.
I could not guess what exactly is going wrong?
A snippet of my sample client program
Please guide me. In weblogic, i was able to send my xml using this program. But in JBOSS, it is giving me this error.