Some time we need to see request and response body in soap for trace 

by this code when using in java api call we can enable that 

final Client client = ClientProxy.getClient(service);

client.getInInterceptors().add(new LoggingInInterceptor());

client.getOutInterceptors().add(new LoggingOutInterceptor());