diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-03-08 08:07:11 +0100 |
commit | c7e92047632432346c13723925f45888461887e9 (patch) | |
tree | 3cc1e96e2d0bc59047b484bbb86f227e21aa9cb9 /src/main/java/at/gv/util/wsdl/mis | |
parent | e5474ef416f8d9f6cb2c3b6e900ad1eb5ac20a38 (diff) | |
download | egovutils-c7e92047632432346c13723925f45888461887e9.tar.gz egovutils-c7e92047632432346c13723925f45888461887e9.tar.bz2 egovutils-c7e92047632432346c13723925f45888461887e9.zip |
add USP_v2 client implementation
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/mis')
8 files changed, 407 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateFault.java new file mode 100644 index 0000000..6109b1d --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.619+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "CreateMandateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class CreateMandateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault; + + public CreateMandateFault() { + super(); + } + + public CreateMandateFault(String message) { + super(message); + } + + public CreateMandateFault(String message, Throwable cause) { + super(message, cause); + } + + public CreateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault) { + super(message); + this.createMandateFault = createMandateFault; + } + + public CreateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateFault, Throwable cause) { + super(message, cause); + this.createMandateFault = createMandateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.createMandateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java new file mode 100644 index 0000000..7a03bec --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/CreateMandateStateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.581+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "CreateMandateStateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class CreateMandateStateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault; + + public CreateMandateStateFault() { + super(); + } + + public CreateMandateStateFault(String message) { + super(message); + } + + public CreateMandateStateFault(String message, Throwable cause) { + super(message, cause); + } + + public CreateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault) { + super(message); + this.createMandateStateFault = createMandateStateFault; + } + + public CreateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType createMandateStateFault, Throwable cause) { + super(message, cause); + this.createMandateStateFault = createMandateStateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.createMandateStateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java new file mode 100644 index 0000000..e64ecf7 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ISyncService.java @@ -0,0 +1,62 @@ +package at.gv.util.wsdl.mis.usp_v2; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.650+02:00 + * Generated source version: 3.1.10 + * + */ +@WebService(targetNamespace = "http://xmlns.example.com/1481028889472", name = "ISyncService") +@XmlSeeAlso({at.gv.util.xsd.mis.usp_v2.eai.synchronisation.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.common.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.xmldsig.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.persondata.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.mandates.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.addpersondata.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.token.ObjectFactory.class, at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ObjectFactory.class}) +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +public interface ISyncService { + + @WebMethod(operationName = "CreateMandateState", action = "CreateMandateState") + @WebResult(name = "CreateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType createMandateState( + @WebParam(partName = "parameters", name = "CreateMandateAsyncResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.CreateMandateAsyncResponse parameters + ) throws CreateMandateStateFault; + + @WebMethod(operationName = "CreateMandate", action = "CreateMandate") + @WebResult(name = "CreateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType createMandate( + @WebParam(partName = "parameters", name = "CreateMandateRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.MandateRequestType parameters + ) throws CreateMandateFault; + + @WebMethod(operationName = "ListMandates", action = "ListMandates") + @WebResult(name = "ListMandatesResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ListMandatesResponseType listMandates( + @WebParam(partName = "parameters", name = "ListMandatesRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.ListMandatesRequest parameters + ) throws ListMandatesFault; + + @WebMethod(operationName = "RequestModificationToken", action = "RequestModificationToken") + @WebResult(name = "ModificationTokenResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/token", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenResponse requestModificationToken( + @WebParam(partName = "parameters", name = "ModificationTokenRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/token") + at.gv.util.xsd.mis.usp_v2.eai.token.ModificationTokenRequest parameters + ) throws RequestModificationTokenFault; + + @WebMethod(operationName = "TerminateMandate", action = "TerminateMandate") + @WebResult(name = "TerminateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType terminateMandate( + @WebParam(partName = "parameters", name = "TerminateMandateRequest", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.MandateRequestType parameters + ) throws TerminateMandateFault; + + @WebMethod(operationName = "TerminateMandateState", action = "TerminateMandateState") + @WebResult(name = "TerminateMandateAck", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs", partName = "parameters") + public at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType terminateMandateState( + @WebParam(partName = "parameters", name = "TerminateMandateAsyncResponse", targetNamespace = "http://eai.brz.gv.at/services/vdds/sync-msgs") + at.gv.util.xsd.mis.usp_v2.eai.syncmsgs.TerminateMandateAsyncResponse parameters + ) throws TerminateMandateStateFault; +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java new file mode 100644 index 0000000..7766724 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/ListMandatesFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.619+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "ListMandatesFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class ListMandatesFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault; + + public ListMandatesFault() { + super(); + } + + public ListMandatesFault(String message) { + super(message); + } + + public ListMandatesFault(String message, Throwable cause) { + super(message, cause); + } + + public ListMandatesFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault) { + super(message); + this.listMandatesFault = listMandatesFault; + } + + public ListMandatesFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType listMandatesFault, Throwable cause) { + super(message, cause); + this.listMandatesFault = listMandatesFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.listMandatesFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java new file mode 100644 index 0000000..5f7c6c5 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/RequestModificationTokenFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "RequestModificationTokenFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class RequestModificationTokenFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault; + + public RequestModificationTokenFault() { + super(); + } + + public RequestModificationTokenFault(String message) { + super(message); + } + + public RequestModificationTokenFault(String message, Throwable cause) { + super(message, cause); + } + + public RequestModificationTokenFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault) { + super(message); + this.requestModificationTokenFault = requestModificationTokenFault; + } + + public RequestModificationTokenFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType requestModificationTokenFault, Throwable cause) { + super(message, cause); + this.requestModificationTokenFault = requestModificationTokenFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.requestModificationTokenFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java new file mode 100644 index 0000000..90fb789 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/SynchronisationServiceServiceagent.java @@ -0,0 +1,87 @@ +package at.gv.util.wsdl.mis.usp_v2; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.Service; + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.666+02:00 + * Generated source version: 3.1.10 + * + */ +@WebServiceClient(name = "synchronisation-service.serviceagent", + wsdlLocation = "file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl", + targetNamespace = "http://xmlns.example.com/1481028889472") +public class SynchronisationServiceServiceagent extends Service { + + public final static URL WSDL_LOCATION; + + public final static QName SERVICE = new QName("http://xmlns.example.com/1481028889472", "synchronisation-service.serviceagent"); + public final static QName ISyncServiceEndpoint = new QName("http://xmlns.example.com/1481028889472", "ISyncServiceEndpoint"); + static { + URL url = null; + try { + url = new URL("file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl"); + } catch (MalformedURLException e) { + java.util.logging.Logger.getLogger(SynchronisationServiceServiceagent.class.getName()) + .log(java.util.logging.Level.INFO, + "Can not initialize the default wsdl from {0}", "file:./src/main/resources/wsdl/mis/usp_v2/Synchronisation-1.wsdl"); + } + WSDL_LOCATION = url; + } + + public SynchronisationServiceServiceagent(URL wsdlLocation) { + super(wsdlLocation, SERVICE); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SynchronisationServiceServiceagent() { + super(WSDL_LOCATION, SERVICE); + } + + public SynchronisationServiceServiceagent(WebServiceFeature ... features) { + super(WSDL_LOCATION, SERVICE, features); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, WebServiceFeature ... features) { + super(wsdlLocation, SERVICE, features); + } + + public SynchronisationServiceServiceagent(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { + super(wsdlLocation, serviceName, features); + } + + + + + /** + * + * @return + * returns ISyncService + */ + @WebEndpoint(name = "ISyncServiceEndpoint") + public ISyncService getISyncServiceEndpoint() { + return super.getPort(ISyncServiceEndpoint, ISyncService.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 ISyncService + */ + @WebEndpoint(name = "ISyncServiceEndpoint") + public ISyncService getISyncServiceEndpoint(WebServiceFeature... features) { + return super.getPort(ISyncServiceEndpoint, ISyncService.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java new file mode 100644 index 0000000..f0c0e0e --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "TerminateMandateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class TerminateMandateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault; + + public TerminateMandateFault() { + super(); + } + + public TerminateMandateFault(String message) { + super(message); + } + + public TerminateMandateFault(String message, Throwable cause) { + super(message, cause); + } + + public TerminateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault) { + super(message); + this.terminateMandateFault = terminateMandateFault; + } + + public TerminateMandateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateFault, Throwable cause) { + super(message, cause); + this.terminateMandateFault = terminateMandateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.terminateMandateFault; + } +} diff --git a/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java new file mode 100644 index 0000000..937b1ba --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/mis/usp_v2/TerminateMandateStateFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.mis.usp_v2; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2018-09-12T08:57:26.635+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "TerminateMandateStateFault", targetNamespace = "http://eai.brz.gv.at/services/vdds/synchronisation") +public class TerminateMandateStateFault extends Exception { + + private at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault; + + public TerminateMandateStateFault() { + super(); + } + + public TerminateMandateStateFault(String message) { + super(message); + } + + public TerminateMandateStateFault(String message, Throwable cause) { + super(message, cause); + } + + public TerminateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault) { + super(message); + this.terminateMandateStateFault = terminateMandateStateFault; + } + + public TerminateMandateStateFault(String message, at.gv.util.xsd.mis.usp_v2.eai.common.ResultType terminateMandateStateFault, Throwable cause) { + super(message, cause); + this.terminateMandateStateFault = terminateMandateStateFault; + } + + public at.gv.util.xsd.mis.usp_v2.eai.common.ResultType getFaultInfo() { + return this.terminateMandateStateFault; + } +} |