The problem description might be long. Please be patient and provide any kind of help since I am new to the web services.
What I have done: I have creat
Yes already answered you can't directly access the service in a browser url. You need a client code like this
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.interceptor.LoggingOutInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import org.junit.Test;
@Test
public void testWhatIsTheAnswer() {
JaxWsProxyFactoryBean factoryBean = new JaxWsProxyFactoryBean();
factoryBean.getInInterceptors().add(new LoggingInInterceptor());
factoryBean.getOutInterceptors().add(new LoggingOutInterceptor());
factoryBean.setServiceClass(DeepThought.class);
factoryBean.setAddress("http://localhost:8084/DeepThoughtWS/services/DeepThoughtPort");
DeepThought service = (DeepThought) factoryBean.create();
service.whatIsTheAnswer("some answer");
}