I'm trying to run a web service on axis 1.4 from a a Main method in a Java class, but it seems it's never executed (I got some System.out.println commands that don't appear). I used Java2WSDL and then WSDL2Java to create the classes I use to access the service, and use them this way: TestService locator; TestService_PortType com; locator = new TestServiceLocator(); com = locator.getTestService(); returnValue = com.customMethod(XXX,XXX); The returnValue is always null, and no errors are shown.