From 7a5b350a93990956106d91679240b6e8326cb110 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 5 Nov 2014 08:07:15 +0100 Subject: change more client implementations to APACHE CXF --- src/main/java/at/gv/util/wsdl/szr/SZR.java | 306 +++++---------------- .../java/at/gv/util/wsdl/szr/SZRException.java | 61 ++-- src/main/java/at/gv/util/wsdl/szr/SZRService.java | 86 +++--- 3 files changed, 142 insertions(+), 311 deletions(-) (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 index 381617b..e2ed77c 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZR.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZR.java @@ -1,270 +1,90 @@ - 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 + * This class was generated by Apache CXF 3.0.1 + * 2014-10-28T17:23:34.032+01:00 + * Generated source version: 3.0.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 -}) +@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}) +@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; - /** - * - * @param insertERnP - * @param personInfo - * @param keyValue - * @return - * returns at.gv.util.xsd.szr.IdentityLinkType - * @throws SZRException - */ + @WebResult(name = "GetIdentityLinkResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @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 - ; + 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; - /** - * - * @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 - ; + @WebResult(name = "ZMRAnwendungsIntegrationResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + @WebMethod(operationName = "ZMRAnwendungsIntegration") + 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; - /** - * - * @param basisZahl - * @param bpk - * @param bereich - * @return - * returns java.lang.String - * @throws SZRException - */ + @WebResult(name = "BPKzuBasiszahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @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 - ; + 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; - /** - * - * @param fremdBPKTargets - * @param basisZahl - * @param bereich - * @return - * returns java.util.List - * @throws SZRException - */ + @WebResult(name = "BasiszahlZuBPKResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @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 - ; + 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; - /** - * - * @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 - ; + @WebResult(name = "GetBPKKombiResponse", targetNamespace = "urn:SZRServices", partName = "parameters") + @WebMethod(operationName = "GetBPKKombi") + 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 + ) throws SZRException; - /** - * - * @param personInfo - * @return - * returns java.lang.String - * @throws SZRException - */ + @WebResult(name = "GetStammzahlResponse", targetNamespace = "urn:SZRServices", partName = "parameters") @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 - ; + 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; - /** - * - * @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 - ; + @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") + 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; } 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 f8bdf70..59ded4e 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZRException.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZRException.java @@ -5,50 +5,39 @@ 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 - * + * This class was generated by Apache CXF 3.0.1 + * 2014-10-28T17:23:34.012+01:00 + * Generated source version: 3.0.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) { +public class SZRException extends Exception { + + private at.gv.util.xsd.szr.SZRException szrException; + + public SZRException() { + super(); + } + + public SZRException(String message) { super(message); - this.faultInfo = faultInfo; + } + + public SZRException(String message, Throwable cause) { + super(message, cause); } - /** - * - * @param message - * @param faultInfo - * @param cause - */ - public SZRException(String message, at.gv.util.xsd.szr.SZRException faultInfo, Throwable cause) { + public SZRException(String message, at.gv.util.xsd.szr.SZRException szrException) { + super(message); + this.szrException = szrException; + } + + public SZRException(String message, at.gv.util.xsd.szr.SZRException szrException, Throwable cause) { super(message, cause); - this.faultInfo = faultInfo; + this.szrException = szrException; } - /** - * - * @return - * returns fault bean: at.gv.util.xsd.szr.SZRException - */ public at.gv.util.xsd.szr.SZRException getFaultInfo() { - return faultInfo; + return this.szrException; } - } 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 adc728c..160e22c 100644 --- a/src/main/java/at/gv/util/wsdl/szr/SZRService.java +++ b/src/main/java/at/gv/util/wsdl/szr/SZRService.java @@ -1,41 +1,43 @@ - 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; - +import javax.xml.ws.Service; /** - * This class was generated by the JAX-WS RI. - * JAX-WS RI 2.1.6 in JDK 6 - * Generated source version: 2.1 + * This class was generated by Apache CXF 3.0.1 + * 2014-10-28T17:23:34.052+01:00 + * Generated source version: 3.0.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 -{ +@WebServiceClient(name = "SZRService", + wsdlLocation = "./src/main/resources/wsdl/szr/SZR_v2.0.wsdl", + targetNamespace = "urn:SZRServices") +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()); + 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"); 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; + 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) { + 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"); + } + WSDL_LOCATION = url; + } + + public SZRService(URL wsdlLocation) { + super(wsdlLocation, SERVICE); } public SZRService(URL wsdlLocation, QName serviceName) { @@ -43,17 +45,38 @@ public class SZRService } public SZRService() { - super(SZRSERVICE_WSDL_LOCATION, new QName("urn:SZRServices", "SZRService")); + 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(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class); + return super.getPort(SZRTestumgebung, SZR.class); } /** @@ -65,17 +88,16 @@ public class SZRService */ @WebEndpoint(name = "SZRTestumgebung") public SZR getSZRTestumgebung(WebServiceFeature... features) { - return super.getPort(new QName("urn:SZRServices", "SZRTestumgebung"), SZR.class, features); + return super.getPort(SZRTestumgebung, SZR.class, features); } - /** - * + * * @return * returns SZR */ @WebEndpoint(name = "SZRProduktionsumgebung") public SZR getSZRProduktionsumgebung() { - return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class); + return super.getPort(SZRProduktionsumgebung, SZR.class); } /** @@ -87,7 +109,7 @@ public class SZRService */ @WebEndpoint(name = "SZRProduktionsumgebung") public SZR getSZRProduktionsumgebung(WebServiceFeature... features) { - return super.getPort(new QName("urn:SZRServices", "SZRProduktionsumgebung"), SZR.class, features); + return super.getPort(SZRProduktionsumgebung, SZR.class, features); } } -- cgit v1.2.3