I'm developing a new web service at my company. We have a POJO application server communicating with the wxternal clients through CORBA and RMI. Just to make things easier for myself I decided to test a possibility to expose the web service without a servlet container.
Here's the essential code
public class ServiceLauncher {
private Endpoint endpoint;
public ServiceLauncher(){
endpoint = Endpoint.create(new ServiceServer());
endpoint.publish("http://0.0.0.0:1234/Service");
}
}
Connecting to http://localhost
:1234/Service?wsdl works fine. Web Service works also. However, testing it through soapUI fails due to unavailable schemas at certain addresses imported in the wsdl file. The error I face is
404 Not Found No context found for request
Is there a way to make those xsd files accessible to clients?