From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- src/main/java/at/gv/util/wsdl/szr/SZR.java | 270 +++++++++++++++++++++ .../java/at/gv/util/wsdl/szr/SZRException.java | 54 +++++ src/main/java/at/gv/util/wsdl/szr/SZRService.java | 93 +++++++ 3 files changed, 417 insertions(+) create mode 100644 src/main/java/at/gv/util/wsdl/szr/SZR.java create mode 100644 src/main/java/at/gv/util/wsdl/szr/SZRException.java create mode 100644 src/main/java/at/gv/util/wsdl/szr/SZRService.java (limited to 'src/main/java/at/gv/util/wsdl/szr') diff --git a/src/main/java/at/gv/util/wsdl/szr/SZR.java b/src/main/java/at/gv/util/wsdl/szr/SZR.java new file mode 100644 index 0000000..381617b --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZR.java @@ -0,0 +1,270 @@ + +package at.gv.util.wsdl.szr; + +import java.util.List; +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; +import javax.xml.ws.Holder; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; +import at.gv.util.xsd.szr.BasiszahlZuBPKReturnType; +import at.gv.util.xsd.szr.FremdBPKRequestType; +import at.gv.util.xsd.szr.FremdBPKType; +import at.gv.util.xsd.szr.GetBPKKombiRequestType; +import at.gv.util.xsd.szr.GetBPKKombiResponseType; +import at.gv.util.xsd.szr.GetVersionResponse; +import at.gv.util.xsd.szr.IdentityLinkType; +import at.gv.util.xsd.szr.PersonInfoType; +import at.gv.util.xsd.szr.ZMRAnwendungsIntegrationReturnType; +import at.gv.util.xsd.szr.xmldsig.KeyValueType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "SZR", targetNamespace = "urn:SZRServices") +@XmlSeeAlso({ + at.gv.util.xsd.szr.persondata.ObjectFactory.class, + at.gv.util.xsd.szr.ObjectFactory.class, + at.gv.util.xsd.szr.ecdsa.ObjectFactory.class, + at.gv.util.xsd.szr.xmldsig.ObjectFactory.class, + at.gv.util.xsd.szr.pvp.sec.ObjectFactory.class, + at.gv.util.xsd.szr.pvp.ObjectFactory.class +}) +public interface SZR { + + + /** + * + * @param insertERnP + * @param personInfo + * @param keyValue + * @return + * returns at.gv.util.xsd.szr.IdentityLinkType + * @throws SZRException + */ + @WebMethod(operationName = "GetIdentityLink") + @WebResult(name = "GetIdentityLinkReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetIdentityLink", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetIdentityLink") + @ResponseWrapper(localName = "GetIdentityLinkResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetIdentityLinkResponse") + public IdentityLinkType getIdentityLink( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "KeyValue", targetNamespace = "urn:SZRServices") + List keyValue, + @WebParam(name = "InsertERnP", targetNamespace = "urn:SZRServices") + Boolean insertERnP) + throws SZRException + ; + + /** + * + * @param listMultiplePersons + * @param target + * @param personInfo0 + * @param bereichsKennung + * @param getBPKReturn + * @param fremdBPK + * @param vkz + * @param personInfo + * @throws SZRException + */ + @WebMethod(operationName = "GetBPK") + @RequestWrapper(localName = "GetBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPK") + @ResponseWrapper(localName = "GetBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKResponse") + public void getBPK( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "BereichsKennung", targetNamespace = "urn:SZRServices") + String bereichsKennung, + @WebParam(name = "VKZ", targetNamespace = "urn:SZRServices") + String vkz, + @WebParam(name = "Target", targetNamespace = "urn:SZRServices") + List target, + @WebParam(name = "ListMultiplePersons", targetNamespace = "urn:SZRServices") + Boolean listMultiplePersons, + @WebParam(name = "GetBPKReturn", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder getBPKReturn, + @WebParam(name = "FremdBPK", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder> fremdBPK, + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices", mode = WebParam.Mode.OUT) + Holder> personInfo0) + throws SZRException + ; + + /** + * + * @param getBPKKombiRequest + * @return + * returns at.gv.util.xsd.szr.GetBPKKombiResponseType + * @throws SZRException + */ + @WebMethod(operationName = "GetBPKKombi") + @WebResult(name = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetBPKKombi", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKKombi") + @ResponseWrapper(localName = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetBPKKombiResponse") + public GetBPKKombiResponseType getBPKKombi( + @WebParam(name = "GetBPKKombiRequest", targetNamespace = "urn:SZRServices") + GetBPKKombiRequestType getBPKKombiRequest) + throws SZRException + ; + + /** + * + * @param identityLink + * @param bereichsKennung + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "ValidateIdentityLink") + @WebResult(name = "ValidateIdentityLinkReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "ValidateIdentityLink", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ValidateIdentityLink") + @ResponseWrapper(localName = "ValidateIdentityLinkResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ValidateIdentityLinkResponse") + public String validateIdentityLink( + @WebParam(name = "IdentityLink", targetNamespace = "urn:SZRServices") + IdentityLinkType identityLink, + @WebParam(name = "BereichsKennung", targetNamespace = "urn:SZRServices") + String bereichsKennung) + throws SZRException + ; + + /** + * + * @param begruendung + * @param inputBereichsKennung + * @param inputBPK + * @param target + * @param personInfo + * @return + * returns java.util.List + * @throws SZRException + */ + @WebMethod(operationName = "TransformBPK") + @WebResult(name = "TransformBPKReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "TransformBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.TransformBPK") + @ResponseWrapper(localName = "TransformBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.TransformBPKResponse") + public List transformBPK( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo, + @WebParam(name = "InputBPK", targetNamespace = "urn:SZRServices") + String inputBPK, + @WebParam(name = "InputBereichsKennung", targetNamespace = "urn:SZRServices") + String inputBereichsKennung, + @WebParam(name = "Begruendung", targetNamespace = "urn:SZRServices") + String begruendung, + @WebParam(name = "Target", targetNamespace = "urn:SZRServices") + List target) + throws SZRException + ; + + /** + * + * @param basisZahl + * @param bpk + * @param bereich + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "BPKzuBasiszahl") + @WebResult(name = "BPKzuBasiszahlReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "BPKzuBasiszahl", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BPKzuBasiszahl") + @ResponseWrapper(localName = "BPKzuBasiszahlResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BPKzuBasiszahlResponse") + public String bpKzuBasiszahl( + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "BPK", targetNamespace = "urn:SZRServices") + String bpk, + @WebParam(name = "BasisZahl", targetNamespace = "urn:SZRServices") + List basisZahl) + throws SZRException + ; + + /** + * + * @param fremdBPKTargets + * @param basisZahl + * @param bereich + * @return + * returns java.util.List + * @throws SZRException + */ + @WebMethod(operationName = "BasiszahlZuBPK") + @WebResult(name = "BasiszahlZuBPKReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "BasiszahlZuBPK", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BasiszahlZuBPK") + @ResponseWrapper(localName = "BasiszahlZuBPKResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.BasiszahlZuBPKResponse") + public List basiszahlZuBPK( + @WebParam(name = "BasisZahl", targetNamespace = "urn:SZRServices") + List basisZahl, + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "FremdBPKTargets", targetNamespace = "urn:SZRServices") + List fremdBPKTargets) + throws SZRException + ; + + /** + * + * @param zmRfremdbPK + * @param fremdBPKTargets + * @param bereich + * @return + * returns java.util.List + * @throws SZRException + */ + @WebMethod(operationName = "ZMRAnwendungsIntegration") + @WebResult(name = "ZMRAnwendungsIntegrationReturn", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "ZMRAnwendungsIntegration", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ZMRAnwendungsIntegration") + @ResponseWrapper(localName = "ZMRAnwendungsIntegrationResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.ZMRAnwendungsIntegrationResponse") + public List zmrAnwendungsIntegration( + @WebParam(name = "Bereich", targetNamespace = "urn:SZRServices") + String bereich, + @WebParam(name = "FremdBPKTargets", targetNamespace = "urn:SZRServices") + List fremdBPKTargets, + @WebParam(name = "ZMRfremdbPK", targetNamespace = "urn:SZRServices") + List zmRfremdbPK) + throws SZRException + ; + + /** + * + * @param personInfo + * @return + * returns java.lang.String + * @throws SZRException + */ + @WebMethod(operationName = "GetStammzahl") + @WebResult(name = "Stammzahl", targetNamespace = "urn:SZRServices") + @RequestWrapper(localName = "GetStammzahl", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetStammzahl") + @ResponseWrapper(localName = "GetStammzahlResponse", targetNamespace = "urn:SZRServices", className = "at.gv.util.xsd.szr.GetStammzahlResponse") + public String getStammzahl( + @WebParam(name = "PersonInfo", targetNamespace = "urn:SZRServices") + PersonInfoType personInfo) + throws SZRException + ; + + /** + * + * @param parameters + * @return + * returns at.gv.util.xsd.szr.GetVersionResponse + * @throws SZRException + */ + @WebMethod(operationName = "GetVersion") + @WebResult(name = "GetVersionResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) + public GetVersionResponse getVersion( + @WebParam(name = "GetVersion", targetNamespace = "urn:SZRServices", partName = "parameters") + Object parameters) + throws SZRException + ; + +} diff --git a/src/main/java/at/gv/util/wsdl/szr/SZRException.java b/src/main/java/at/gv/util/wsdl/szr/SZRException.java new file mode 100644 index 0000000..f8bdf70 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZRException.java @@ -0,0 +1,54 @@ + +package at.gv.util.wsdl.szr; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebFault(name = "SZRException", targetNamespace = "urn:SZRServices") +public class SZRException + extends Exception +{ + + /** + * Java type that goes as soapenv:Fault detail element. + * + */ + private at.gv.util.xsd.szr.SZRException faultInfo; + + /** + * + * @param message + * @param faultInfo + */ + public SZRException(String message, at.gv.util.xsd.szr.SZRException faultInfo) { + super(message); + this.faultInfo = faultInfo; + } + + /** + * + * @param message + * @param faultInfo + * @param cause + */ + public SZRException(String message, at.gv.util.xsd.szr.SZRException faultInfo, Throwable cause) { + super(message, cause); + this.faultInfo = faultInfo; + } + + /** + * + * @return + * returns fault bean: at.gv.util.xsd.szr.SZRException + */ + public at.gv.util.xsd.szr.SZRException getFaultInfo() { + return faultInfo; + } + +} diff --git a/src/main/java/at/gv/util/wsdl/szr/SZRService.java b/src/main/java/at/gv/util/wsdl/szr/SZRService.java new file mode 100644 index 0000000..adc728c --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/szr/SZRService.java @@ -0,0 +1,93 @@ + +package at.gv.util.wsdl.szr; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "SZRService", targetNamespace = "urn:SZRServices", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl") +public class SZRService + extends Service +{ + + private final static URL SZRSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.szr.SZRService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.szr.SZRService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/szr/SZR_v2.0.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + SZRSERVICE_WSDL_LOCATION = url; + } + + public SZRService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public SZRService() { + super(SZRSERVICE_WSDL_LOCATION, new QName("urn:SZRServices", "SZRService")); + } + + /** + * + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung() { + return super.getPort(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung(WebServiceFeature... features) { + return super.getPort(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class, features); + } + + /** + * + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung() { + return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns SZR + */ + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung(WebServiceFeature... features) { + return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class, features); + } + +} -- cgit v1.2.3