Subversion Repositories XServices

Rev

Rev 201 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 201 Rev 203
Line 39... Line 39...
39
import javax.servlet.ServletContext;
39
import javax.servlet.ServletContext;
40
import javax.xml.bind.JAXBContext;
40
import javax.xml.bind.JAXBContext;
41
import javax.xml.bind.JAXBElement;
41
import javax.xml.bind.JAXBElement;
42
import javax.xml.bind.JAXBException;
42
import javax.xml.bind.JAXBException;
43
import javax.xml.bind.Marshaller;
43
import javax.xml.bind.Marshaller;
-
 
44
import javax.xml.namespace.QName;
44
import javax.xml.ws.WebServiceContext;
45
import javax.xml.ws.WebServiceContext;
45
import javax.xml.ws.handler.MessageContext;
46
import javax.xml.ws.handler.MessageContext;
46
import java.io.StringReader;
47
import java.io.StringReader;
47
import java.io.StringWriter;
48
import java.io.StringWriter;
48
import java.math.BigInteger;
49
import java.math.BigInteger;
Line 57... Line 58...
57
import static org.quartz.TriggerBuilder.newTrigger;
58
import static org.quartz.TriggerBuilder.newTrigger;
Line 58... Line 59...
58
 
59
 
59
 
60
 
60
/**
61
/**
61
 * Implements the web service
62
 * Implements the web service
62
 * 
63
 *
63
 * @author Brian Rosenberger, bru@brutex.de
64
 * @author Brian Rosenberger, bru@brutex.de
64
 */
65
 */
65
@Slf4j
66
@Slf4j
66
@WebService(targetNamespace="http://ws.xservices.brutex.net", endpointInterface="net.brutex.xservices.ws.MiscService", serviceName="MiscService")
67
@WebService(targetNamespace = "http://ws.xservices.brutex.net", endpointInterface = "net.brutex.xservices.ws.MiscService", serviceName = "MiscService")
-
 
68
public class MiscServiceImpl
-
 
69
        implements MiscService {
-
 
70
 
Line 67... Line -...
67
public class MiscServiceImpl
-
 
68
  implements MiscService {
-
 
69
 
71
    @Resource
70
  @Resource
72
    private WebServiceContext context;
Line 71... Line 73...
71
  private WebServiceContext context;
73
 
309
      }
342
            log.error(e.getMessage());
310
    } catch (JAXBException | SQLException | SchedulerException e) {
-
 
311
        log.error(e.getMessage());
-
 
312
        throw new XServicesFault(e);
343
            throw new XServicesFault(e);
313
    }
344
        }