diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2021-09-15 12:15:26 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2021-09-15 12:15:26 +0200 |
commit | 29c73e94ebabcb66a3d0ce56e75c6634d9b0e918 (patch) | |
tree | 51a5e77477b2ea21983eaf7fe8fcc7077db2ee95 /src/main/java/at/gv/util/wsdl/szr | |
parent | 5a8c04fa5ac93b7e5d4a2f2d9be5aeda1ac9e479 (diff) | |
download | egovutils-29c73e94ebabcb66a3d0ce56e75c6634d9b0e918.tar.gz egovutils-29c73e94ebabcb66a3d0ce56e75c6634d9b0e918.tar.bz2 egovutils-29c73e94ebabcb66a3d0ce56e75c6634d9b0e918.zip |
debug code to check missing XML namespaces
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/szr')
-rw-r--r-- | src/main/java/at/gv/util/wsdl/szr/SZR.java | 88 | ||||
-rw-r--r-- | src/main/java/at/gv/util/wsdl/szr/SZRException.java | 6 | ||||
-rw-r--r-- | src/main/java/at/gv/util/wsdl/szr/SZRService.java | 62 |
3 files changed, 76 insertions, 80 deletions
diff --git a/src/main/java/at/gv/util/wsdl/szr/SZR.java b/src/main/java/at/gv/util/wsdl/szr/SZR.java index e2ed77c..bd178f9 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZR.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZR.java @@ -8,83 +8,83 @@ import javax.jws.soap.SOAPBinding; import javax.xml.bind.annotation.XmlSeeAlso; /** - * This class was generated by Apache CXF 3.0.1 - * 2014-10-28T17:23:34.032+01:00 - * Generated source version: 3.0.1 + * This class was generated by Apache CXF 3.1.10 + * 2021-09-15T12:11:21.383+02:00 + * Generated source version: 3.1.10 * */ @WebService(targetNamespace = "urn:SZRServices", name = "SZR") -@XmlSeeAlso({at.gv.util.xsd.szr.xmldsig.ObjectFactory.class, at.gv.util.xsd.szr.persondata.ObjectFactory.class, at.gv.util.xsd.szr.pvp.sec.ObjectFactory.class, at.gv.util.xsd.szr.ecdsa.ObjectFactory.class, at.gv.util.xsd.szr.ObjectFactory.class, at.gv.util.xsd.szr.pvp.ObjectFactory.class}) +@XmlSeeAlso({at.gv.util.xsd.szr.xmldsig.ObjectFactory.class, at.gv.util.xsd.szr.pvp.ObjectFactory.class, at.gv.util.xsd.szr.ObjectFactory.class, at.gv.util.xsd.szr.persondata.ObjectFactory.class, at.gv.util.xsd.szr.ecdsa.ObjectFactory.class, at.gv.util.xsd.szr.pvp.sec.ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface SZR { - @WebResult(name = "TransformBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "TransformBPK") - public at.gv.util.xsd.szr.TransformBPKResponse transformBPK( - @WebParam(partName = "parameters", name = "TransformBPK", targetNamespace = "urn:SZRServices") - at.gv.util.xsd.szr.TransformBPK parameters - ) throws SZRException; - - @WebResult(name = "GetIdentityLinkResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "GetIdentityLink") - public at.gv.util.xsd.szr.GetIdentityLinkResponse getIdentityLink( - @WebParam(partName = "parameters", name = "GetIdentityLink", targetNamespace = "urn:SZRServices") - at.gv.util.xsd.szr.GetIdentityLink parameters + @WebMethod(operationName = "GetBPK") + @WebResult(name = "GetBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.GetBPKResponse getBPK( + @WebParam(partName = "parameters", name = "GetBPK", targetNamespace = "urn:SZRServices") + at.gv.util.xsd.szr.GetBPK parameters ) throws SZRException; - @WebResult(name = "ZMRAnwendungsIntegrationResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @WebMethod(operationName = "ZMRAnwendungsIntegration") + @WebResult(name = "ZMRAnwendungsIntegrationResponse", targetNamespace = "urn:SZRServices", partName = "parameters") public at.gv.util.xsd.szr.ZMRAnwendungsIntegrationResponse zmrAnwendungsIntegration( @WebParam(partName = "parameters", name = "ZMRAnwendungsIntegration", targetNamespace = "urn:SZRServices") at.gv.util.xsd.szr.ZMRAnwendungsIntegration parameters ) throws SZRException; - @WebResult(name = "BPKzuBasiszahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "BPKzuBasiszahl") - public at.gv.util.xsd.szr.BPKzuBasiszahlResponse bpKzuBasiszahl( - @WebParam(partName = "parameters", name = "BPKzuBasiszahl", targetNamespace = "urn:SZRServices") - at.gv.util.xsd.szr.BPKzuBasiszahl parameters - ) throws SZRException; - - @WebResult(name = "BasiszahlZuBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "BasiszahlZuBPK") - public at.gv.util.xsd.szr.BasiszahlZuBPKResponse basiszahlZuBPK( - @WebParam(partName = "parameters", name = "BasiszahlZuBPK", targetNamespace = "urn:SZRServices") - at.gv.util.xsd.szr.BasiszahlZuBPK parameters + @WebMethod(operationName = "TransformBPK") + @WebResult(name = "TransformBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.TransformBPKResponse transformBPK( + @WebParam(partName = "parameters", name = "TransformBPK", targetNamespace = "urn:SZRServices") + at.gv.util.xsd.szr.TransformBPK parameters ) throws SZRException; - @WebResult(name = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @WebMethod(operationName = "GetBPKKombi") + @WebResult(name = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices", partName = "parameters") public at.gv.util.xsd.szr.GetBPKKombiResponse getBPKKombi( @WebParam(partName = "parameters", name = "GetBPKKombi", targetNamespace = "urn:SZRServices") at.gv.util.xsd.szr.GetBPKKombi parameters ) throws SZRException; - @WebResult(name = "GetVersionResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "GetVersion") - public at.gv.util.xsd.szr.GetVersionResponse getVersion( - @WebParam(partName = "parameters", name = "GetVersion", targetNamespace = "urn:SZRServices") - java.lang.Object parameters + @WebMethod(operationName = "GetIdentityLink") + @WebResult(name = "GetIdentityLinkResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.GetIdentityLinkResponse getIdentityLink( + @WebParam(partName = "parameters", name = "GetIdentityLink", targetNamespace = "urn:SZRServices") + at.gv.util.xsd.szr.GetIdentityLink parameters + ) throws SZRException; + + @WebMethod(operationName = "BasiszahlZuBPK") + @WebResult(name = "BasiszahlZuBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.BasiszahlZuBPKResponse basiszahlZuBPK( + @WebParam(partName = "parameters", name = "BasiszahlZuBPK", targetNamespace = "urn:SZRServices") + at.gv.util.xsd.szr.BasiszahlZuBPK parameters ) throws SZRException; - @WebResult(name = "GetStammzahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @WebMethod(operationName = "GetStammzahl") + @WebResult(name = "GetStammzahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") public at.gv.util.xsd.szr.GetStammzahlResponse getStammzahl( @WebParam(partName = "parameters", name = "GetStammzahl", targetNamespace = "urn:SZRServices") at.gv.util.xsd.szr.GetStammzahl parameters ) throws SZRException; - @WebResult(name = "GetBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") - @WebMethod(operationName = "GetBPK") - public at.gv.util.xsd.szr.GetBPKResponse getBPK( - @WebParam(partName = "parameters", name = "GetBPK", targetNamespace = "urn:SZRServices") - at.gv.util.xsd.szr.GetBPK parameters - ) throws SZRException; - - @WebResult(name = "ValidateIdentityLinkResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @WebMethod(operationName = "ValidateIdentityLink") + @WebResult(name = "ValidateIdentityLinkResponse", targetNamespace = "urn:SZRServices", partName = "parameters") public at.gv.util.xsd.szr.ValidateIdentityLinkResponse validateIdentityLink( @WebParam(partName = "parameters", name = "ValidateIdentityLink", targetNamespace = "urn:SZRServices") at.gv.util.xsd.szr.ValidateIdentityLink parameters ) throws SZRException; + + @WebMethod(operationName = "GetVersion") + @WebResult(name = "GetVersionResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.GetVersionResponse getVersion( + @WebParam(partName = "parameters", name = "GetVersion", targetNamespace = "urn:SZRServices") + java.lang.Object parameters + ) throws SZRException; + + @WebMethod(operationName = "BPKzuBasiszahl") + @WebResult(name = "BPKzuBasiszahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + public at.gv.util.xsd.szr.BPKzuBasiszahlResponse bpKzuBasiszahl( + @WebParam(partName = "parameters", name = "BPKzuBasiszahl", targetNamespace = "urn:SZRServices") + at.gv.util.xsd.szr.BPKzuBasiszahl 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 index 59ded4e..96c6ac2 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZRException.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZRException.java @@ -5,9 +5,9 @@ import javax.xml.ws.WebFault; /** - * This class was generated by Apache CXF 3.0.1 - * 2014-10-28T17:23:34.012+01:00 - * Generated source version: 3.0.1 + * This class was generated by Apache CXF 3.1.10 + * 2021-09-15T12:11:21.305+02:00 + * Generated source version: 3.1.10 */ @WebFault(name = "SZRException", targetNamespace = "urn:SZRServices") diff --git a/src/main/java/at/gv/util/wsdl/szr/SZRService.java b/src/main/java/at/gv/util/wsdl/szr/SZRService.java index 160e22c..9ec5ab2 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZRService.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZRService.java @@ -1,5 +1,6 @@ package at.gv.util.wsdl.szr; +import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.WebEndpoint; @@ -8,31 +9,30 @@ import javax.xml.ws.WebServiceFeature; import javax.xml.ws.Service; /** - * This class was generated by Apache CXF 3.0.1 - * 2014-10-28T17:23:34.052+01:00 - * Generated source version: 3.0.1 + * This class was generated by Apache CXF 3.1.10 + * 2021-09-15T12:11:21.452+02:00 + * Generated source version: 3.1.10 * */ @WebServiceClient(name = "SZRService", - wsdlLocation = "./src/main/resources/wsdl/szr/SZR_v2.0.wsdl", + wsdlLocation = "file:./src/main/resources/wsdl/szr/SZR_v2.0.wsdl", targetNamespace = "urn:SZRServices") public class SZRService extends Service { public final static URL WSDL_LOCATION; public final static QName SERVICE = new QName("urn:SZRServices", "SZRService"); - public final static QName SZRTestumgebung = new QName("urn:SZRServices", "SZRTestumgebung"); public final static QName SZRProduktionsumgebung = new QName("urn:SZRServices", "SZRProduktionsumgebung"); + public final static QName SZRTestumgebung = new QName("urn:SZRServices", "SZRTestumgebung"); static { - URL url = SZRService.class.getResource("./src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); - if (url == null) { - url = SZRService.class.getClassLoader().getResource("./src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); - } - if (url == null) { + URL url = null; + try { + url = new URL("file:./src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); + } catch (MalformedURLException e) { java.util.logging.Logger.getLogger(SZRService.class.getName()) .log(java.util.logging.Level.INFO, - "Can not initialize the default wsdl from {0}", "./src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); - } + "Can not initialize the default wsdl from {0}", "file:./src/main/resources/wsdl/szr/SZR_v2.0.wsdl"); + } WSDL_LOCATION = url; } @@ -48,35 +48,29 @@ public class SZRService extends Service { super(WSDL_LOCATION, SERVICE); } - //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2 - //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1 - //compliant code instead. public SZRService(WebServiceFeature ... features) { super(WSDL_LOCATION, SERVICE, features); } - //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2 - //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1 - //compliant code instead. public SZRService(URL wsdlLocation, WebServiceFeature ... features) { super(wsdlLocation, SERVICE, features); } - //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2 - //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1 - //compliant code instead. public SZRService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { super(wsdlLocation, serviceName, features); } + + + /** * * @return * returns SZR */ - @WebEndpoint(name = "SZRTestumgebung") - public SZR getSZRTestumgebung() { - return super.getPort(SZRTestumgebung, SZR.class); + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung() { + return super.getPort(SZRProduktionsumgebung, SZR.class); } /** @@ -86,18 +80,20 @@ public class SZRService extends Service { * @return * returns SZR */ - @WebEndpoint(name = "SZRTestumgebung") - public SZR getSZRTestumgebung(WebServiceFeature... features) { - return super.getPort(SZRTestumgebung, SZR.class, features); + @WebEndpoint(name = "SZRProduktionsumgebung") + public SZR getSZRProduktionsumgebung(WebServiceFeature... features) { + return super.getPort(SZRProduktionsumgebung, SZR.class, features); } + + /** * * @return * returns SZR */ - @WebEndpoint(name = "SZRProduktionsumgebung") - public SZR getSZRProduktionsumgebung() { - return super.getPort(SZRProduktionsumgebung, SZR.class); + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung() { + return super.getPort(SZRTestumgebung, SZR.class); } /** @@ -107,9 +103,9 @@ public class SZRService extends Service { * @return * returns SZR */ - @WebEndpoint(name = "SZRProduktionsumgebung") - public SZR getSZRProduktionsumgebung(WebServiceFeature... features) { - return super.getPort(SZRProduktionsumgebung, SZR.class, features); + @WebEndpoint(name = "SZRTestumgebung") + public SZR getSZRTestumgebung(WebServiceFeature... features) { + return super.getPort(SZRTestumgebung, SZR.class, features); } } |