www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,6 @@
|
|||
Manifest-Version: 1.0
|
||||
Archiver-Version: Plexus Archiver
|
||||
Created-By: Apache Maven 3.8.7
|
||||
Built-By: jenkins
|
||||
Build-Jdk: 17.0.16
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#Generated by Maven
|
||||
#Mon Jul 07 23:51:17 CEST 2025
|
||||
artifactId=acxent-checkvat
|
||||
groupId=it.acxent
|
||||
version=1.0.0
|
||||
|
|
@ -0,0 +1,65 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>it.acxent</groupId>
|
||||
<artifactId>acxent-checkvat</artifactId>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<name>Check Vat Service</name>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-toolchains-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>toolchain</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<toolchains>
|
||||
<jdk>
|
||||
<version>11</version>
|
||||
</jdk>
|
||||
</toolchains>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.axis</groupId>
|
||||
<artifactId>axis</artifactId>
|
||||
<version>1.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.xml.rpc</groupId>
|
||||
<artifactId>javax.xml.rpc-api</artifactId>
|
||||
<version>1.1.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>github-repo</id>
|
||||
<name>GitHub acolzi Apache Maven Packages</name>
|
||||
<url>https://maven.pkg.github.com/acolzi/repo</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,381 @@
|
|||
package checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.net.URL;
|
||||
import java.rmi.RemoteException;
|
||||
import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
import java.util.Map;
|
||||
import java.util.Vector;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.rpc.Service;
|
||||
import javax.xml.rpc.holders.BooleanHolder;
|
||||
import javax.xml.rpc.holders.StringHolder;
|
||||
import org.apache.axis.AxisFault;
|
||||
import org.apache.axis.NoEndPointException;
|
||||
import org.apache.axis.client.Call;
|
||||
import org.apache.axis.client.Stub;
|
||||
import org.apache.axis.constants.Style;
|
||||
import org.apache.axis.constants.Use;
|
||||
import org.apache.axis.description.OperationDesc;
|
||||
import org.apache.axis.description.ParameterDesc;
|
||||
import org.apache.axis.encoding.DeserializerFactory;
|
||||
import org.apache.axis.encoding.SerializerFactory;
|
||||
import org.apache.axis.encoding.XMLType;
|
||||
import org.apache.axis.encoding.ser.ArrayDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.ArraySerializerFactory;
|
||||
import org.apache.axis.encoding.ser.BaseDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.BaseSerializerFactory;
|
||||
import org.apache.axis.encoding.ser.BeanDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.BeanSerializerFactory;
|
||||
import org.apache.axis.encoding.ser.EnumDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.EnumSerializerFactory;
|
||||
import org.apache.axis.encoding.ser.SimpleDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.SimpleListDeserializerFactory;
|
||||
import org.apache.axis.encoding.ser.SimpleListSerializerFactory;
|
||||
import org.apache.axis.encoding.ser.SimpleSerializerFactory;
|
||||
import org.apache.axis.holders.DateHolder;
|
||||
import org.apache.axis.soap.SOAPConstants;
|
||||
import org.apache.axis.utils.JavaUtils;
|
||||
import types.checkVat.services.vies.taxud.eu.europa.ec.MatchCode;
|
||||
import types.checkVat.services.vies.taxud.eu.europa.ec.holders.MatchCodeHolder;
|
||||
|
||||
public class CheckVatBindingStub extends Stub implements CheckVatPortType {
|
||||
private Vector cachedSerClasses = new Vector();
|
||||
|
||||
private Vector cachedSerQNames = new Vector();
|
||||
|
||||
private Vector cachedSerFactories = new Vector();
|
||||
|
||||
private Vector cachedDeserFactories = new Vector();
|
||||
|
||||
static OperationDesc[] _operations = new OperationDesc[2];
|
||||
|
||||
static {
|
||||
_initOperationDesc1();
|
||||
}
|
||||
|
||||
private static void _initOperationDesc1() {
|
||||
OperationDesc oper = new OperationDesc();
|
||||
oper.setName("checkVat");
|
||||
ParameterDesc param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "date"), Date.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "name"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
param.setNillable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "address"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
param.setNillable(true);
|
||||
oper.addParameter(param);
|
||||
oper.setReturnType(XMLType.AXIS_VOID);
|
||||
oper.setStyle(Style.WRAPPED);
|
||||
oper.setUse(Use.LITERAL);
|
||||
_operations[0] = oper;
|
||||
oper = new OperationDesc();
|
||||
oper.setName("checkVatApprox");
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderName"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyType"), (byte)3, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "companyTypeCode"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreet"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcode"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCity"), (byte)3, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requesterCountryCode"), (byte)1, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requesterVatNumber"), (byte)1, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "date"), Date.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderAddress"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderNameMatch"), (byte)2, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"), MatchCode.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyTypeMatch"), (byte)2, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"), MatchCode.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreetMatch"), (byte)2, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"), MatchCode.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcodeMatch"), (byte)2, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"), MatchCode.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCityMatch"), (byte)2, new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"), MatchCode.class, false, false);
|
||||
param.setOmittable(true);
|
||||
oper.addParameter(param);
|
||||
param = new ParameterDesc(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestIdentifier"), (byte)2, new QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false);
|
||||
oper.addParameter(param);
|
||||
oper.setReturnType(XMLType.AXIS_VOID);
|
||||
oper.setStyle(Style.WRAPPED);
|
||||
oper.setUse(Use.LITERAL);
|
||||
_operations[1] = oper;
|
||||
}
|
||||
|
||||
public CheckVatBindingStub() throws AxisFault {
|
||||
this(null);
|
||||
}
|
||||
|
||||
public CheckVatBindingStub(URL endpointURL, Service service) throws AxisFault {
|
||||
this(service);
|
||||
this.cachedEndpoint = endpointURL;
|
||||
}
|
||||
|
||||
public CheckVatBindingStub(Service service) throws AxisFault {
|
||||
if (service == null) {
|
||||
this.service = new org.apache.axis.client.Service();
|
||||
} else {
|
||||
this.service = service;
|
||||
}
|
||||
((org.apache.axis.client.Service)this.service).setTypeMappingVersion("1.2");
|
||||
Class<BeanSerializerFactory> beansf = BeanSerializerFactory.class;
|
||||
Class<BeanDeserializerFactory> beandf = BeanDeserializerFactory.class;
|
||||
Class<EnumSerializerFactory> enumsf = EnumSerializerFactory.class;
|
||||
Class<EnumDeserializerFactory> enumdf = EnumDeserializerFactory.class;
|
||||
Class<ArraySerializerFactory> arraysf = ArraySerializerFactory.class;
|
||||
Class<ArrayDeserializerFactory> arraydf = ArrayDeserializerFactory.class;
|
||||
Class<SimpleSerializerFactory> simplesf = SimpleSerializerFactory.class;
|
||||
Class<SimpleDeserializerFactory> simpledf = SimpleDeserializerFactory.class;
|
||||
Class<SimpleListSerializerFactory> simplelistsf = SimpleListSerializerFactory.class;
|
||||
Class<SimpleListDeserializerFactory> simplelistdf = SimpleListDeserializerFactory.class;
|
||||
QName qName = new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "companyTypeCode");
|
||||
this.cachedSerQNames.add(qName);
|
||||
Class<String> cls = String.class;
|
||||
this.cachedSerClasses.add(cls);
|
||||
this.cachedSerFactories.add(BaseSerializerFactory.createFactory(SimpleSerializerFactory.class, cls, qName));
|
||||
this.cachedDeserFactories.add(BaseDeserializerFactory.createFactory(SimpleDeserializerFactory.class, cls, qName));
|
||||
qName = new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode");
|
||||
this.cachedSerQNames.add(qName);
|
||||
Class<MatchCode> clazz = MatchCode.class;
|
||||
this.cachedSerClasses.add(clazz);
|
||||
this.cachedSerFactories.add(enumsf);
|
||||
this.cachedDeserFactories.add(enumdf);
|
||||
}
|
||||
|
||||
protected Call createCall() throws RemoteException {
|
||||
try {
|
||||
Call _call = _createCall();
|
||||
if (this.maintainSessionSet)
|
||||
_call.setMaintainSession(this.maintainSession);
|
||||
if (this.cachedUsername != null)
|
||||
_call.setUsername(this.cachedUsername);
|
||||
if (this.cachedPassword != null)
|
||||
_call.setPassword(this.cachedPassword);
|
||||
if (this.cachedEndpoint != null)
|
||||
_call.setTargetEndpointAddress(this.cachedEndpoint);
|
||||
if (this.cachedTimeout != null)
|
||||
_call.setTimeout(this.cachedTimeout);
|
||||
if (this.cachedPortName != null)
|
||||
_call.setPortName(this.cachedPortName);
|
||||
Enumeration<Object> keys = this.cachedProperties.keys();
|
||||
while (keys.hasMoreElements()) {
|
||||
String key = (String)keys.nextElement();
|
||||
_call.setProperty(key, this.cachedProperties.get(key));
|
||||
}
|
||||
synchronized (this) {
|
||||
if (firstCall()) {
|
||||
_call.setEncodingStyle(null);
|
||||
for (int i = 0; i < this.cachedSerFactories.size(); i++) {
|
||||
Class cls = this.cachedSerClasses.get(i);
|
||||
QName qName = this.cachedSerQNames.get(i);
|
||||
Object x = this.cachedSerFactories.get(i);
|
||||
if (x instanceof Class) {
|
||||
Class sf = this.cachedSerFactories.get(i);
|
||||
Class df = this.cachedDeserFactories.get(i);
|
||||
_call.registerTypeMapping(cls, qName, sf, df, false);
|
||||
} else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
|
||||
SerializerFactory sf = this.cachedSerFactories.get(i);
|
||||
DeserializerFactory df = this.cachedDeserFactories.get(i);
|
||||
_call.registerTypeMapping(cls, qName, sf, df, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return _call;
|
||||
} catch (Throwable _t) {
|
||||
throw new AxisFault("Failure trying to get the Call object", _t);
|
||||
}
|
||||
}
|
||||
|
||||
public void checkVat(StringHolder countryCode, StringHolder vatNumber, DateHolder requestDate, BooleanHolder valid, StringHolder name, StringHolder address) throws RemoteException {
|
||||
if (this.cachedEndpoint == null)
|
||||
throw new NoEndPointException();
|
||||
Call _call = createCall();
|
||||
_call.setOperation(_operations[0]);
|
||||
_call.setUseSOAPAction(true);
|
||||
_call.setSOAPActionURI("");
|
||||
_call.setEncodingStyle(null);
|
||||
_call.setProperty("sendXsiTypes", Boolean.FALSE);
|
||||
_call.setProperty("sendMultiRefs", Boolean.FALSE);
|
||||
_call.setSOAPVersion((SOAPConstants)SOAPConstants.SOAP11_CONSTANTS);
|
||||
_call.setOperationName(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "checkVat"));
|
||||
setRequestHeaders(_call);
|
||||
setAttachments(_call);
|
||||
try {
|
||||
Object _resp = _call.invoke(new Object[] { countryCode.value, vatNumber.value });
|
||||
if (_resp instanceof RemoteException)
|
||||
throw (RemoteException)_resp;
|
||||
extractAttachments(_call);
|
||||
Map _output = _call.getOutputParams();
|
||||
try {
|
||||
countryCode.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode"));
|
||||
} catch (Exception _exception) {
|
||||
countryCode.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode")), String.class);
|
||||
}
|
||||
try {
|
||||
vatNumber.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber"));
|
||||
} catch (Exception _exception) {
|
||||
vatNumber.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber")), String.class);
|
||||
}
|
||||
try {
|
||||
requestDate.value = (Date)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate"));
|
||||
} catch (Exception _exception) {
|
||||
requestDate.value = (Date)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate")), Date.class);
|
||||
}
|
||||
try {
|
||||
valid.value = (Boolean)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid"));
|
||||
} catch (Exception _exception) {
|
||||
valid.value = (Boolean)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid")), boolean.class);
|
||||
}
|
||||
try {
|
||||
name.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "name"));
|
||||
} catch (Exception _exception) {
|
||||
name.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "name")), String.class);
|
||||
}
|
||||
try {
|
||||
address.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "address"));
|
||||
} catch (Exception _exception) {
|
||||
address.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "address")), String.class);
|
||||
}
|
||||
} catch (AxisFault axisFaultException) {
|
||||
throw axisFaultException;
|
||||
}
|
||||
}
|
||||
|
||||
public void checkVatApprox(StringHolder countryCode, StringHolder vatNumber, StringHolder traderName, StringHolder traderCompanyType, StringHolder traderStreet, StringHolder traderPostcode, StringHolder traderCity, String requesterCountryCode, String requesterVatNumber, DateHolder requestDate, BooleanHolder valid, StringHolder traderAddress, MatchCodeHolder traderNameMatch, MatchCodeHolder traderCompanyTypeMatch, MatchCodeHolder traderStreetMatch, MatchCodeHolder traderPostcodeMatch, MatchCodeHolder traderCityMatch, StringHolder requestIdentifier) throws RemoteException {
|
||||
if (this.cachedEndpoint == null)
|
||||
throw new NoEndPointException();
|
||||
Call _call = createCall();
|
||||
_call.setOperation(_operations[1]);
|
||||
_call.setUseSOAPAction(true);
|
||||
_call.setSOAPActionURI("");
|
||||
_call.setEncodingStyle(null);
|
||||
_call.setProperty("sendXsiTypes", Boolean.FALSE);
|
||||
_call.setProperty("sendMultiRefs", Boolean.FALSE);
|
||||
_call.setSOAPVersion((SOAPConstants)SOAPConstants.SOAP11_CONSTANTS);
|
||||
_call.setOperationName(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "checkVatApprox"));
|
||||
setRequestHeaders(_call);
|
||||
setAttachments(_call);
|
||||
try {
|
||||
Object _resp = _call.invoke(new Object[] { countryCode.value, vatNumber.value, traderName.value, traderCompanyType.value, traderStreet.value, traderPostcode.value, traderCity.value, requesterCountryCode, requesterVatNumber });
|
||||
if (_resp instanceof RemoteException)
|
||||
throw (RemoteException)_resp;
|
||||
extractAttachments(_call);
|
||||
Map _output = _call.getOutputParams();
|
||||
try {
|
||||
countryCode.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode"));
|
||||
} catch (Exception _exception) {
|
||||
countryCode.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "countryCode")), String.class);
|
||||
}
|
||||
try {
|
||||
vatNumber.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber"));
|
||||
} catch (Exception _exception) {
|
||||
vatNumber.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "vatNumber")), String.class);
|
||||
}
|
||||
try {
|
||||
traderName.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderName"));
|
||||
} catch (Exception _exception) {
|
||||
traderName.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderName")), String.class);
|
||||
}
|
||||
try {
|
||||
traderCompanyType.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyType"));
|
||||
} catch (Exception _exception) {
|
||||
traderCompanyType.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyType")), String.class);
|
||||
}
|
||||
try {
|
||||
traderStreet.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreet"));
|
||||
} catch (Exception _exception) {
|
||||
traderStreet.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreet")), String.class);
|
||||
}
|
||||
try {
|
||||
traderPostcode.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcode"));
|
||||
} catch (Exception _exception) {
|
||||
traderPostcode.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcode")), String.class);
|
||||
}
|
||||
try {
|
||||
traderCity.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCity"));
|
||||
} catch (Exception _exception) {
|
||||
traderCity.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCity")), String.class);
|
||||
}
|
||||
try {
|
||||
requestDate.value = (Date)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate"));
|
||||
} catch (Exception _exception) {
|
||||
requestDate.value = (Date)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestDate")), Date.class);
|
||||
}
|
||||
try {
|
||||
valid.value = (Boolean)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid"));
|
||||
} catch (Exception _exception) {
|
||||
valid.value = (Boolean)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "valid")), boolean.class);
|
||||
}
|
||||
try {
|
||||
traderAddress.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderAddress"));
|
||||
} catch (Exception _exception) {
|
||||
traderAddress.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderAddress")), String.class);
|
||||
}
|
||||
try {
|
||||
traderNameMatch.value = (MatchCode)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderNameMatch"));
|
||||
} catch (Exception _exception) {
|
||||
traderNameMatch.value = (MatchCode)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderNameMatch")), MatchCode.class);
|
||||
}
|
||||
try {
|
||||
traderCompanyTypeMatch.value = (MatchCode)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyTypeMatch"));
|
||||
} catch (Exception _exception) {
|
||||
traderCompanyTypeMatch.value = (MatchCode)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCompanyTypeMatch")), MatchCode.class);
|
||||
}
|
||||
try {
|
||||
traderStreetMatch.value = (MatchCode)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreetMatch"));
|
||||
} catch (Exception _exception) {
|
||||
traderStreetMatch.value = (MatchCode)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderStreetMatch")), MatchCode.class);
|
||||
}
|
||||
try {
|
||||
traderPostcodeMatch.value = (MatchCode)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcodeMatch"));
|
||||
} catch (Exception _exception) {
|
||||
traderPostcodeMatch.value = (MatchCode)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderPostcodeMatch")), MatchCode.class);
|
||||
}
|
||||
try {
|
||||
traderCityMatch.value = (MatchCode)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCityMatch"));
|
||||
} catch (Exception _exception) {
|
||||
traderCityMatch.value = (MatchCode)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "traderCityMatch")), MatchCode.class);
|
||||
}
|
||||
try {
|
||||
requestIdentifier.value = (String)_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestIdentifier"));
|
||||
} catch (Exception _exception) {
|
||||
requestIdentifier.value = (String)JavaUtils.convert(_output.get(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "requestIdentifier")), String.class);
|
||||
}
|
||||
} catch (AxisFault axisFaultException) {
|
||||
throw axisFaultException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.rmi.Remote;
|
||||
import java.rmi.RemoteException;
|
||||
import javax.xml.rpc.holders.BooleanHolder;
|
||||
import javax.xml.rpc.holders.StringHolder;
|
||||
import org.apache.axis.holders.DateHolder;
|
||||
import types.checkVat.services.vies.taxud.eu.europa.ec.holders.MatchCodeHolder;
|
||||
|
||||
public interface CheckVatPortType extends Remote {
|
||||
void checkVat(StringHolder paramStringHolder1, StringHolder paramStringHolder2, DateHolder paramDateHolder, BooleanHolder paramBooleanHolder, StringHolder paramStringHolder3, StringHolder paramStringHolder4) throws RemoteException;
|
||||
|
||||
void checkVatApprox(StringHolder paramStringHolder1, StringHolder paramStringHolder2, StringHolder paramStringHolder3, StringHolder paramStringHolder4, StringHolder paramStringHolder5, StringHolder paramStringHolder6, StringHolder paramStringHolder7, String paramString1, String paramString2, DateHolder paramDateHolder, BooleanHolder paramBooleanHolder, StringHolder paramStringHolder8, MatchCodeHolder paramMatchCodeHolder1, MatchCodeHolder paramMatchCodeHolder2, MatchCodeHolder paramMatchCodeHolder3, MatchCodeHolder paramMatchCodeHolder4, MatchCodeHolder paramMatchCodeHolder5, StringHolder paramStringHolder9) throws RemoteException;
|
||||
}
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
package checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.rmi.RemoteException;
|
||||
import javax.xml.rpc.ServiceException;
|
||||
import javax.xml.rpc.Stub;
|
||||
import javax.xml.rpc.holders.BooleanHolder;
|
||||
import javax.xml.rpc.holders.StringHolder;
|
||||
import org.apache.axis.holders.DateHolder;
|
||||
import types.checkVat.services.vies.taxud.eu.europa.ec.holders.MatchCodeHolder;
|
||||
|
||||
public class CheckVatPortTypeProxy implements CheckVatPortType {
|
||||
private String _endpoint = null;
|
||||
|
||||
private CheckVatPortType checkVatPortType = null;
|
||||
|
||||
public CheckVatPortTypeProxy() {
|
||||
_initCheckVatPortTypeProxy();
|
||||
}
|
||||
|
||||
public CheckVatPortTypeProxy(String endpoint) {
|
||||
this._endpoint = endpoint;
|
||||
_initCheckVatPortTypeProxy();
|
||||
}
|
||||
|
||||
private void _initCheckVatPortTypeProxy() {
|
||||
try {
|
||||
this.checkVatPortType = new CheckVatServiceLocator().getcheckVatPort();
|
||||
if (this.checkVatPortType != null)
|
||||
if (this._endpoint != null) {
|
||||
((Stub)this.checkVatPortType)._setProperty("javax.xml.rpc.service.endpoint.address", this._endpoint);
|
||||
} else {
|
||||
this._endpoint = (String)((Stub)this.checkVatPortType)._getProperty("javax.xml.rpc.service.endpoint.address");
|
||||
}
|
||||
} catch (ServiceException e) {}
|
||||
}
|
||||
|
||||
public String getEndpoint() {
|
||||
return this._endpoint;
|
||||
}
|
||||
|
||||
public void setEndpoint(String endpoint) {
|
||||
this._endpoint = endpoint;
|
||||
if (this.checkVatPortType != null)
|
||||
((Stub)this.checkVatPortType)._setProperty("javax.xml.rpc.service.endpoint.address", this._endpoint);
|
||||
}
|
||||
|
||||
public CheckVatPortType getCheckVatPortType() {
|
||||
if (this.checkVatPortType == null)
|
||||
_initCheckVatPortTypeProxy();
|
||||
return this.checkVatPortType;
|
||||
}
|
||||
|
||||
public void checkVat(StringHolder countryCode, StringHolder vatNumber, DateHolder requestDate, BooleanHolder valid, StringHolder name, StringHolder address) throws RemoteException {
|
||||
if (this.checkVatPortType == null)
|
||||
_initCheckVatPortTypeProxy();
|
||||
this.checkVatPortType.checkVat(countryCode, vatNumber, requestDate, valid, name, address);
|
||||
}
|
||||
|
||||
public void checkVatApprox(StringHolder countryCode, StringHolder vatNumber, StringHolder traderName, StringHolder traderCompanyType, StringHolder traderStreet, StringHolder traderPostcode, StringHolder traderCity, String requesterCountryCode, String requesterVatNumber, DateHolder requestDate, BooleanHolder valid, StringHolder traderAddress, MatchCodeHolder traderNameMatch, MatchCodeHolder traderCompanyTypeMatch, MatchCodeHolder traderStreetMatch, MatchCodeHolder traderPostcodeMatch, MatchCodeHolder traderCityMatch, StringHolder requestIdentifier) throws RemoteException {
|
||||
if (this.checkVatPortType == null)
|
||||
_initCheckVatPortTypeProxy();
|
||||
this.checkVatPortType.checkVatApprox(countryCode, vatNumber, traderName, traderCompanyType, traderStreet, traderPostcode, traderCity, requesterCountryCode, requesterVatNumber, requestDate, valid, traderAddress, traderNameMatch, traderCompanyTypeMatch, traderStreetMatch, traderPostcodeMatch, traderCityMatch, requestIdentifier);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
package checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.net.URL;
|
||||
import javax.xml.rpc.Service;
|
||||
import javax.xml.rpc.ServiceException;
|
||||
|
||||
public interface CheckVatService extends Service {
|
||||
String getcheckVatPortAddress();
|
||||
|
||||
CheckVatPortType getcheckVatPort() throws ServiceException;
|
||||
|
||||
CheckVatPortType getcheckVatPort(URL paramURL) throws ServiceException;
|
||||
}
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
package checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.rmi.Remote;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.rpc.ServiceException;
|
||||
import org.apache.axis.AxisFault;
|
||||
import org.apache.axis.EngineConfiguration;
|
||||
import org.apache.axis.client.Service;
|
||||
import org.apache.axis.client.Stub;
|
||||
|
||||
public class CheckVatServiceLocator extends Service implements CheckVatService {
|
||||
public CheckVatServiceLocator() {}
|
||||
|
||||
public CheckVatServiceLocator(EngineConfiguration config) {
|
||||
super(config);
|
||||
}
|
||||
|
||||
public CheckVatServiceLocator(String wsdlLoc, QName sName) throws ServiceException {
|
||||
super(wsdlLoc, sName);
|
||||
}
|
||||
|
||||
private String checkVatPort_address = "http://ec.europa.eu/taxation_customs/vies/services/checkVatService";
|
||||
|
||||
public String getcheckVatPortAddress() {
|
||||
return this.checkVatPort_address;
|
||||
}
|
||||
|
||||
private String checkVatPortWSDDServiceName = "checkVatPort";
|
||||
|
||||
public String getcheckVatPortWSDDServiceName() {
|
||||
return this.checkVatPortWSDDServiceName;
|
||||
}
|
||||
|
||||
public void setcheckVatPortWSDDServiceName(String name) {
|
||||
this.checkVatPortWSDDServiceName = name;
|
||||
}
|
||||
|
||||
public CheckVatPortType getcheckVatPort() throws ServiceException {
|
||||
URL endpoint;
|
||||
try {
|
||||
endpoint = new URL(this.checkVatPort_address);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new ServiceException(e);
|
||||
}
|
||||
return getcheckVatPort(endpoint);
|
||||
}
|
||||
|
||||
public CheckVatPortType getcheckVatPort(URL portAddress) throws ServiceException {
|
||||
try {
|
||||
CheckVatBindingStub _stub = new CheckVatBindingStub(portAddress, this);
|
||||
_stub.setPortName(getcheckVatPortWSDDServiceName());
|
||||
return _stub;
|
||||
} catch (AxisFault e) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void setcheckVatPortEndpointAddress(String address) {
|
||||
this.checkVatPort_address = address;
|
||||
}
|
||||
|
||||
public Remote getPort(Class serviceEndpointInterface) throws ServiceException {
|
||||
try {
|
||||
if (CheckVatPortType.class.isAssignableFrom(serviceEndpointInterface)) {
|
||||
CheckVatBindingStub _stub = new CheckVatBindingStub(new URL(this.checkVatPort_address), this);
|
||||
_stub.setPortName(getcheckVatPortWSDDServiceName());
|
||||
return _stub;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
throw new ServiceException(t);
|
||||
}
|
||||
throw new ServiceException("There is no stub implementation for the interface: " + ((serviceEndpointInterface == null) ? "null" : serviceEndpointInterface.getName()));
|
||||
}
|
||||
|
||||
public Remote getPort(QName portName, Class serviceEndpointInterface) throws ServiceException {
|
||||
if (portName == null)
|
||||
return getPort(serviceEndpointInterface);
|
||||
String inputPortName = portName.getLocalPart();
|
||||
if ("checkVatPort".equals(inputPortName))
|
||||
return getcheckVatPort();
|
||||
Remote _stub = getPort(serviceEndpointInterface);
|
||||
((Stub)_stub).setPortName(portName);
|
||||
return _stub;
|
||||
}
|
||||
|
||||
public QName getServiceName() {
|
||||
return new QName("urn:ec.europa.eu:taxud:vies:services:checkVat", "checkVatService");
|
||||
}
|
||||
|
||||
private HashSet ports = null;
|
||||
|
||||
public Iterator getPorts() {
|
||||
if (this.ports == null) {
|
||||
this.ports = new HashSet();
|
||||
this.ports.add(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat", "checkVatPort"));
|
||||
}
|
||||
return this.ports.iterator();
|
||||
}
|
||||
|
||||
public void setEndpointAddress(String portName, String address) throws ServiceException {
|
||||
if ("checkVatPort".equals(portName)) {
|
||||
setcheckVatPortEndpointAddress(address);
|
||||
} else {
|
||||
throw new ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
|
||||
}
|
||||
}
|
||||
|
||||
public void setEndpointAddress(QName portName, String address) throws ServiceException {
|
||||
setEndpointAddress(portName.getLocalPart(), address);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
package it.acxent.checkVatService;
|
||||
|
||||
import checkVat.services.vies.taxud.eu.europa.ec.CheckVatPortTypeProxy;
|
||||
import java.sql.Date;
|
||||
import javax.xml.rpc.holders.BooleanHolder;
|
||||
import javax.xml.rpc.holders.StringHolder;
|
||||
import org.apache.axis.holders.DateHolder;
|
||||
|
||||
public class CheckVatClient {
|
||||
private String name;
|
||||
|
||||
private String address;
|
||||
|
||||
private String vatNumber;
|
||||
|
||||
private String countryCode;
|
||||
|
||||
private Date requestDate;
|
||||
|
||||
private boolean valid;
|
||||
|
||||
public CheckVatClient(String countryCode, String vatNumber) {
|
||||
BooleanHolder validSH = new BooleanHolder();
|
||||
DateHolder requestDateSH = new DateHolder();
|
||||
StringHolder countryCodeSH = new StringHolder(countryCode);
|
||||
StringHolder vatNumberSH = new StringHolder(vatNumber);
|
||||
StringHolder nameSH = new StringHolder();
|
||||
StringHolder addressSH = new StringHolder();
|
||||
CheckVatPortTypeProxy service = new CheckVatPortTypeProxy();
|
||||
try {
|
||||
service.checkVat(countryCodeSH, vatNumberSH, requestDateSH, validSH, nameSH, addressSH);
|
||||
setAddress(addressSH.value);
|
||||
setName(nameSH.value);
|
||||
setValid(validSH.value);
|
||||
setRequestDate(new Date(requestDateSH.value.getTime()));
|
||||
setCountryCode(countryCode);
|
||||
setVatNumber(vatNumber);
|
||||
} catch (Exception e) {}
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return (this.name == null) ? "" : this.name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return (this.address == null) ? "" : this.address.trim();
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getVatNumber() {
|
||||
return (this.vatNumber == null) ? "" : this.vatNumber;
|
||||
}
|
||||
|
||||
public void setVatNumber(String vatNumber) {
|
||||
this.vatNumber = vatNumber;
|
||||
}
|
||||
|
||||
public String getCountryCode() {
|
||||
return (this.countryCode == null) ? "" : this.countryCode;
|
||||
}
|
||||
|
||||
public void setCountryCode(String countryCode) {
|
||||
this.countryCode = countryCode;
|
||||
}
|
||||
|
||||
public Date getRequestDate() {
|
||||
return this.requestDate;
|
||||
}
|
||||
|
||||
public void setRequestDate(Date requestDate) {
|
||||
this.requestDate = requestDate;
|
||||
}
|
||||
|
||||
public boolean getValid() {
|
||||
return this.valid;
|
||||
}
|
||||
|
||||
public void setValid(boolean valid) {
|
||||
this.valid = valid;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
package types.checkVat.services.vies.taxud.eu.europa.ec;
|
||||
|
||||
import java.io.ObjectStreamException;
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import javax.xml.namespace.QName;
|
||||
import org.apache.axis.description.TypeDesc;
|
||||
import org.apache.axis.encoding.Deserializer;
|
||||
import org.apache.axis.encoding.Serializer;
|
||||
import org.apache.axis.encoding.ser.EnumDeserializer;
|
||||
import org.apache.axis.encoding.ser.EnumSerializer;
|
||||
|
||||
public class MatchCode implements Serializable {
|
||||
private String _value_;
|
||||
|
||||
private static HashMap _table_ = new HashMap();
|
||||
|
||||
public static final String _value1 = "1";
|
||||
|
||||
public static final String _value2 = "2";
|
||||
|
||||
protected MatchCode(String value) {
|
||||
this._value_ = value;
|
||||
_table_.put(this._value_, this);
|
||||
}
|
||||
|
||||
public static final MatchCode value1 = new MatchCode("1");
|
||||
|
||||
public static final MatchCode value2 = new MatchCode("2");
|
||||
|
||||
public String getValue() {
|
||||
return this._value_;
|
||||
}
|
||||
|
||||
public static MatchCode fromValue(String value) throws IllegalArgumentException {
|
||||
MatchCode enumeration = (MatchCode)
|
||||
_table_.get(value);
|
||||
if (enumeration == null)
|
||||
throw new IllegalArgumentException();
|
||||
return enumeration;
|
||||
}
|
||||
|
||||
public static MatchCode fromString(String value) throws IllegalArgumentException {
|
||||
return fromValue(value);
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
return (obj == this);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return toString().hashCode();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this._value_;
|
||||
}
|
||||
|
||||
public Object readResolve() throws ObjectStreamException {
|
||||
return fromValue(this._value_);
|
||||
}
|
||||
|
||||
public static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType) {
|
||||
return new EnumSerializer(_javaType, _xmlType);
|
||||
}
|
||||
|
||||
public static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType) {
|
||||
return new EnumDeserializer(_javaType, _xmlType);
|
||||
}
|
||||
|
||||
private static TypeDesc typeDesc = new TypeDesc(MatchCode.class);
|
||||
|
||||
static {
|
||||
typeDesc.setXmlType(new QName("urn:ec.europa.eu:taxud:vies:services:checkVat:types", "matchCode"));
|
||||
}
|
||||
|
||||
public static TypeDesc getTypeDesc() {
|
||||
return typeDesc;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package types.checkVat.services.vies.taxud.eu.europa.ec.holders;
|
||||
|
||||
import javax.xml.rpc.holders.Holder;
|
||||
import types.checkVat.services.vies.taxud.eu.europa.ec.MatchCode;
|
||||
|
||||
public final class MatchCodeHolder implements Holder {
|
||||
public MatchCode value;
|
||||
|
||||
public MatchCodeHolder() {}
|
||||
|
||||
public MatchCodeHolder(MatchCode value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue