I am learning how to create Logical Handlers in JAX-WS SOAP web services. Here I am trying to get the payload data and want to print that for testing. But I am getting issue
Source payload = message.getPayload();
then convert the DomSource object to string by using xmltransformation or some other way , it will give you the payload.