Commit 9fdb8d74 authored by Quxl's avatar Quxl

x

parent 66eccf86
......@@ -3,8 +3,10 @@ package com.egolm.sso;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableScheduling
@SpringBootApplication
@EnableTransactionManagement
public class SSOApplication {
......
package com.schneider_distributor;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Component
public class ZMISD009SOCREATIONTask {
@Scheduled(cron="0 * * * * ?")
public void execute() {
this.runTask();
}
public void runTask() {
ZMISD009SOCREATIONService service = new ZMISD009SOCREATIONService();
ZMISD009SOCREATION ZMISD009SOCREATION = service.getZMISD009SOCREATIONPort();
ZMISD009SOCREATION.zMISD009SOCREATION(null);
}
}
package com.schneider_distributor;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.schneider_distributor package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _ZMTSD009SOCREATION_QNAME = new QName("http://schneider-distributor.com/", "Z_MT_SD_009_SO_CREATION");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.schneider_distributor
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ZDTSD009SOCREATION }
*
*/
public ZDTSD009SOCREATION createZDTSD009SOCREATION() {
return new ZDTSD009SOCREATION();
}
/**
* Create an instance of {@link ZDTSD009SOCREATION.Header }
*
*/
public ZDTSD009SOCREATION.Header createZDTSD009SOCREATIONHeader() {
return new ZDTSD009SOCREATION.Header();
}
/**
* Create an instance of {@link ZDTSD009SOCREATION.ITEM }
*
*/
public ZDTSD009SOCREATION.ITEM createZDTSD009SOCREATIONITEM() {
return new ZDTSD009SOCREATION.ITEM();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ZDTSD009SOCREATION }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://schneider-distributor.com/", name = "Z_MT_SD_009_SO_CREATION")
public JAXBElement<ZDTSD009SOCREATION> createZMTSD009SOCREATION(ZDTSD009SOCREATION value) {
return new JAXBElement<ZDTSD009SOCREATION>(_ZMTSD009SOCREATION_QNAME, ZDTSD009SOCREATION.class, null, value);
}
}
package com.schneider_distributor;
import javax.jws.Oneway;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 3.2.9
* 2019-07-05T14:08:11.116+08:00
* Generated source version: 3.2.9
*
*/
@WebService(targetNamespace = "http://schneider-distributor.com/", name = "Z_MI_SD_009_SO_CREATION")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface ZMISD009SOCREATION {
@WebMethod(operationName = "Z_MI_SD_009_SO_CREATION", action = "http://sap.com/xi/WebService/soap1.1")
@Oneway
public void zMISD009SOCREATION(
@WebParam(partName = "Z_MT_SD_009_SO_CREATION", name = "Z_MT_SD_009_SO_CREATION", targetNamespace = "http://schneider-distributor.com/")
ZDTSD009SOCREATION zMTSD009SOCREATION
);
}
package com.schneider_distributor;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 3.2.9
* 2019-07-05T14:08:11.147+08:00
* Generated source version: 3.2.9
*
*/
@WebServiceClient(name = "Z_MI_SD_009_SO_CREATIONService",
wsdlLocation = "file:/C:/Users/Quxl/Desktop/Z_MI_SD_009_SO_CREATION.wsdl",
targetNamespace = "http://schneider-distributor.com/")
public class ZMISD009SOCREATIONService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://schneider-distributor.com/", "Z_MI_SD_009_SO_CREATIONService");
public final static QName ZMISD009SOCREATIONPort = new QName("http://schneider-distributor.com/", "Z_MI_SD_009_SO_CREATIONPort");
static {
URL url = null;
try {
url = new URL("file:/C:/Users/Quxl/Desktop/Z_MI_SD_009_SO_CREATION.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(ZMISD009SOCREATIONService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/C:/Users/Quxl/Desktop/Z_MI_SD_009_SO_CREATION.wsdl");
}
WSDL_LOCATION = url;
}
public ZMISD009SOCREATIONService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public ZMISD009SOCREATIONService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public ZMISD009SOCREATIONService() {
super(WSDL_LOCATION, SERVICE);
}
public ZMISD009SOCREATIONService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public ZMISD009SOCREATIONService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public ZMISD009SOCREATIONService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns ZMISD009SOCREATION
*/
@WebEndpoint(name = "Z_MI_SD_009_SO_CREATIONPort")
public ZMISD009SOCREATION getZMISD009SOCREATIONPort() {
return super.getPort(ZMISD009SOCREATIONPort, ZMISD009SOCREATION.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns ZMISD009SOCREATION
*/
@WebEndpoint(name = "Z_MI_SD_009_SO_CREATIONPort")
public ZMISD009SOCREATION getZMISD009SOCREATIONPort(WebServiceFeature... features) {
return super.getPort(ZMISD009SOCREATIONPort, ZMISD009SOCREATION.class, features);
}
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://schneider-distributor.com/")
package com.schneider_distributor;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment