Compare commits
No commits in common. 'master' and 'xbd' have entirely different histories.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
|
||||
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
|
@ -0,0 +1,6 @@
|
||||
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_271
|
||||
export JRE_HOME=${JAVA_HOME}/jre
|
||||
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
|
||||
export PATH=${JAVA_HOME}/bin:$PATH
|
||||
/usr/lib/jvm/jdk1.8.0_271/bin/java -version
|
||||
/usr/lib/jvm/jdk1.8.0_271/bin/java ${CLASSPATH} -jar /root/Downloads/I2client/dist/I2client.jar
|
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
ps -x |grep I2client | grep -v grep
|
||||
if [ $? -eq 0 ]; then echo "正在运行"
|
||||
else
|
||||
export JAVA_HOME=/usr/java/jdk1.8.0_171
|
||||
export JRE_HOME=${JAVA_HOME}/jre
|
||||
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH
|
||||
export JAVA_PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin
|
||||
export PATH=$PATH:${JAVA_PATH}
|
||||
|
||||
cd /home/quyi/I2client/dist/
|
||||
java -jar I2client.jar
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- You may freely edit this file. See commented blocks below for -->
|
||||
<!-- some examples of how to customize the build. -->
|
||||
<!-- (If you delete it and reopen the project it will be recreated.) -->
|
||||
<!-- By default, only the Clean and Build commands use this build script. -->
|
||||
<!-- Commands such as Run, Debug, and Test only use this build script if -->
|
||||
<!-- the Compile on Save feature is turned off for the project. -->
|
||||
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
|
||||
<!-- in the project's Project Properties dialog box.-->
|
||||
<project name="I2client" default="default" basedir=".">
|
||||
<description>Builds, tests, and runs the project I2client.</description>
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
<!--
|
||||
|
||||
There exist several targets which are by default empty and which can be
|
||||
used for execution of your tasks. These targets are usually executed
|
||||
before and after some main targets. They are:
|
||||
|
||||
-pre-init: called before initialization of project properties
|
||||
-post-init: called after initialization of project properties
|
||||
-pre-compile: called before javac compilation
|
||||
-post-compile: called after javac compilation
|
||||
-pre-compile-single: called before javac compilation of single file
|
||||
-post-compile-single: called after javac compilation of single file
|
||||
-pre-compile-test: called before javac compilation of JUnit tests
|
||||
-post-compile-test: called after javac compilation of JUnit tests
|
||||
-pre-compile-test-single: called before javac compilation of single JUnit test
|
||||
-post-compile-test-single: called after javac compilation of single JUunit test
|
||||
-pre-jar: called before JAR building
|
||||
-post-jar: called after JAR building
|
||||
-post-clean: called after cleaning build products
|
||||
|
||||
(Targets beginning with '-' are not intended to be called on their own.)
|
||||
|
||||
Example of inserting an obfuscator after compilation could look like this:
|
||||
|
||||
<target name="-post-compile">
|
||||
<obfuscate>
|
||||
<fileset dir="${build.classes.dir}"/>
|
||||
</obfuscate>
|
||||
</target>
|
||||
|
||||
For list of available properties check the imported
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
|
||||
Another way to customize the build is by overriding existing main targets.
|
||||
The targets of interest are:
|
||||
|
||||
-init-macrodef-javac: defines macro for javac compilation
|
||||
-init-macrodef-junit: defines macro for junit execution
|
||||
-init-macrodef-debug: defines macro for class debugging
|
||||
-init-macrodef-java: defines macro for class execution
|
||||
-do-jar: JAR building
|
||||
run: execution of project
|
||||
-javadoc-build: Javadoc generation
|
||||
test-report: JUnit report generation
|
||||
|
||||
An example of overriding the target for project execution could look like this:
|
||||
|
||||
<target name="run" depends="I2client-impl.jar">
|
||||
<exec dir="bin" executable="launcher.exe">
|
||||
<arg file="${dist.jar}"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
Notice that the overridden target depends on the jar target and not only on
|
||||
the compile target as the regular run target does. Again, for a list of available
|
||||
properties which you can use, check the target you are overriding in the
|
||||
nbproject/build-impl.xml file.
|
||||
|
||||
-->
|
||||
</project>
|
@ -0,0 +1,4 @@
|
||||
#Fri, 30 Jun 2023 11:04:56 +0800
|
||||
|
||||
|
||||
/home/htdev/newcac/sourceproj/I2client-XBD=
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
|
||||
<system systemId="http://222.90.232.140:8443/xydl/service/XydlService?wsdl" uri="wsdl/222.90.232.140_8443/xydl/service/XydlService.wsdl"/>
|
||||
<system systemId="http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl" uri="wsdl/10.0.17.24_8084/busi-back-ws/service/XydlService.wsdl"/>
|
||||
</catalog>
|
@ -0,0 +1,71 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
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 i2client 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 _UploadCACDataResponse_QNAME = new QName("http://ws.busi.huatek.com/", "uploadCACDataResponse");
|
||||
private final static QName _UploadCACData_QNAME = new QName("http://ws.busi.huatek.com/", "uploadCACData");
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: i2client
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UploadCACData }
|
||||
*
|
||||
*/
|
||||
public UploadCACData createUploadCACData() {
|
||||
return new UploadCACData();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UploadCACDataResponse }
|
||||
*
|
||||
*/
|
||||
public UploadCACDataResponse createUploadCACDataResponse() {
|
||||
return new UploadCACDataResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link UploadCACDataResponse }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://ws.busi.huatek.com/", name = "uploadCACDataResponse")
|
||||
public JAXBElement<UploadCACDataResponse> createUploadCACDataResponse(UploadCACDataResponse value) {
|
||||
return new JAXBElement<UploadCACDataResponse>(_UploadCACDataResponse_QNAME, UploadCACDataResponse.class, null, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link UploadCACData }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://ws.busi.huatek.com/", name = "uploadCACData")
|
||||
public JAXBElement<UploadCACData> createUploadCACData(UploadCACData value) {
|
||||
return new JAXBElement<UploadCACData>(_UploadCACData_QNAME, UploadCACData.class, null, value);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for uploadCACData complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="uploadCACData">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "uploadCACData", propOrder = {
|
||||
"arg0"
|
||||
})
|
||||
public class UploadCACData {
|
||||
|
||||
protected String arg0;
|
||||
|
||||
/**
|
||||
* Gets the value of the arg0 property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArg0() {
|
||||
return arg0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arg0 property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArg0(String value) {
|
||||
this.arg0 = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for uploadCACDataResponse complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="uploadCACDataResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "uploadCACDataResponse", propOrder = {
|
||||
"_return"
|
||||
})
|
||||
public class UploadCACDataResponse {
|
||||
|
||||
@XmlElement(name = "return")
|
||||
protected String _return;
|
||||
|
||||
/**
|
||||
* Gets the value of the return property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getReturn() {
|
||||
return _return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the return property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setReturn(String value) {
|
||||
this._return = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.jws.WebMethod;
|
||||
import javax.jws.WebParam;
|
||||
import javax.jws.WebResult;
|
||||
import javax.jws.WebService;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.ws.RequestWrapper;
|
||||
import javax.xml.ws.ResponseWrapper;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.6-1b01
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebService(name = "XydlService", targetNamespace = "http://ws.busi.huatek.com/")
|
||||
@XmlSeeAlso({
|
||||
ObjectFactory.class
|
||||
})
|
||||
public interface XydlService {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param arg0
|
||||
* @return
|
||||
* returns java.lang.String
|
||||
*/
|
||||
@WebMethod
|
||||
@WebResult(targetNamespace = "")
|
||||
@RequestWrapper(localName = "uploadCACData", targetNamespace = "http://ws.busi.huatek.com/", className = "i2client.UploadCACData")
|
||||
@ResponseWrapper(localName = "uploadCACDataResponse", targetNamespace = "http://ws.busi.huatek.com/", className = "i2client.UploadCACDataResponse")
|
||||
public String uploadCACData(
|
||||
@WebParam(name = "arg0", targetNamespace = "")
|
||||
String arg0);
|
||||
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.Service;
|
||||
import javax.xml.ws.WebEndpoint;
|
||||
import javax.xml.ws.WebServiceClient;
|
||||
import javax.xml.ws.WebServiceException;
|
||||
import javax.xml.ws.WebServiceFeature;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.6-1b01
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebServiceClient(name = "XydlServiceImplService", targetNamespace = "http://ws.busi.huatek.com/", wsdlLocation = "http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl")
|
||||
public class XydlServiceImplService
|
||||
extends Service
|
||||
{
|
||||
|
||||
private final static URL XYDLSERVICEIMPLSERVICE_WSDL_LOCATION;
|
||||
private final static WebServiceException XYDLSERVICEIMPLSERVICE_EXCEPTION;
|
||||
private final static QName XYDLSERVICEIMPLSERVICE_QNAME = new QName("http://ws.busi.huatek.com/", "XydlServiceImplService");
|
||||
|
||||
static {
|
||||
URL url = null;
|
||||
WebServiceException e = null;
|
||||
try {
|
||||
url = new URL("http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl");
|
||||
} catch (MalformedURLException ex) {
|
||||
e = new WebServiceException(ex);
|
||||
}
|
||||
XYDLSERVICEIMPLSERVICE_WSDL_LOCATION = url;
|
||||
XYDLSERVICEIMPLSERVICE_EXCEPTION = e;
|
||||
}
|
||||
|
||||
public XydlServiceImplService() {
|
||||
super(__getWsdlLocation(), XYDLSERVICEIMPLSERVICE_QNAME);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(WebServiceFeature... features) {
|
||||
super(__getWsdlLocation(), XYDLSERVICEIMPLSERVICE_QNAME, features);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation) {
|
||||
super(wsdlLocation, XYDLSERVICEIMPLSERVICE_QNAME);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, WebServiceFeature... features) {
|
||||
super(wsdlLocation, XYDLSERVICEIMPLSERVICE_QNAME, features);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, QName serviceName) {
|
||||
super(wsdlLocation, serviceName);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
|
||||
super(wsdlLocation, serviceName, features);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns XydlService
|
||||
*/
|
||||
@WebEndpoint(name = "XydlServiceImplPort")
|
||||
public XydlService getXydlServiceImplPort() {
|
||||
return super.getPort(new QName("http://ws.busi.huatek.com/", "XydlServiceImplPort"), XydlService.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 XydlService
|
||||
*/
|
||||
@WebEndpoint(name = "XydlServiceImplPort")
|
||||
public XydlService getXydlServiceImplPort(WebServiceFeature... features) {
|
||||
return super.getPort(new QName("http://ws.busi.huatek.com/", "XydlServiceImplPort"), XydlService.class, features);
|
||||
}
|
||||
|
||||
private static URL __getWsdlLocation() {
|
||||
if (XYDLSERVICEIMPLSERVICE_EXCEPTION!= null) {
|
||||
throw XYDLSERVICEIMPLSERVICE_EXCEPTION;
|
||||
}
|
||||
return XYDLSERVICEIMPLSERVICE_WSDL_LOCATION;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
@javax.xml.bind.annotation.XmlSchema(namespace = "http://ws.busi.huatek.com/")
|
||||
package i2client;
|
@ -0,0 +1,71 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
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 i2client 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 _UploadCACDataResponse_QNAME = new QName("http://ws.busi.huatek.com/", "uploadCACDataResponse");
|
||||
private final static QName _UploadCACData_QNAME = new QName("http://ws.busi.huatek.com/", "uploadCACData");
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: i2client
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UploadCACData }
|
||||
*
|
||||
*/
|
||||
public UploadCACData createUploadCACData() {
|
||||
return new UploadCACData();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UploadCACDataResponse }
|
||||
*
|
||||
*/
|
||||
public UploadCACDataResponse createUploadCACDataResponse() {
|
||||
return new UploadCACDataResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link UploadCACDataResponse }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://ws.busi.huatek.com/", name = "uploadCACDataResponse")
|
||||
public JAXBElement<UploadCACDataResponse> createUploadCACDataResponse(UploadCACDataResponse value) {
|
||||
return new JAXBElement<UploadCACDataResponse>(_UploadCACDataResponse_QNAME, UploadCACDataResponse.class, null, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link JAXBElement }{@code <}{@link UploadCACData }{@code >}}
|
||||
*
|
||||
*/
|
||||
@XmlElementDecl(namespace = "http://ws.busi.huatek.com/", name = "uploadCACData")
|
||||
public JAXBElement<UploadCACData> createUploadCACData(UploadCACData value) {
|
||||
return new JAXBElement<UploadCACData>(_UploadCACData_QNAME, UploadCACData.class, null, value);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for uploadCACData complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="uploadCACData">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "uploadCACData", propOrder = {
|
||||
"arg0"
|
||||
})
|
||||
public class UploadCACData {
|
||||
|
||||
protected String arg0;
|
||||
|
||||
/**
|
||||
* Gets the value of the arg0 property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArg0() {
|
||||
return arg0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arg0 property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArg0(String value) {
|
||||
this.arg0 = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for uploadCACDataResponse complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="uploadCACDataResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "uploadCACDataResponse", propOrder = {
|
||||
"_return"
|
||||
})
|
||||
public class UploadCACDataResponse {
|
||||
|
||||
@XmlElement(name = "return")
|
||||
protected String _return;
|
||||
|
||||
/**
|
||||
* Gets the value of the return property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getReturn() {
|
||||
return _return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the return property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setReturn(String value) {
|
||||
this._return = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import javax.jws.WebMethod;
|
||||
import javax.jws.WebParam;
|
||||
import javax.jws.WebResult;
|
||||
import javax.jws.WebService;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.ws.RequestWrapper;
|
||||
import javax.xml.ws.ResponseWrapper;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.6-1b01
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebService(name = "XydlService", targetNamespace = "http://ws.busi.huatek.com/")
|
||||
@XmlSeeAlso({
|
||||
ObjectFactory.class
|
||||
})
|
||||
public interface XydlService {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param arg0
|
||||
* @return
|
||||
* returns java.lang.String
|
||||
*/
|
||||
@WebMethod
|
||||
@WebResult(targetNamespace = "")
|
||||
@RequestWrapper(localName = "uploadCACData", targetNamespace = "http://ws.busi.huatek.com/", className = "i2client.UploadCACData")
|
||||
@ResponseWrapper(localName = "uploadCACDataResponse", targetNamespace = "http://ws.busi.huatek.com/", className = "i2client.UploadCACDataResponse")
|
||||
public String uploadCACData(
|
||||
@WebParam(name = "arg0", targetNamespace = "")
|
||||
String arg0);
|
||||
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
|
||||
package i2client;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.Service;
|
||||
import javax.xml.ws.WebEndpoint;
|
||||
import javax.xml.ws.WebServiceClient;
|
||||
import javax.xml.ws.WebServiceException;
|
||||
import javax.xml.ws.WebServiceFeature;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by the JAX-WS RI.
|
||||
* JAX-WS RI 2.2.6-1b01
|
||||
* Generated source version: 2.2
|
||||
*
|
||||
*/
|
||||
@WebServiceClient(name = "XydlServiceImplService", targetNamespace = "http://ws.busi.huatek.com/", wsdlLocation = "http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl")
|
||||
public class XydlServiceImplService
|
||||
extends Service
|
||||
{
|
||||
|
||||
private final static URL XYDLSERVICEIMPLSERVICE_WSDL_LOCATION;
|
||||
private final static WebServiceException XYDLSERVICEIMPLSERVICE_EXCEPTION;
|
||||
private final static QName XYDLSERVICEIMPLSERVICE_QNAME = new QName("http://ws.busi.huatek.com/", "XydlServiceImplService");
|
||||
|
||||
static {
|
||||
URL url = null;
|
||||
WebServiceException e = null;
|
||||
try {
|
||||
url = new URL("http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl");
|
||||
} catch (MalformedURLException ex) {
|
||||
e = new WebServiceException(ex);
|
||||
}
|
||||
XYDLSERVICEIMPLSERVICE_WSDL_LOCATION = url;
|
||||
XYDLSERVICEIMPLSERVICE_EXCEPTION = e;
|
||||
}
|
||||
|
||||
public XydlServiceImplService() {
|
||||
super(__getWsdlLocation(), XYDLSERVICEIMPLSERVICE_QNAME);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(WebServiceFeature... features) {
|
||||
super(__getWsdlLocation(), XYDLSERVICEIMPLSERVICE_QNAME, features);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation) {
|
||||
super(wsdlLocation, XYDLSERVICEIMPLSERVICE_QNAME);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, WebServiceFeature... features) {
|
||||
super(wsdlLocation, XYDLSERVICEIMPLSERVICE_QNAME, features);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, QName serviceName) {
|
||||
super(wsdlLocation, serviceName);
|
||||
}
|
||||
|
||||
public XydlServiceImplService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
|
||||
super(wsdlLocation, serviceName, features);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns XydlService
|
||||
*/
|
||||
@WebEndpoint(name = "XydlServiceImplPort")
|
||||
public XydlService getXydlServiceImplPort() {
|
||||
return super.getPort(new QName("http://ws.busi.huatek.com/", "XydlServiceImplPort"), XydlService.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 XydlService
|
||||
*/
|
||||
@WebEndpoint(name = "XydlServiceImplPort")
|
||||
public XydlService getXydlServiceImplPort(WebServiceFeature... features) {
|
||||
return super.getPort(new QName("http://ws.busi.huatek.com/", "XydlServiceImplPort"), XydlService.class, features);
|
||||
}
|
||||
|
||||
private static URL __getWsdlLocation() {
|
||||
if (XYDLSERVICEIMPLSERVICE_EXCEPTION!= null) {
|
||||
throw XYDLSERVICEIMPLSERVICE_EXCEPTION;
|
||||
}
|
||||
return XYDLSERVICEIMPLSERVICE_WSDL_LOCATION;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
@javax.xml.bind.annotation.XmlSchema(namespace = "http://ws.busi.huatek.com/")
|
||||
package i2client;
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
|
||||
<system systemId="http://222.90.232.140:8443/xydl/service/XydlService?wsdl" uri="xml-resources/web-service-references/XydlService_1/wsdl/222.90.232.140_8443/xydl/service/XydlService.wsdl"/>
|
||||
<system systemId="http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl" uri="xml-resources/web-service-references/XydlService/wsdl/10.0.17.24_8084/busi-back-ws/service/XydlService.wsdl"/>
|
||||
</catalog>
|
@ -0,0 +1,32 @@
|
||||
========================
|
||||
BUILD OUTPUT DESCRIPTION
|
||||
========================
|
||||
|
||||
When you build an Java application project that has a main class, the IDE
|
||||
automatically copies all of the JAR
|
||||
files on the projects classpath to your projects dist/lib folder. The IDE
|
||||
also adds each of the JAR files to the Class-Path element in the application
|
||||
JAR files manifest file (MANIFEST.MF).
|
||||
|
||||
To run the project from the command line, go to the dist folder and
|
||||
type the following:
|
||||
|
||||
java -jar "I2client.jar"
|
||||
|
||||
To distribute this project, zip up the dist folder (including the lib folder)
|
||||
and distribute the ZIP file.
|
||||
|
||||
Notes:
|
||||
|
||||
* If two JAR files on the project classpath have the same name, only the first
|
||||
JAR file is copied to the lib folder.
|
||||
* Only JAR files are copied to the lib folder.
|
||||
If the classpath contains other types of files or folders, these files (folders)
|
||||
are not copied.
|
||||
* If a library on the projects classpath also has a Class-Path element
|
||||
specified in the manifest,the content of the Class-Path element has to be on
|
||||
the projects runtime path.
|
||||
* To set a main class in a standard Java project, right-click the project node
|
||||
in the Projects window and choose Properties. Then click Run and enter the
|
||||
class name in the Main Class field. Alternatively, you can manually type the
|
||||
class name in the manifest Main-Class element.
|
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
X-COMMENT: Main-Class will be added automatically by build
|
||||
|
@ -1,308 +0,0 @@
|
||||
#!/bin/sh
|
||||
# ----------------------------------------------------------------------------
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Apache Maven Wrapper startup batch script, version 3.2.0
|
||||
#
|
||||
# Required ENV vars:
|
||||
# ------------------
|
||||
# JAVA_HOME - location of a JDK home dir
|
||||
#
|
||||
# Optional ENV vars
|
||||
# -----------------
|
||||
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||
# e.g. to debug Maven itself, use
|
||||
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
if [ -z "$MAVEN_SKIP_RC" ] ; then
|
||||
|
||||
if [ -f /usr/local/etc/mavenrc ] ; then
|
||||
. /usr/local/etc/mavenrc
|
||||
fi
|
||||
|
||||
if [ -f /etc/mavenrc ] ; then
|
||||
. /etc/mavenrc
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.mavenrc" ] ; then
|
||||
. "$HOME/.mavenrc"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# OS specific support. $var _must_ be set to either true or false.
|
||||
cygwin=false;
|
||||
darwin=false;
|
||||
mingw=false
|
||||
case "$(uname)" in
|
||||
CYGWIN*) cygwin=true ;;
|
||||
MINGW*) mingw=true;;
|
||||
Darwin*) darwin=true
|
||||
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
|
||||
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
if [ -x "/usr/libexec/java_home" ]; then
|
||||
JAVA_HOME="$(/usr/libexec/java_home)"; export JAVA_HOME
|
||||
else
|
||||
JAVA_HOME="/Library/Java/Home"; export JAVA_HOME
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
if [ -r /etc/gentoo-release ] ; then
|
||||
JAVA_HOME=$(java-config --jre-home)
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
||||
if $cygwin ; then
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME=$(cygpath --unix "$JAVA_HOME")
|
||||
[ -n "$CLASSPATH" ] &&
|
||||
CLASSPATH=$(cygpath --path --unix "$CLASSPATH")
|
||||
fi
|
||||
|
||||
# For Mingw, ensure paths are in UNIX format before anything is touched
|
||||
if $mingw ; then
|
||||
[ -n "$JAVA_HOME" ] && [ -d "$JAVA_HOME" ] &&
|
||||
JAVA_HOME="$(cd "$JAVA_HOME" || (echo "cannot cd into $JAVA_HOME."; exit 1); pwd)"
|
||||
fi
|
||||
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
javaExecutable="$(which javac)"
|
||||
if [ -n "$javaExecutable" ] && ! [ "$(expr "\"$javaExecutable\"" : '\([^ ]*\)')" = "no" ]; then
|
||||
# readlink(1) is not available as standard on Solaris 10.
|
||||
readLink=$(which readlink)
|
||||
if [ ! "$(expr "$readLink" : '\([^ ]*\)')" = "no" ]; then
|
||||
if $darwin ; then
|
||||
javaHome="$(dirname "\"$javaExecutable\"")"
|
||||
javaExecutable="$(cd "\"$javaHome\"" && pwd -P)/javac"
|
||||
else
|
||||
javaExecutable="$(readlink -f "\"$javaExecutable\"")"
|
||||
fi
|
||||
javaHome="$(dirname "\"$javaExecutable\"")"
|
||||
javaHome=$(expr "$javaHome" : '\(.*\)/bin')
|
||||
JAVA_HOME="$javaHome"
|
||||
export JAVA_HOME
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$JAVACMD" ] ; then
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
else
|
||||
JAVACMD="$(\unset -f command 2>/dev/null; \command -v java)"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
echo "Error: JAVA_HOME is not defined correctly." >&2
|
||||
echo " We cannot execute $JAVACMD" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$JAVA_HOME" ] ; then
|
||||
echo "Warning: JAVA_HOME environment variable is not set."
|
||||
fi
|
||||
|
||||
# traverses directory structure from process work directory to filesystem root
|
||||
# first directory with .mvn subdirectory is considered project base directory
|
||||
find_maven_basedir() {
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "Path not specified to find_maven_basedir"
|
||||
return 1
|
||||
fi
|
||||
|
||||
basedir="$1"
|
||||
wdir="$1"
|
||||
while [ "$wdir" != '/' ] ; do
|
||||
if [ -d "$wdir"/.mvn ] ; then
|
||||
basedir=$wdir
|
||||
break
|
||||
fi
|
||||
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
|
||||
if [ -d "${wdir}" ]; then
|
||||
wdir=$(cd "$wdir/.." || exit 1; pwd)
|
||||
fi
|
||||
# end of workaround
|
||||
done
|
||||
printf '%s' "$(cd "$basedir" || exit 1; pwd)"
|
||||
}
|
||||
|
||||
# concatenates all lines of a file
|
||||
concat_lines() {
|
||||
if [ -f "$1" ]; then
|
||||
# Remove \r in case we run on Windows within Git Bash
|
||||
# and check out the repository with auto CRLF management
|
||||
# enabled. Otherwise, we may read lines that are delimited with
|
||||
# \r\n and produce $'-Xarg\r' rather than -Xarg due to word
|
||||
# splitting rules.
|
||||
tr -s '\r\n' ' ' < "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
log() {
|
||||
if [ "$MVNW_VERBOSE" = true ]; then
|
||||
printf '%s\n' "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
BASE_DIR=$(find_maven_basedir "$(dirname "$0")")
|
||||
if [ -z "$BASE_DIR" ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}; export MAVEN_PROJECTBASEDIR
|
||||
log "$MAVEN_PROJECTBASEDIR"
|
||||
|
||||
##########################################################################################
|
||||
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||
# This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||
##########################################################################################
|
||||
wrapperJarPath="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar"
|
||||
if [ -r "$wrapperJarPath" ]; then
|
||||
log "Found $wrapperJarPath"
|
||||
else
|
||||
log "Couldn't find $wrapperJarPath, downloading it ..."
|
||||
|
||||
if [ -n "$MVNW_REPOURL" ]; then
|
||||
wrapperUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
|
||||
else
|
||||
wrapperUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
|
||||
fi
|
||||
while IFS="=" read -r key value; do
|
||||
# Remove '\r' from value to allow usage on windows as IFS does not consider '\r' as a separator ( considers space, tab, new line ('\n'), and custom '=' )
|
||||
safeValue=$(echo "$value" | tr -d '\r')
|
||||
case "$key" in (wrapperUrl) wrapperUrl="$safeValue"; break ;;
|
||||
esac
|
||||
done < "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
|
||||
log "Downloading from: $wrapperUrl"
|
||||
|
||||
if $cygwin; then
|
||||
wrapperJarPath=$(cygpath --path --windows "$wrapperJarPath")
|
||||
fi
|
||||
|
||||
if command -v wget > /dev/null; then
|
||||
log "Found wget ... using wget"
|
||||
[ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--quiet"
|
||||
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||
wget $QUIET "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
|
||||
else
|
||||
wget $QUIET --http-user="$MVNW_USERNAME" --http-password="$MVNW_PASSWORD" "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
|
||||
fi
|
||||
elif command -v curl > /dev/null; then
|
||||
log "Found curl ... using curl"
|
||||
[ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--silent"
|
||||
if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
|
||||
curl $QUIET -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
|
||||
else
|
||||
curl $QUIET --user "$MVNW_USERNAME:$MVNW_PASSWORD" -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
|
||||
fi
|
||||
else
|
||||
log "Falling back to using Java to download"
|
||||
javaSource="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.java"
|
||||
javaClass="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.class"
|
||||
# For Cygwin, switch paths to Windows format before running javac
|
||||
if $cygwin; then
|
||||
javaSource=$(cygpath --path --windows "$javaSource")
|
||||
javaClass=$(cygpath --path --windows "$javaClass")
|
||||
fi
|
||||
if [ -e "$javaSource" ]; then
|
||||
if [ ! -e "$javaClass" ]; then
|
||||
log " - Compiling MavenWrapperDownloader.java ..."
|
||||
("$JAVA_HOME/bin/javac" "$javaSource")
|
||||
fi
|
||||
if [ -e "$javaClass" ]; then
|
||||
log " - Running MavenWrapperDownloader.java ..."
|
||||
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$wrapperUrl" "$wrapperJarPath") || rm -f "$wrapperJarPath"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
##########################################################################################
|
||||
# End of extension
|
||||
##########################################################################################
|
||||
|
||||
# If specified, validate the SHA-256 sum of the Maven wrapper jar file
|
||||
wrapperSha256Sum=""
|
||||
while IFS="=" read -r key value; do
|
||||
case "$key" in (wrapperSha256Sum) wrapperSha256Sum=$value; break ;;
|
||||
esac
|
||||
done < "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
|
||||
if [ -n "$wrapperSha256Sum" ]; then
|
||||
wrapperSha256Result=false
|
||||
if command -v sha256sum > /dev/null; then
|
||||
if echo "$wrapperSha256Sum $wrapperJarPath" | sha256sum -c > /dev/null 2>&1; then
|
||||
wrapperSha256Result=true
|
||||
fi
|
||||
elif command -v shasum > /dev/null; then
|
||||
if echo "$wrapperSha256Sum $wrapperJarPath" | shasum -a 256 -c > /dev/null 2>&1; then
|
||||
wrapperSha256Result=true
|
||||
fi
|
||||
else
|
||||
echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available."
|
||||
echo "Please install either command, or disable validation by removing 'wrapperSha256Sum' from your maven-wrapper.properties."
|
||||
exit 1
|
||||
fi
|
||||
if [ $wrapperSha256Result = false ]; then
|
||||
echo "Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised." >&2
|
||||
echo "Investigate or delete $wrapperJarPath to attempt a clean download." >&2
|
||||
echo "If you updated your Maven version, you need to update the specified wrapperSha256Sum property." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin; then
|
||||
[ -n "$JAVA_HOME" ] &&
|
||||
JAVA_HOME=$(cygpath --path --windows "$JAVA_HOME")
|
||||
[ -n "$CLASSPATH" ] &&
|
||||
CLASSPATH=$(cygpath --path --windows "$CLASSPATH")
|
||||
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
|
||||
MAVEN_PROJECTBASEDIR=$(cygpath --path --windows "$MAVEN_PROJECTBASEDIR")
|
||||
fi
|
||||
|
||||
# Provide a "standardized" way to retrieve the CLI args that will
|
||||
# work with both Windows and non-Windows executions.
|
||||
MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $*"
|
||||
export MAVEN_CMD_LINE_ARGS
|
||||
|
||||
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
# shellcheck disable=SC2086 # safe args
|
||||
exec "$JAVACMD" \
|
||||
$MAVEN_OPTS \
|
||||
$MAVEN_DEBUG_OPTS \
|
||||
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
|
||||
"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
|
||||
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
|
@ -1,205 +0,0 @@
|
||||
@REM ----------------------------------------------------------------------------
|
||||
@REM Licensed to the Apache Software Foundation (ASF) under one
|
||||
@REM or more contributor license agreements. See the NOTICE file
|
||||
@REM distributed with this work for additional information
|
||||
@REM regarding copyright ownership. The ASF licenses this file
|
||||
@REM to you under the Apache License, Version 2.0 (the
|
||||
@REM "License"); you may not use this file except in compliance
|
||||
@REM with the License. You may obtain a copy of the License at
|
||||
@REM
|
||||
@REM https://www.apache.org/licenses/LICENSE-2.0
|
||||
@REM
|
||||
@REM Unless required by applicable law or agreed to in writing,
|
||||
@REM software distributed under the License is distributed on an
|
||||
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
@REM KIND, either express or implied. See the License for the
|
||||
@REM specific language governing permissions and limitations
|
||||
@REM under the License.
|
||||
@REM ----------------------------------------------------------------------------
|
||||
|
||||
@REM ----------------------------------------------------------------------------
|
||||
@REM Apache Maven Wrapper startup batch script, version 3.2.0
|
||||
@REM
|
||||
@REM Required ENV vars:
|
||||
@REM JAVA_HOME - location of a JDK home dir
|
||||
@REM
|
||||
@REM Optional ENV vars
|
||||
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
|
||||
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
|
||||
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
|
||||
@REM e.g. to debug Maven itself, use
|
||||
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
|
||||
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
|
||||
@REM ----------------------------------------------------------------------------
|
||||
|
||||
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
|
||||
@echo off
|
||||
@REM set title of command window
|
||||
title %0
|
||||
@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
|
||||
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
|
||||
|
||||
@REM set %HOME% to equivalent of $HOME
|
||||
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
|
||||
|
||||
@REM Execute a user defined script before this one
|
||||
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
|
||||
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
|
||||
if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
|
||||
if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
|
||||
:skipRcPre
|
||||
|
||||
@setlocal
|
||||
|
||||
set ERROR_CODE=0
|
||||
|
||||
@REM To isolate internal variables from possible post scripts, we use another setlocal
|
||||
@setlocal
|
||||
|
||||
@REM ==== START VALIDATION ====
|
||||
if not "%JAVA_HOME%" == "" goto OkJHome
|
||||
|
||||
echo.
|
||||
echo Error: JAVA_HOME not found in your environment. >&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||
echo location of your Java installation. >&2
|
||||
echo.
|
||||
goto error
|
||||
|
||||
:OkJHome
|
||||
if exist "%JAVA_HOME%\bin\java.exe" goto init
|
||||
|
||||
echo.
|
||||
echo Error: JAVA_HOME is set to an invalid directory. >&2
|
||||
echo JAVA_HOME = "%JAVA_HOME%" >&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the >&2
|
||||
echo location of your Java installation. >&2
|
||||
echo.
|
||||
goto error
|
||||
|
||||
@REM ==== END VALIDATION ====
|
||||
|
||||
:init
|
||||
|
||||
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
|
||||
@REM Fallback to current working directory if not found.
|
||||
|
||||
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
|
||||
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
|
||||
|
||||
set EXEC_DIR=%CD%
|
||||
set WDIR=%EXEC_DIR%
|
||||
:findBaseDir
|
||||
IF EXIST "%WDIR%"\.mvn goto baseDirFound
|
||||
cd ..
|
||||
IF "%WDIR%"=="%CD%" goto baseDirNotFound
|
||||
set WDIR=%CD%
|
||||
goto findBaseDir
|
||||
|
||||
:baseDirFound
|
||||
set MAVEN_PROJECTBASEDIR=%WDIR%
|
||||
cd "%EXEC_DIR%"
|
||||
goto endDetectBaseDir
|
||||
|
||||
:baseDirNotFound
|
||||
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
|
||||
cd "%EXEC_DIR%"
|
||||
|
||||
:endDetectBaseDir
|
||||
|
||||
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
|
||||
|
||||
@setlocal EnableExtensions EnableDelayedExpansion
|
||||
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
|
||||
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
|
||||
|
||||
:endReadAdditionalConfig
|
||||
|
||||
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
|
||||
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
|
||||
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
|
||||
|
||||
set WRAPPER_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
|
||||
|
||||
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||
IF "%%A"=="wrapperUrl" SET WRAPPER_URL=%%B
|
||||
)
|
||||
|
||||
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
|
||||
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
|
||||
if exist %WRAPPER_JAR% (
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Found %WRAPPER_JAR%
|
||||
)
|
||||
) else (
|
||||
if not "%MVNW_REPOURL%" == "" (
|
||||
SET WRAPPER_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar"
|
||||
)
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Couldn't find %WRAPPER_JAR%, downloading it ...
|
||||
echo Downloading from: %WRAPPER_URL%
|
||||
)
|
||||
|
||||
powershell -Command "&{"^
|
||||
"$webclient = new-object System.Net.WebClient;"^
|
||||
"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
|
||||
"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
|
||||
"}"^
|
||||
"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%WRAPPER_URL%', '%WRAPPER_JAR%')"^
|
||||
"}"
|
||||
if "%MVNW_VERBOSE%" == "true" (
|
||||
echo Finished downloading %WRAPPER_JAR%
|
||||
)
|
||||
)
|
||||
@REM End of extension
|
||||
|
||||
@REM If specified, validate the SHA-256 sum of the Maven wrapper jar file
|
||||
SET WRAPPER_SHA_256_SUM=""
|
||||
FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
|
||||
IF "%%A"=="wrapperSha256Sum" SET WRAPPER_SHA_256_SUM=%%B
|
||||
)
|
||||
IF NOT %WRAPPER_SHA_256_SUM%=="" (
|
||||
powershell -Command "&{"^
|
||||
"$hash = (Get-FileHash \"%WRAPPER_JAR%\" -Algorithm SHA256).Hash.ToLower();"^
|
||||
"If('%WRAPPER_SHA_256_SUM%' -ne $hash){"^
|
||||
" Write-Output 'Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.';"^
|
||||
" Write-Output 'Investigate or delete %WRAPPER_JAR% to attempt a clean download.';"^
|
||||
" Write-Output 'If you updated your Maven version, you need to update the specified wrapperSha256Sum property.';"^
|
||||
" exit 1;"^
|
||||
"}"^
|
||||
"}"
|
||||
if ERRORLEVEL 1 goto error
|
||||
)
|
||||
|
||||
@REM Provide a "standardized" way to retrieve the CLI args that will
|
||||
@REM work with both Windows and non-Windows executions.
|
||||
set MAVEN_CMD_LINE_ARGS=%*
|
||||
|
||||
%MAVEN_JAVA_EXE% ^
|
||||
%JVM_CONFIG_MAVEN_PROPS% ^
|
||||
%MAVEN_OPTS% ^
|
||||
%MAVEN_DEBUG_OPTS% ^
|
||||
-classpath %WRAPPER_JAR% ^
|
||||
"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
|
||||
%WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
|
||||
if ERRORLEVEL 1 goto error
|
||||
goto end
|
||||
|
||||
:error
|
||||
set ERROR_CODE=1
|
||||
|
||||
:end
|
||||
@endlocal & set ERROR_CODE=%ERROR_CODE%
|
||||
|
||||
if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
|
||||
@REM check for post script, once with legacy .bat ending and once with .cmd ending
|
||||
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
|
||||
if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
|
||||
:skipRcPost
|
||||
|
||||
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
|
||||
if "%MAVEN_BATCH_PAUSE%"=="on" pause
|
||||
|
||||
if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
|
||||
|
||||
cmd /C exit /B %ERROR_CODE%
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
build.xml.data.CRC32=665bec45
|
||||
build.xml.script.CRC32=dfa81c11
|
||||
build.xml.stylesheet.CRC32=8064a381@1.80.1.48
|
||||
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
|
||||
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
|
||||
nbproject/build-impl.xml.data.CRC32=665bec45
|
||||
nbproject/build-impl.xml.script.CRC32=363e5c3a
|
||||
nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
|
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jax-ws xmlns="http://www.netbeans.org/ns/jax-ws/1">
|
||||
<services/>
|
||||
<clients>
|
||||
<client name="XydlService">
|
||||
<wsdl-url>http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl</wsdl-url>
|
||||
<local-wsdl-file>10.0.17.24_8084/busi-back-ws/service/XydlService.wsdl</local-wsdl-file>
|
||||
<package-name forceReplace="true">i2client</package-name>
|
||||
<catalog-file>catalog.xml</catalog-file>
|
||||
<wsimport-options>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>extension</wsimport-option-name>
|
||||
<wsimport-option-value>true</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>verbose</wsimport-option-name>
|
||||
<wsimport-option-value>true</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>fork</wsimport-option-name>
|
||||
<wsimport-option-value>false</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>wsdlLocation</wsimport-option-name>
|
||||
<wsimport-option-value>http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>xnocompile</wsimport-option-name>
|
||||
<wsimport-option-value>true</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>xendorsed</wsimport-option-name>
|
||||
<wsimport-option-value>true</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
<wsimport-option>
|
||||
<wsimport-option-name>package</wsimport-option-name>
|
||||
<wsimport-option-value>i2client</wsimport-option-value>
|
||||
</wsimport-option>
|
||||
</wsimport-options>
|
||||
</client>
|
||||
</clients>
|
||||
</jax-ws>
|
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!--
|
||||
*** GENERATED FROM jax-ws.xml - DO NOT EDIT ! ***
|
||||
*** TO MODIFY wsimport options USE Web Service node -> Edit WS Attributes ***
|
||||
*** TO CHANGE TARGETS GENERATED TO jaxws-build.xml COPY THOSE ***
|
||||
*** TARGETS TO ../build.xml AND MODIFY THAT FILE INSTEAD ***
|
||||
|
||||
--><project xmlns:xalan="http://xml.apache.org/xslt" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
|
||||
<!--
|
||||
===================
|
||||
JAX-WS WSIMPORT SECTION
|
||||
===================
|
||||
-->
|
||||
<target name="wsimport-init" depends="init">
|
||||
<mkdir dir="${build.generated.sources.dir}/jax-ws"/>
|
||||
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
|
||||
<classpath path="${libs.jaxws21.classpath}"/>
|
||||
</taskdef>
|
||||
</target>
|
||||
<target name="wsimport-client-XydlService" depends="wsimport-init">
|
||||
<mkdir dir="${build.generated.dir}/jax-wsCache/XydlService"/>
|
||||
<property name="wsdl-XydlService" location="xml-resources/web-service-references/XydlService/wsdl/10.0.17.24_8084/busi-back-ws/service/XydlService.wsdl"/>
|
||||
<wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/XydlService" destdir="${build.generated.dir}/jax-wsCache/XydlService" wsdl="${wsdl-XydlService}" catalog="catalog.xml" encoding="${source.encoding}" extension="true" verbose="true" fork="false" wsdlLocation="http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl" xnocompile="true" xendorsed="true" package="i2client">
|
||||
<depends file="${wsdl-XydlService}"/>
|
||||
<produces dir="${build.generated.dir}/jax-wsCache/XydlService"/>
|
||||
</wsimport>
|
||||
<copy todir="${build.generated.sources.dir}/jax-ws">
|
||||
<fileset dir="${build.generated.dir}/jax-wsCache/XydlService">
|
||||
<include name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
<target name="wsimport-client-clean-XydlService" depends="-init-project">
|
||||
<delete dir="${build.generated.dir}/jax-wsCache/XydlService"/>
|
||||
<delete dir="${build.generated.sources.dir}/jax-ws/i2client"/>
|
||||
</target>
|
||||
<target name="wsimport-client-generate" depends="wsimport-client-XydlService"/>
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
compile.on.save=true
|
||||
do.depend=false
|
||||
do.jar=true
|
||||
javac.debug=true
|
||||
javadoc.preview=true
|
||||
user.properties.file=/home/htdev/.netbeans/8.2/build.properties
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/home/htdev/newcac/sourceproj/I2client-XBD/nbproject/jaxws-build.xml</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties>
|
||||
<comment/>
|
||||
<entry key="ACTIVATED_FEATURES">#org.netbeans.modules.profiler.v2.features.SQLFeature@#org.netbeans.modules.profiler.v2.features.MonitorFeature@</entry>
|
||||
<entry key="SINGLE_FEATURE">false</entry>
|
||||
</properties>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
|
||||
<system systemId="http://schemas.xmlsoap.org/wsdl/" uri="schemas.xmlsoap.org/wsdl/index.xsd"/>
|
||||
<system systemId="http://schemas.xmlsoap.org/wsdl/soap/" uri="schemas.xmlsoap.org/wsdl/soap/index.xsd"/>
|
||||
<system systemId="http://schemas.xmlsoap.org/soap/http" uri="schemas.xmlsoap.org/soap/http/index"/>
|
||||
</catalog>
|
Binary file not shown.
@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
|
||||
Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
|
||||
All Rights Reserved
|
||||
|
||||
License for WSDL Schema Files
|
||||
|
||||
The Authors grant permission to copy and distribute the WSDL Schema
|
||||
Files in any medium without fee or royalty as long as this notice and
|
||||
license are distributed with them. The originals of these files can
|
||||
be located at:
|
||||
|
||||
http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
|
||||
|
||||
THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
|
||||
OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT
|
||||
LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR
|
||||
RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
|
||||
|
||||
The name and trademarks of the Authors may NOT be used in any manner,
|
||||
including advertising or publicity pertaining to these files or any program
|
||||
or service that uses these files, written prior permission. Title to copyright
|
||||
in these files will at all times remain with the Authors.
|
||||
|
||||
No other rights are granted by implication, estoppel or otherwise.
|
||||
|
||||
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
||||
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
|
||||
elementFormDefault="qualified" >
|
||||
|
||||
<xs:complexType mixed="true" name="tDocumentation" >
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tDocumented" >
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This type is extended by component types to allow them to be documented
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tDocumented" >
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This type is extended by component types to allow attributes from other namespaces to be added.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:anyAttribute namespace="##other" processContents="lax" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tExtensibleDocumented" abstract="true" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tDocumented" >
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This type is extended by component types to allow elements from other namespaces to be added.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="definitions" type="wsdl:tDefinitions" >
|
||||
<xs:key name="message" >
|
||||
<xs:selector xpath="wsdl:message" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:key>
|
||||
<xs:key name="portType" >
|
||||
<xs:selector xpath="wsdl:portType" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:key>
|
||||
<xs:key name="binding" >
|
||||
<xs:selector xpath="wsdl:binding" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:key>
|
||||
<xs:key name="service" >
|
||||
<xs:selector xpath="wsdl:service" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:key>
|
||||
<xs:key name="import" >
|
||||
<xs:selector xpath="wsdl:import" />
|
||||
<xs:field xpath="@namespace" />
|
||||
</xs:key>
|
||||
</xs:element>
|
||||
|
||||
<xs:group name="anyTopLevelOptionalElement" >
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:choice>
|
||||
<xs:element name="import" type="wsdl:tImport" />
|
||||
<xs:element name="types" type="wsdl:tTypes" />
|
||||
<xs:element name="message" type="wsdl:tMessage" >
|
||||
<xs:unique name="part" >
|
||||
<xs:selector xpath="wsdl:part" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:element name="portType" type="wsdl:tPortType" />
|
||||
<xs:element name="binding" type="wsdl:tBinding" />
|
||||
<xs:element name="service" type="wsdl:tService" >
|
||||
<xs:unique name="port" >
|
||||
<xs:selector xpath="wsdl:port" />
|
||||
<xs:field xpath="@name" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:group>
|
||||
|
||||
<xs:complexType name="tDefinitions" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:group ref="wsdl:anyTopLevelOptionalElement" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
|
||||
<xs:attribute name="name" type="xs:NCName" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tImport" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleAttributesDocumented" >
|
||||
<xs:attribute name="namespace" type="xs:anyURI" use="required" />
|
||||
<xs:attribute name="location" type="xs:anyURI" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tTypes" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" />
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tMessage" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tPart" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleAttributesDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="element" type="xs:QName" use="optional" />
|
||||
<xs:attribute name="type" type="xs:QName" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tPortType" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleAttributesDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tOperation" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:group ref="wsdl:request-response-or-one-way-operation" />
|
||||
<xs:group ref="wsdl:solicit-response-or-notification-operation" />
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:group name="request-response-or-one-way-operation" >
|
||||
<xs:sequence>
|
||||
<xs:element name="input" type="wsdl:tParam" />
|
||||
<xs:sequence minOccurs='0' >
|
||||
<xs:element name="output" type="wsdl:tParam" />
|
||||
<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:group name="solicit-response-or-notification-operation" >
|
||||
<xs:sequence>
|
||||
<xs:element name="output" type="wsdl:tParam" />
|
||||
<xs:sequence minOccurs='0' >
|
||||
<xs:element name="input" type="wsdl:tParam" />
|
||||
<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:sequence>
|
||||
</xs:group>
|
||||
|
||||
<xs:complexType name="tParam" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleAttributesDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="optional" />
|
||||
<xs:attribute name="message" type="xs:QName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tFault" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleAttributesDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="message" type="xs:QName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tBinding" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="type" type="xs:QName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tBindingOperationMessage" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tBindingOperationFault" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tBindingOperation" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
|
||||
<xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
|
||||
<xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tService" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:sequence>
|
||||
<xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="tPort" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibleDocumented" >
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
<xs:attribute name="binding" type="xs:QName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:attribute name="arrayType" type="xs:string" />
|
||||
<xs:attribute name="required" type="xs:boolean" />
|
||||
<xs:complexType name="tExtensibilityElement" abstract="true" >
|
||||
<xs:attribute ref="wsdl:required" use="optional" />
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
@ -0,0 +1,149 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
|
||||
Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
|
||||
All Rights Reserved
|
||||
|
||||
License for WSDL Schema Files
|
||||
|
||||
The Authors grant permission to copy and distribute the WSDL Schema
|
||||
Files in any medium without fee or royalty as long as this notice and
|
||||
license are distributed with them. The originals of these files can
|
||||
be located at:
|
||||
|
||||
http://schemas.xmlsoap.org/wsdl/soap/2003-02-11.xsd
|
||||
|
||||
THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
|
||||
OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT
|
||||
LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR
|
||||
RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
|
||||
|
||||
The name and trademarks of the Authors may NOT be used in any manner,
|
||||
including advertising or publicity pertaining to these files or any program
|
||||
or service that uses these files, written prior permission. Title to copyright
|
||||
in these files will at all times remain with the Authors.
|
||||
|
||||
No other rights are granted by implication, estoppel or otherwise.
|
||||
|
||||
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
||||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
||||
targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/" >
|
||||
|
||||
<xs:import namespace = "http://schemas.xmlsoap.org/wsdl/" />
|
||||
|
||||
<xs:simpleType name="encodingStyle" >
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
"encodingStyle" indicates any canonicalization conventions followed in the contents of the containing element. For example, the value "http://schemas.xmlsoap.org/soap/encoding/" indicates the pattern described in SOAP specification
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:list itemType="xs:anyURI" />
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="binding" type="soap:tBinding" />
|
||||
<xs:complexType name="tBinding" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibilityElement" >
|
||||
<xs:attribute name="transport" type="xs:anyURI" use="required" />
|
||||
<xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="tStyleChoice" >
|
||||
<xs:restriction base="xs:string" >
|
||||
<xs:enumeration value="rpc" />
|
||||
<xs:enumeration value="document" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="operation" type="soap:tOperation" />
|
||||
<xs:complexType name="tOperation" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibilityElement" >
|
||||
<xs:attribute name="soapAction" type="xs:anyURI" use="optional" />
|
||||
<xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="body" type="soap:tBody" />
|
||||
<xs:attributeGroup name="tBodyAttributes" >
|
||||
<xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
|
||||
<xs:attribute name="use" type="soap:useChoice" use="optional" />
|
||||
<xs:attribute name="namespace" type="xs:anyURI" use="optional" />
|
||||
</xs:attributeGroup>
|
||||
<xs:complexType name="tBody" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibilityElement" >
|
||||
<xs:attribute name="parts" type="xs:NMTOKENS" use="optional" />
|
||||
<xs:attributeGroup ref = "soap:tBodyAttributes" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="useChoice" >
|
||||
<xs:restriction base="xs:string" >
|
||||
<xs:enumeration value="literal" />
|
||||
<xs:enumeration value="encoded" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="fault" type="soap:tFault" />
|
||||
<xs:complexType name="tFaultRes" abstract="true" >
|
||||
<xs:complexContent>
|
||||
<xs:restriction base="soap:tBody" >
|
||||
<xs:attribute ref="wsdl:required" use="optional" />
|
||||
<xs:attribute name="parts" type="xs:NMTOKENS" use="prohibited" />
|
||||
<xs:attributeGroup ref="soap:tBodyAttributes" />
|
||||
</xs:restriction>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="tFault" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="soap:tFaultRes">
|
||||
<xs:attribute name="name" type="xs:NCName" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
|
||||
<xs:element name="header" type="soap:tHeader" />
|
||||
<xs:attributeGroup name="tHeaderAttributes" >
|
||||
<xs:attribute name="message" type="xs:QName" use="required" />
|
||||
<xs:attribute name="part" type="xs:NMTOKEN" use="required" />
|
||||
<xs:attribute name="use" type="soap:useChoice" use="required" />
|
||||
<xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
|
||||
<xs:attribute name="namespace" type="xs:anyURI" use="optional" />
|
||||
</xs:attributeGroup>
|
||||
<xs:complexType name="tHeader" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibilityElement" >
|
||||
<xs:sequence>
|
||||
<xs:element ref="soap:headerfault" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="soap:tHeaderAttributes" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="headerfault" type="soap:tHeaderFault" />
|
||||
<xs:complexType name="tHeaderFault" >
|
||||
<xs:attributeGroup ref="soap:tHeaderAttributes" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:element name="address" type="soap:tAddress" />
|
||||
<xs:complexType name="tAddress" >
|
||||
<xs:complexContent>
|
||||
<xs:extension base="wsdl:tExtensibilityElement" >
|
||||
<xs:attribute name="location" type="xs:anyURI" use="required" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
@ -0,0 +1,112 @@
|
||||
annotation.processing.enabled=true
|
||||
annotation.processing.enabled.in.editor=false
|
||||
annotation.processing.processors.list=
|
||||
annotation.processing.run.all.processors=true
|
||||
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
|
||||
application.title=I2client
|
||||
application.vendor=LENOVO
|
||||
build.classes.dir=${build.dir}/classes
|
||||
build.classes.excludes=**/*.java,**/*.form
|
||||
# This directory is removed when the project is cleaned:
|
||||
build.dir=build
|
||||
build.generated.dir=${build.dir}/generated
|
||||
build.generated.sources.dir=${build.dir}/generated-sources
|
||||
# Only compile against the classpath explicitly listed here:
|
||||
build.sysclasspath=ignore
|
||||
build.test.classes.dir=${build.dir}/test/classes
|
||||
build.test.results.dir=${build.dir}/test/results
|
||||
# Uncomment to specify the preferred debugger connection transport:
|
||||
#debug.transport=dt_socket
|
||||
debug.classpath=\
|
||||
${run.classpath}
|
||||
debug.modulepath=\
|
||||
${run.modulepath}
|
||||
debug.test.classpath=\
|
||||
${run.test.classpath}
|
||||
debug.test.modulepath=\
|
||||
${run.test.modulepath}
|
||||
# build.classes.dir \u4e2d\u5e94\u4ece\u5206\u53d1 jar \u4e2d\u6392\u9664\u7684\u6587\u4ef6
|
||||
dist.archive.excludes=
|
||||
# This directory is removed when the project is cleaned:
|
||||
dist.dir=dist
|
||||
dist.jar=${dist.dir}/I2client.jar
|
||||
dist.javadoc.dir=${dist.dir}/javadoc
|
||||
endorsed.classpath=\
|
||||
${libs.JAXB-ENDORSED.classpath}
|
||||
excludes=
|
||||
file.reference.activation.jar=activation.jar
|
||||
file.reference.axis.jar=axis.jar
|
||||
file.reference.commons-discovery-0.2.jar=commons-discovery-0.2.jar
|
||||
file.reference.commons-logging-1.0.4.jar=commons-logging-1.0.4.jar
|
||||
file.reference.jaxrpc.jar=jaxrpc.jar
|
||||
file.reference.jdom.jar=jdom.jar
|
||||
file.reference.mailapi_1_3_1.jar=mailapi_1_3_1.jar
|
||||
file.reference.saaj.jar=saaj.jar
|
||||
file.reference.wsdl4j-1.5.1.jar=wsdl4j-1.5.1.jar
|
||||
includes=**
|
||||
jar.compress=false
|
||||
javac.classpath=\
|
||||
${libs.MySQLDriver.classpath}:\
|
||||
${file.reference.axis.jar}:\
|
||||
${file.reference.commons-discovery-0.2.jar}:\
|
||||
${file.reference.commons-logging-1.0.4.jar}:\
|
||||
${file.reference.saaj.jar}:\
|
||||
${file.reference.jaxrpc.jar}:\
|
||||
${file.reference.wsdl4j-1.5.1.jar}:\
|
||||
${file.reference.activation.jar}:\
|
||||
${file.reference.mailapi_1_3_1.jar}:\
|
||||
${file.reference.jdom.jar}
|
||||
# Space-separated list of extra javac options
|
||||
javac.compilerargs=
|
||||
javac.deprecation=false
|
||||
javac.external.vm=true
|
||||
javac.modulepath=
|
||||
javac.processormodulepath=
|
||||
javac.processorpath=\
|
||||
${javac.classpath}
|
||||
javac.source=1.8
|
||||
javac.target=1.8
|
||||
javac.test.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
javac.test.modulepath=\
|
||||
${javac.modulepath}
|
||||
javac.test.processorpath=\
|
||||
${javac.test.classpath}
|
||||
javadoc.additionalparam=
|
||||
javadoc.author=false
|
||||
javadoc.encoding=${source.encoding}
|
||||
javadoc.noindex=false
|
||||
javadoc.nonavbar=false
|
||||
javadoc.notree=false
|
||||
javadoc.private=false
|
||||
javadoc.splitindex=true
|
||||
javadoc.use=true
|
||||
javadoc.version=false
|
||||
javadoc.windowtitle=
|
||||
jaxbwiz.gensrc.classpath=${libs.jaxb.classpath}
|
||||
jaxbwiz.xjcdef.classpath=${libs.jaxb.classpath}
|
||||
jaxbwiz.xjcrun.classpath=${libs.jaxb.classpath}
|
||||
main.class=i2client.Index
|
||||
manifest.file=manifest.mf
|
||||
meta.inf.dir=${src.dir}/META-INF
|
||||
mkdist.disabled=false
|
||||
platform.active=default_platform
|
||||
run.classpath=\
|
||||
${javac.classpath}:\
|
||||
${build.classes.dir}
|
||||
# Space-separated list of JVM arguments used when running the project.
|
||||
# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
|
||||
# To set system properties for unit tests define test-sys-prop.name=value:
|
||||
run.jvmargs=
|
||||
run.modulepath=\
|
||||
${javac.modulepath}
|
||||
run.test.classpath=\
|
||||
${javac.test.classpath}:\
|
||||
${build.test.classes.dir}
|
||||
run.test.modulepath=\
|
||||
${javac.test.modulepath}
|
||||
source.encoding=UTF-8
|
||||
src.dir=src
|
||||
test.src.dir=test
|
||||
compile.on.save.unsupported.jaxws=true
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.java.j2seproject</type>
|
||||
<configuration>
|
||||
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
|
||||
<extension file="jaxws-build.xml" id="jaxws">
|
||||
<dependency dependsOn="wsimport-client-generate" target="-pre-pre-compile"/>
|
||||
</extension>
|
||||
</buildExtensions>
|
||||
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
|
||||
<name>I2client</name>
|
||||
<source-roots>
|
||||
<root id="src.dir"/>
|
||||
</source-roots>
|
||||
<test-roots>
|
||||
<root id="test.src.dir"/>
|
||||
</test-roots>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!--
|
||||
*** GENERATED FROM xml_binding_cfg.xml - DO NOT EDIT ***
|
||||
*** Configure thru JAXB Wizard. ***
|
||||
--><project name="I2client_jaxb" default="default" basedir=".">
|
||||
<target name="xjc-typedef-target" depends="-init-project">
|
||||
<typedef classname="com.sun.tools.xjc.XJCTask" name="xjc" xmlns:s="http://xml.netbeans.org/schema/JAXBWizConfig">
|
||||
<classpath path="${jaxbwiz.xjcdef.classpath}"/>
|
||||
</typedef>
|
||||
</target>
|
||||
<target name="jaxb-clean-code-generation" depends="clean,jaxb-code-generation"/>
|
||||
<target name="jaxb-code-generation" depends="xjc-typedef-target,-do-init,-init-macrodef-javac">
|
||||
<mkdir dir="${build.generated.sources.dir}/jaxb" xmlns:s="http://xml.netbeans.org/schema/JAXBWizConfig"/>
|
||||
<mkdir dir="build/generated/jaxbCache" xmlns:s="http://xml.netbeans.org/schema/JAXBWizConfig"/>
|
||||
</target>
|
||||
</project>
|
@ -0,0 +1,3 @@
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<schemas xmlns='http://xml.netbeans.org/schema/JAXBWizConfig' destdir='build/generated-sources/jaxb' projectName='I2client' version='1.0'>
|
||||
</schemas>
|
@ -1,8 +0,0 @@
|
||||
CREATE TABLE `upload_statics` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`check_type` varchar(32) NOT NULL,
|
||||
`first_value` bigint DEFAULT NULL,
|
||||
`upload_time` date DEFAULT NULL COMMENT '上传记录的日期',
|
||||
`update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='i2上传Id的确认表';
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
|
||||
<system systemId="http://222.90.232.140:8443/xydl/service/XydlService?wsdl" uri="wsdl/222.90.232.140_8443/xydl/service/XydlService.wsdl"/>
|
||||
<system systemId="http://10.0.17.24:8084/busi-back-ws/service/XydlService?wsdl" uri="wsdl/10.0.17.24_8084/busi-back-ws/service/XydlService.wsdl"/>
|
||||
</catalog>
|
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
|
||||
<Properties>
|
||||
<Property name="defaultCloseOperation" type="int" value="3"/>
|
||||
<Property name="title" type="java.lang.String" value="I2通道数据显示"/>
|
||||
</Properties>
|
||||
<SyntheticProperties>
|
||||
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
|
||||
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
|
||||
</SyntheticProperties>
|
||||
<AuxValues>
|
||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
|
||||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
|
||||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
|
||||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
|
||||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
||||
</AuxValues>
|
||||
|
||||
<Layout>
|
||||
<DimensionLayout dim="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jScrollPane1" pref="785" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
<DimensionLayout dim="1">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jScrollPane1" min="-2" pref="344" max="-2" attributes="0"/>
|
||||
<EmptySpace pref="19" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
</Layout>
|
||||
<SubComponents>
|
||||
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
|
||||
<AuxValues>
|
||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||
</AuxValues>
|
||||
|
||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||
<SubComponents>
|
||||
<Component class="javax.swing.JTextArea" name="jTextArea1">
|
||||
<Properties>
|
||||
<Property name="columns" type="int" value="20"/>
|
||||
<Property name="rows" type="int" value="5"/>
|
||||
</Properties>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Container>
|
||||
</SubComponents>
|
||||
</Form>
|
File diff suppressed because it is too large
Load Diff
@ -1,32 +0,0 @@
|
||||
package com.shxy.i2;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
//import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
||||
//@SpringBootApplication
|
||||
@MapperScan("com.shxy.i2.dao")
|
||||
@EnableAspectJAutoProxy(exposeProxy = true)
|
||||
@Slf4j
|
||||
@EnableConfigurationProperties
|
||||
@ComponentScan(basePackages = {"com.shxy"})
|
||||
//@EnableCaching
|
||||
//@EnableAsync
|
||||
public class I2Application {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(I2Application.class, args);
|
||||
log.info("系统启动");
|
||||
}
|
||||
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
package com.shxy.i2.Tool;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.shxy.i2.bean.AttrBean;
|
||||
import com.shxy.i2.bean.YxAttrBean;
|
||||
import com.shxy.i2.constant.Constant;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GenerateI2Xml {
|
||||
|
||||
public static String generateCacXml(String type, String sensorid, String equipmentid, String timestamp, ArrayList<AttrBean> attrlist) {
|
||||
String cacdata = "";
|
||||
cacdata += "<datanode sensorid=\"" + sensorid + "\"> ";
|
||||
cacdata += "<type>" + type + "</type> ";
|
||||
cacdata += "<equipmentid>" + equipmentid + "</equipmentid> ";
|
||||
if (StrUtil.isNotEmpty(timestamp)) {
|
||||
cacdata += "<timestamp>" + timestamp + "</timestamp> ";
|
||||
}
|
||||
cacdata += "<attrs> ";
|
||||
for (AttrBean bean : attrlist) {
|
||||
cacdata += "<attr name=\"" + bean.getKey() + "\" value=\"" + bean.getValue() + "\" alarm=\"FALSE\" /> ";
|
||||
}
|
||||
cacdata += "</attrs> ";
|
||||
cacdata += "</datanode>";
|
||||
return cacdata;
|
||||
}
|
||||
|
||||
public static String generateEndCacXml(ArrayList<String> cacdatalist) {
|
||||
String cacxml = "";
|
||||
cacxml += "<?xml version=\"1.0\" encoding=\"UTF-8\"?> ";
|
||||
cacxml += "<request> ";
|
||||
cacxml += "<monitordata cacid=\"" + Constant.Cacid + "\" datanodenum=\"" + cacdatalist.size() + "\"> ";
|
||||
for (String str : cacdatalist) {
|
||||
cacxml += str;
|
||||
}
|
||||
// cacxml += "</attrs> ";
|
||||
// cacxml += "</datanode>";
|
||||
cacxml += "</monitordata> ";
|
||||
cacxml += "</request> ";
|
||||
|
||||
return cacxml;
|
||||
}
|
||||
|
||||
public static String generateYxCacXml(YxAttrBean<Integer> attr) {
|
||||
String cacdata = "";
|
||||
String sensorid = attr.getSensorid();
|
||||
String equipmentid = attr.getEquipmentid();
|
||||
String devicetype = attr.getDevicetype();
|
||||
String timestamp = attr.getTimestamp();
|
||||
String key = attr.getKey();
|
||||
Integer value = attr.getValue();
|
||||
String phase = attr.getPhase();
|
||||
|
||||
String status = "FALSE";
|
||||
if (value != null) {
|
||||
if (value.intValue() == 0) {
|
||||
status = "FALSE";
|
||||
} else {
|
||||
status = "TRUE";
|
||||
}
|
||||
if (StrUtil.isNotEmpty(sensorid) && StrUtil.isNotEmpty(equipmentid) && StrUtil.isNotEmpty(timestamp) && StrUtil.isNotEmpty(key)) {
|
||||
cacdata += "<?xml version=\"1.0\" encoding=\"UTF-8\"?> ";
|
||||
cacdata += "<request> ";
|
||||
cacdata += "<monitordata cacid=\"" + Constant.Cacid + "\" datanodenum=\"" + 1 + "\"> ";
|
||||
cacdata += "<datanode sensorid=\"" + sensorid + "\"> ";
|
||||
cacdata += "<type>" + devicetype + "</type> ";
|
||||
cacdata += "<equipmentid>" + equipmentid + "</equipmentid> ";
|
||||
if (StrUtil.isNotEmpty(timestamp)) {
|
||||
cacdata += "<timestamp>" + timestamp + "</timestamp> ";
|
||||
}
|
||||
cacdata += "<attrs> ";
|
||||
cacdata += "<attr name=\"Phase\" value=\"" + phase + "\" alarm=\"" + status + "\" /> ";
|
||||
cacdata += "<attr name=\"" + key + "\" value=\"" + value + "\" alarm=\"" + status + "\" /> ";
|
||||
cacdata += "</attrs> ";
|
||||
cacdata += "</datanode>";
|
||||
cacdata += "</monitordata> ";
|
||||
cacdata += "</request> ";
|
||||
}
|
||||
}
|
||||
return cacdata;
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AttrBean<T> {
|
||||
private String key;
|
||||
private T value;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
/**
|
||||
* 常用API返回对象接口
|
||||
*
|
||||
*/
|
||||
public interface IErrorCode {
|
||||
/**
|
||||
* 返回码
|
||||
*/
|
||||
int getCode();
|
||||
|
||||
/**
|
||||
* 返回信息
|
||||
*/
|
||||
String getMessage();
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 线路树状图列表
|
||||
*/
|
||||
@Data
|
||||
public class ListModel implements Serializable {
|
||||
|
||||
private List<Beans> list = new ArrayList<>();
|
||||
|
||||
@Data
|
||||
public static class Beans {
|
||||
|
||||
private String name;
|
||||
|
||||
private BigInteger history;//历史数据量
|
||||
|
||||
private BigInteger uploadnum;//已上传数据量
|
||||
|
||||
private BigInteger nownum;//今日数据量
|
||||
|
||||
private BigInteger nowuploadnum;//今日上传数据量
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -1,121 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
|
||||
import cn.hutool.http.HttpStatus;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ResponseReult<T> implements Serializable {
|
||||
/**
|
||||
* 返回对象
|
||||
*/
|
||||
private T data;
|
||||
/**
|
||||
* 返回状态码
|
||||
*/
|
||||
private int code;
|
||||
/**
|
||||
* 返回描述
|
||||
*/
|
||||
private String msg;
|
||||
|
||||
|
||||
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(T data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setCode(int code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回成功消息
|
||||
*
|
||||
* @return 成功消息
|
||||
*/
|
||||
public static <T> ResponseReult<T> success(T obj) {
|
||||
ResponseReult<T> success = ResponseReult.success();
|
||||
if (obj != null) {
|
||||
success.setData(obj);
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回成功消息
|
||||
*
|
||||
* @return 成功消息
|
||||
*/
|
||||
public static <T> ResponseReult<T> success() {
|
||||
ResponseReult<T> response = new ResponseReult<>();
|
||||
response.setCode(HttpStatus.HTTP_OK, "操作成功");
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 失败返回结果
|
||||
*
|
||||
* @param message 错误信息
|
||||
*/
|
||||
public static <T> ResponseReult<T> fail(String message) {
|
||||
return ResponseReult.error(HttpStatus.HTTP_BAD_REQUEST, message);
|
||||
}
|
||||
|
||||
public static <T> ResponseReult<T> fail(int code, String msg) {
|
||||
ResponseReult<T> response = new ResponseReult<>();
|
||||
response.setCode(code, msg);
|
||||
return response;
|
||||
}
|
||||
/**
|
||||
* 返回失败消息
|
||||
*
|
||||
* @return 失败消息
|
||||
*/
|
||||
public static <T> ResponseReult<T> error(int code, String msg) {
|
||||
ResponseReult<T> response = new ResponseReult<>();
|
||||
response.setCode(code, msg);
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败返回结果
|
||||
*
|
||||
* @param errorCode 错误码
|
||||
*/
|
||||
public static <T> ResponseReult<T> error(IErrorCode errorCode) {
|
||||
return ResponseReult.error(errorCode.getCode(), errorCode.getMessage());
|
||||
}
|
||||
|
||||
/**
|
||||
* 失败返回结果
|
||||
*
|
||||
* @param message 错误信息
|
||||
*/
|
||||
public static <T> ResponseReult<T> error(String message) {
|
||||
return ResponseReult.error(HttpStatus.HTTP_INTERNAL_ERROR, message);
|
||||
}
|
||||
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
@Data
|
||||
public class SendDataBean {
|
||||
private Integer eqmid;
|
||||
private BigInteger maxid;
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* service服务请求返回
|
||||
*
|
||||
* @author 晶晶
|
||||
*/
|
||||
@Data
|
||||
public class ServiceBody<T> {
|
||||
|
||||
/**
|
||||
* 返回体
|
||||
*/
|
||||
private T data;
|
||||
/**
|
||||
* 返回状态码
|
||||
*/
|
||||
private int code;
|
||||
/**
|
||||
* 错误描述
|
||||
*/
|
||||
private String msg;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
/**
|
||||
* 返回状态码
|
||||
*
|
||||
* @author xzg
|
||||
*/
|
||||
public class ServiceStatus {
|
||||
/**
|
||||
* 操作成功
|
||||
*/
|
||||
public static final int SUCCESS = 200;
|
||||
/**
|
||||
* 操作失败
|
||||
*/
|
||||
public static final int ERROR = 400;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package com.shxy.i2.bean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class YxAttrBean<T> {
|
||||
private String devicetype;
|
||||
private String sensorid;
|
||||
private String equipmentid;
|
||||
private String timestamp;
|
||||
private String phase;
|
||||
private String key;
|
||||
private T value;
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
package com.shxy.i2.configure;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.cxf.endpoint.Client;
|
||||
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
|
||||
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
||||
import org.apache.cxf.transport.http.HTTPConduit;
|
||||
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@Slf4j
|
||||
public class CxfClientConfig {
|
||||
@Value("${webservice.address}")
|
||||
public String address;
|
||||
//
|
||||
@Value("${webservice.connecttime}")
|
||||
public int connecttime;
|
||||
|
||||
@Value("${webservice.receivetime}")
|
||||
public int receivetime;
|
||||
/**
|
||||
* 采用代理方式
|
||||
*
|
||||
* @return NBAPlayerSoap
|
||||
*/
|
||||
// @Bean
|
||||
// public NBAPlayerSoap createAuthorPortTypeProxy() {
|
||||
// JaxWsProxyFactoryBean jaxWsProxyFactoryBean = new JaxWsProxyFactoryBean();
|
||||
// jaxWsProxyFactoryBean.setServiceClass(NBAPlayerSoap.class);
|
||||
// jaxWsProxyFactoryBean.setAddress(WsConst.SERVICE_ADDRESS);
|
||||
// return (NBAPlayerSoap) jaxWsProxyFactoryBean.create();
|
||||
// }
|
||||
|
||||
/**
|
||||
* 采用动态工厂方式 不需要指定服务接口
|
||||
* "http://www.webxml.com.cn/webservices/qqOnlineWebService.asmx?wsdl"
|
||||
*
|
||||
*/
|
||||
@Bean
|
||||
public Client createDynamicClient() {
|
||||
// 动态客户端
|
||||
JaxWsDynamicClientFactory clientFactory = JaxWsDynamicClientFactory.newInstance();
|
||||
log.info("实时数据 publicsecurity webService url : {}", address);
|
||||
//根据WebServices接口地址创建client
|
||||
Client client = clientFactory.createClient(address);
|
||||
HTTPConduit conduit = (HTTPConduit) client.getConduit();
|
||||
HTTPClientPolicy policy = new HTTPClientPolicy();
|
||||
policy.setAllowChunking(false);
|
||||
// 连接服务器超时时间 60秒
|
||||
policy.setConnectionTimeout(connecttime);
|
||||
// 等待服务器响应超时时间 60秒
|
||||
policy.setReceiveTimeout(receivetime);
|
||||
conduit.setClient(policy);
|
||||
return client;
|
||||
}
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
//package com.shxy.i2.configure;
|
||||
//
|
||||
//import lombok.extern.slf4j.Slf4j;
|
||||
//import org.apache.cxf.endpoint.Client;
|
||||
//import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
||||
//import org.apache.cxf.transport.http.HTTPConduit;
|
||||
//import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//
|
||||
//@Configuration
|
||||
//@Slf4j
|
||||
//public class JaxWsClientConfig {
|
||||
//
|
||||
// @Bean("JaxWsClient")
|
||||
// public Client client() {
|
||||
// // 创建动态客户端
|
||||
// JaxWsDynamicClientFactory clientFactory = JaxWsDynamicClientFactory.newInstance();
|
||||
// log.info("publicsecurity webService url : {}", "http://10.238.71.98:18096/ppa/webservice/CAGAccessService?wsdl");
|
||||
// //根据WebServices接口地址创建client
|
||||
// Client client = clientFactory.createClient("http://10.238.71.98:18096/ppa/webservice/CAGAccessService?wsdl");
|
||||
// HTTPConduit conduit = (HTTPConduit) client.getConduit();
|
||||
// HTTPClientPolicy policy = new HTTPClientPolicy();
|
||||
// policy.setAllowChunking(false);
|
||||
// // 连接服务器超时时间 10秒
|
||||
// policy.setConnectionTimeout(60000);
|
||||
// // 等待服务器响应超时时间 20秒
|
||||
// policy.setReceiveTimeout(20000);
|
||||
// conduit.setClient(policy);
|
||||
// return client;
|
||||
// }
|
||||
//}
|
@ -1,37 +0,0 @@
|
||||
//package com.shxy.i2.configure;
|
||||
//
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//import org.springframework.scheduling.annotation.EnableAsync;
|
||||
//import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
//
|
||||
//import java.util.concurrent.Executor;
|
||||
//import java.util.concurrent.ThreadPoolExecutor;
|
||||
//
|
||||
//
|
||||
//@Configuration
|
||||
//@EnableAsync
|
||||
//public class ThreadPoolConfig {
|
||||
//
|
||||
// /**
|
||||
// * 自定义线程池配置
|
||||
// *
|
||||
// * @return
|
||||
// */
|
||||
// @Bean(name = "asyncServiceExecutor")
|
||||
// public Executor asyncServiceExecutor() {
|
||||
// ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
|
||||
// //配置核心线程数
|
||||
// executor.setCorePoolSize(50);
|
||||
// //配置最大线程数
|
||||
// executor.setMaxPoolSize(200);
|
||||
// //配置队列大小
|
||||
// executor.setQueueCapacity(1000000);
|
||||
// //配置线程池中的线程的名称前缀
|
||||
// executor.setThreadNamePrefix("async-cron-table");
|
||||
// executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
||||
// executor.initialize();
|
||||
// return executor;
|
||||
// }
|
||||
//
|
||||
//}
|
@ -1,51 +0,0 @@
|
||||
//package com.shxy.i2;
|
||||
//
|
||||
//import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
|
||||
//import org.springframework.context.annotation.Bean;
|
||||
//import org.springframework.context.annotation.Configuration;
|
||||
//import org.springframework.oxm.jaxb.Jaxb2Marshaller;
|
||||
//import org.springframework.ws.client.core.WebServiceTemplate;
|
||||
//import org.springframework.ws.transport.http.HttpUrlConnectionMessageSender;
|
||||
//
|
||||
//import javax.xml.ws.soap.SOAPBinding;
|
||||
//
|
||||
//@Configuration
|
||||
//public class WebServiceConfig {
|
||||
//
|
||||
// @Bean(name = "webServiceTemplate")
|
||||
// public WebServiceTemplate webServiceTemplate(Jaxb2Marshaller marshaller) {
|
||||
// WebServiceTemplate webServiceTemplate = new WebServiceTemplate();
|
||||
// webServiceTemplate.setMarshaller(marshaller);
|
||||
// webServiceTemplate.setUnmarshaller(marshaller);
|
||||
// webServiceTemplate.setMessageSender(httpUrlConnectionMessageSender());
|
||||
// return webServiceTemplate;
|
||||
// }
|
||||
//
|
||||
// @Bean(name="httpUrlConnectionMessageSender")
|
||||
// public HttpUrlConnectionMessageSender httpUrlConnectionMessageSender() {
|
||||
// return new HttpUrlConnectionMessageSender();
|
||||
// }
|
||||
//
|
||||
// @Bean
|
||||
// public Jaxb2Marshaller marshaller() {
|
||||
// Jaxb2Marshaller marshaller = new Jaxb2Marshaller();
|
||||
// marshaller.setContextPath("com.example.demo");
|
||||
// return marshaller;
|
||||
// }
|
||||
//
|
||||
// @Bean(name="testServiceClient")
|
||||
// public TestService testServiceClient(Jaxb2Marshaller marshaller) {
|
||||
// JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
|
||||
// factory.setServiceClass(TestService.class);
|
||||
// factory.setAddress("http://localhost:8080/services/TestService");
|
||||
// factory.setServiceName(new QName("http://example.com/", "TestServicePort"));
|
||||
// factory.setEndpointName(new QName("http://example.com/", "TestServiceSoap"));
|
||||
// factory.setBindingId(SOAPBinding.SOAP11HTTP_BINDING);
|
||||
// factory.setUnmarshaller(marshaller);
|
||||
// factory.setMarshaller(marshaller);
|
||||
//
|
||||
// Object obj = factory.create();
|
||||
// return (TestService) obj;
|
||||
// }
|
||||
//
|
||||
//}
|
@ -1,29 +0,0 @@
|
||||
package com.shxy.i2.constant;
|
||||
|
||||
|
||||
/**
|
||||
* 常用状态
|
||||
* "0---删除 1---生效中"
|
||||
*
|
||||
* @author 晶晶
|
||||
*/
|
||||
public enum CommonStatus {
|
||||
UNUPLOAD("UNUPLOAD", 0), UPLOAD("UPLOAD", 1);
|
||||
|
||||
private String name;
|
||||
private Integer value;
|
||||
|
||||
CommonStatus(String name, Integer value) {
|
||||
this.name = name;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.value + "_" + this.name;
|
||||
}
|
||||
|
||||
public Integer value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
package com.shxy.i2.constant;
|
||||
|
||||
public class Constant {
|
||||
public static String Cacid = "changtai";
|
||||
|
||||
|
||||
public static String YXID = "yxid";
|
||||
public static String YSPID = "yspid";
|
||||
public static String BYQJBFDID = "byqjbfdid";
|
||||
public static String DLQJBFDID = "dlqjbfdid";
|
||||
public static String CNJID = "cnjid";
|
||||
public static String DCYWID = "dcywid";
|
||||
public static String DRJYJCID = "drjyjcid";
|
||||
public static String FHDLBXID = "fhdlbxid";
|
||||
public static String FHZXQID = "fhzxqid";
|
||||
public static String JSYHWJYJCID = "jsyhwjyjcid";
|
||||
public static String SF6QTSFID = "sf6qtsfid";
|
||||
public static String SF6QTYLID = "sf6qtylid";
|
||||
public static String TXID = "txid";
|
||||
public static String WSID = "wsid";
|
||||
public static String MICROCLIMATEID = "microclimateid";
|
||||
|
||||
public static String BYQ_JBFD = "021001";
|
||||
public static String YSP = "021002";
|
||||
public static String WS = "021003";
|
||||
public static String TX = "021004";
|
||||
public static String DCYW = "021005";
|
||||
public static String DRJYJC = "022001";
|
||||
public static String JSYHW = "023001";
|
||||
public static String DLQJBFD = "024001";
|
||||
public static String FHZXQ = "024002";
|
||||
public static String FHDLBX = "024003";
|
||||
public static String SF6_QTYL = "024004";
|
||||
public static String SF6_QTSF = "024005";
|
||||
public static String CNJ = "024006";
|
||||
public static String WQX = "025001";
|
||||
|
||||
|
||||
public static String data_byq_jbfd = "data_byq_jbfd";
|
||||
public static String data_cnj = "data_cnj";
|
||||
public static String data_dcyw = "data_dcyw";
|
||||
public static String data_dlq_jbfd = "data_dlq_jbfd";
|
||||
public static String data_dr_jyjc = "data_dr_jyjc";
|
||||
public static String data_fhdlbx = "data_fhdlbx";
|
||||
public static String data_fhzxq = "data_fhzxq";
|
||||
public static String data_jsyhw_jyjc = "data_jsyhw_jyjc";
|
||||
public static String data_microclimate = "data_microclimate";
|
||||
public static String data_sf6_qtsf = "data_sf6_qtsf";
|
||||
public static String data_sf6_qtyl = "data_sf6_qtyl";
|
||||
public static String data_tx = "data_tx";
|
||||
public static String data_ws = "data_ws";
|
||||
public static String data_ysp = "data_ysp";
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
package com.shxy.i2.controller;
|
||||
|
||||
import com.shxy.i2.bean.ListModel;
|
||||
import com.shxy.i2.bean.ResponseReult;
|
||||
import com.shxy.i2.bean.ServiceBody;
|
||||
import com.shxy.i2.bean.ServiceStatus;
|
||||
import com.shxy.i2.service.XydlI2Service;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@RestController
|
||||
@Slf4j
|
||||
public class CheckController {
|
||||
|
||||
@Autowired
|
||||
XydlI2Service xydlI2Service;
|
||||
|
||||
@RequestMapping("/list")
|
||||
public ResponseReult<ListModel> list() {
|
||||
ServiceBody<ListModel> serviceBody = xydlI2Service.list();
|
||||
if (serviceBody.getCode() == ServiceStatus.SUCCESS) {
|
||||
return ResponseReult.success(serviceBody.getData());
|
||||
} else {
|
||||
return ResponseReult.error(serviceBody.getCode(), serviceBody.getMsg());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.bean.SendDataBean;
|
||||
import com.shxy.i2.entity.Data_Byq_Jbfd;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_Byq_JbfdDao {
|
||||
|
||||
List<Data_Byq_Jbfd> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Byq_Jbfd selectMaxId();
|
||||
|
||||
Data_Byq_Jbfd selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Byq_Jbfd;
|
||||
import com.shxy.i2.entity.Data_Cnj;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_CnjDao {
|
||||
|
||||
List<Data_Cnj> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Cnj selectMaxId();
|
||||
|
||||
Data_Cnj selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Cnj;
|
||||
import com.shxy.i2.entity.Data_Dcyw;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_DcywDao {
|
||||
|
||||
List<Data_Dcyw> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Dcyw selectMaxId();
|
||||
|
||||
Data_Dcyw selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.bean.SendDataBean;
|
||||
import com.shxy.i2.entity.Data_Dcyw;
|
||||
import com.shxy.i2.entity.Data_Dlq_Jbfd;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_Dlq_JbfdDao {
|
||||
|
||||
|
||||
Data_Dlq_Jbfd selectMaxId();
|
||||
|
||||
Data_Dlq_Jbfd selectNowId(@Param("date") Date date);
|
||||
|
||||
List<Data_Dlq_Jbfd> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Dlq_Jbfd;
|
||||
import com.shxy.i2.entity.Data_Dr_Jyjc;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_Dr_JyjcDao {
|
||||
|
||||
List<Data_Dr_Jyjc> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Dr_Jyjc selectMaxId();
|
||||
|
||||
Data_Dr_Jyjc selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Dr_Jyjc;
|
||||
import com.shxy.i2.entity.Data_Fhdlbx;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_FhdlbxDao {
|
||||
|
||||
List<Data_Fhdlbx> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Fhdlbx selectMaxId();
|
||||
|
||||
Data_Fhdlbx selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Fhdlbx;
|
||||
import com.shxy.i2.entity.Data_Fhzxq;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_FhzxqDao {
|
||||
|
||||
List<Data_Fhzxq> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Fhzxq selectMaxId();
|
||||
|
||||
Data_Fhzxq selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Fhzxq;
|
||||
import com.shxy.i2.entity.Data_Jsyhw_Jyjc;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_Jsyhw_JyjcDao {
|
||||
|
||||
List<Data_Jsyhw_Jyjc> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Jsyhw_Jyjc selectMaxId();
|
||||
|
||||
Data_Jsyhw_Jyjc selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Jsyhw_Jyjc;
|
||||
import com.shxy.i2.entity.Data_Microclimate;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_MicroclimateDao {
|
||||
|
||||
List<Data_Microclimate> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Microclimate selectMaxId();
|
||||
|
||||
Data_Microclimate selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Microclimate;
|
||||
import com.shxy.i2.entity.Data_SF6_Qtsf;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_SF6_QtsfDao {
|
||||
|
||||
List<Data_SF6_Qtsf> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_SF6_Qtsf selectMaxId();
|
||||
|
||||
Data_SF6_Qtsf selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_SF6_Qtsf;
|
||||
import com.shxy.i2.entity.Data_SF6_Qtyl;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_SF6_QtylDao {
|
||||
|
||||
List<Data_SF6_Qtyl> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_SF6_Qtyl selectMaxId();
|
||||
|
||||
Data_SF6_Qtyl selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_SF6_Qtyl;
|
||||
import com.shxy.i2.entity.Data_Tx;
|
||||
import com.shxy.i2.entity.Data_Ysp;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_TxDao {
|
||||
|
||||
List<Data_Tx> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Tx selectMaxId();
|
||||
|
||||
Data_Tx selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Data_Tx;
|
||||
import com.shxy.i2.entity.Data_Ws;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_WsDao {
|
||||
|
||||
List<Data_Ws> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Ws selectMaxId();
|
||||
|
||||
Data_Ws selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import com.shxy.i2.bean.SendDataBean;
|
||||
import com.shxy.i2.entity.Data_Byq_Jbfd;
|
||||
import com.shxy.i2.entity.Data_Ysp;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_YspDao {
|
||||
|
||||
List<Data_Ysp> selectUploadById(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_Ysp selectMaxId();
|
||||
|
||||
Data_Ysp selectNowId(@Param("date") Date time);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.dto.Data_YxlDto;
|
||||
import com.shxy.i2.entity.Data_Ws;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Data_YxDao {
|
||||
|
||||
List<Data_YxlDto> selectByPrimaryKey(@Param("maxid") BigInteger maxid);
|
||||
|
||||
Data_YxlDto selectMaxId();
|
||||
|
||||
Data_YxlDto selectNowId(@Param("date") Date date);
|
||||
|
||||
int deleteData(@Param("time") Date time);
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Niec_Sensors;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface Niec_SensorsDao {
|
||||
|
||||
List<Niec_Sensors> selectAll();
|
||||
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Upload_Statics;
|
||||
import com.shxy.i2.entity.Upload_StaticsExample;
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface Upload_StaticsDao {
|
||||
long countByExample(Upload_StaticsExample example);
|
||||
|
||||
int deleteByExample(Upload_StaticsExample example);
|
||||
|
||||
int deleteByPrimaryKey(String checkType);
|
||||
|
||||
int insert(Upload_Statics record);
|
||||
|
||||
int insertSelective(Upload_Statics record);
|
||||
|
||||
List<Upload_Statics> selectByExample(Upload_StaticsExample example);
|
||||
|
||||
Upload_Statics selectByPrimaryKey(String checkType);
|
||||
|
||||
int updateByExampleSelective(@Param("record") Upload_Statics record, @Param("example") Upload_StaticsExample example);
|
||||
|
||||
int updateByExample(@Param("record") Upload_Statics record, @Param("example") Upload_StaticsExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(Upload_Statics record);
|
||||
|
||||
int updateByPrimaryKey(Upload_Statics record);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package com.shxy.i2.dao;
|
||||
|
||||
import com.shxy.i2.entity.Upload_check;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface Upload_checkDao {
|
||||
|
||||
Upload_check selectByPrimaryKey(String checkType);
|
||||
|
||||
List<Upload_check> selectAll();
|
||||
|
||||
int updateByPrimaryKey(@Param("checkType") String checkType, @Param("value") BigInteger value, @Param("updateTime") Date updateTime);
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package com.shxy.i2.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_SF6_QtylDetailDto {
|
||||
|
||||
private BigInteger id;
|
||||
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float temperature;
|
||||
|
||||
private Float absolutepressure;
|
||||
|
||||
private Float density;
|
||||
|
||||
private Float pressure20c;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package com.shxy.i2.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class Data_SF6_QtylDto {
|
||||
|
||||
private Integer eqmid;
|
||||
|
||||
private List<Data_SF6_QtylDetailDto> list;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
package com.shxy.i2.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class Data_YxlDto {
|
||||
|
||||
BigInteger id;
|
||||
BigInteger maxid;
|
||||
BigInteger minid;
|
||||
Integer sadr;
|
||||
Date dtime;
|
||||
Integer ival;
|
||||
String field;
|
||||
String sensorCode;
|
||||
String equipmentId;
|
||||
String tableName;
|
||||
String phase;
|
||||
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Byq_Jbfd implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float dischargecapacity;
|
||||
|
||||
private Float dischargeposition;
|
||||
|
||||
private Float pulsecount;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private byte[] dischargewaveform;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Cnj implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float chargetime;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Dcyw implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float oiltemperature;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
@Data
|
||||
public class Data_Dlq_Jbfd implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private String phase;
|
||||
|
||||
private Float dischargecapacity;
|
||||
|
||||
private Float dischargeposition;
|
||||
|
||||
private Float pulsecount;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private byte[] dischargewaveform;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Dr_Jyjc implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float capacitance;
|
||||
|
||||
private Float lossfactor;
|
||||
|
||||
private Float unbalancecurrent;
|
||||
|
||||
private Float unbalancevoltage;
|
||||
|
||||
private Float totalcurrent;
|
||||
|
||||
private Float systemvoltage;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Fhdlbx implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Integer action;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private byte[] loadwaveform;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Fhzxq implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Integer action;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private byte[] coilwaveform;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Jsyhw_Jyjc implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float systemvoltage;
|
||||
|
||||
private Float totalcurrent;
|
||||
|
||||
private Float resistivecurrent;
|
||||
|
||||
private Float actioncount;
|
||||
|
||||
private Date lastactiontime;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
package com.shxy.i2.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class Data_Microclimate implements Serializable {
|
||||
private BigInteger id;
|
||||
private BigInteger maxid;
|
||||
private BigInteger minid;
|
||||
private Integer eqmid;
|
||||
|
||||
private Date acquisitiontime;
|
||||
|
||||
private Float airtemperature;
|
||||
|
||||
private Float airpressure;
|
||||
|
||||
private Float humidity;
|
||||
|
||||
private Float precipitation;
|
||||
|
||||
private Float wddir;
|
||||
|
||||
private Float precipitationintensity;
|
||||
|
||||
private Float radiationintensity;
|
||||
|
||||
private Integer isupload;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue