summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/SignatureVerificationService.java')
-rw-r--r--src/main/java/at/gv/util/wsdl/SignatureVerificationService.java78
1 files changed, 50 insertions, 28 deletions
diff --git a/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java b/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java
index 9643c35..7b58455 100644
--- a/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java
+++ b/src/main/java/at/gv/util/wsdl/SignatureVerificationService.java
@@ -1,41 +1,42 @@
-
package at.gv.util.wsdl;
-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:44:05.529+01:00
+ * Generated source version: 3.0.1
*
*/
-@WebServiceClient(name = "SignatureVerificationService", targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", wsdlLocation = "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl")
-public class SignatureVerificationService
- extends Service
-{
+@WebServiceClient(name = "SignatureVerificationService",
+ wsdlLocation = "./src/main/resources/wsdl/MOA-SPSS-1.3.wsdl",
+ targetNamespace = "http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl")
+public class SignatureVerificationService extends Service {
- private final static URL SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION;
- private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.SignatureVerificationService.class.getName());
+ public final static URL WSDL_LOCATION;
+ public final static QName SERVICE = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationService");
+ public final static QName SignatureVerificationPort = new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationPort");
static {
- URL url = null;
- try {
- URL baseUrl;
- baseUrl = at.gv.util.wsdl.SignatureVerificationService.class.getResource(".");
- url = new URL(baseUrl, "file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl");
- } catch (MalformedURLException e) {
- logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/openzuse/trunk/zuseutil/src/main/resources/wsdl/MOA-SPSS-1.3.wsdl', retrying as a local file");
- logger.warning(e.getMessage());
- }
- SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION = url;
+ URL url = SignatureVerificationService.class.getResource("./src/main/resources/wsdl/MOA-SPSS-1.3.wsdl");
+ if (url == null) {
+ url = SignatureVerificationService.class.getClassLoader().getResource("./src/main/resources/wsdl/MOA-SPSS-1.3.wsdl");
+ }
+ if (url == null) {
+ java.util.logging.Logger.getLogger(SignatureVerificationService.class.getName())
+ .log(java.util.logging.Level.INFO,
+ "Can not initialize the default wsdl from {0}", "./src/main/resources/wsdl/MOA-SPSS-1.3.wsdl");
+ }
+ WSDL_LOCATION = url;
+ }
+
+ public SignatureVerificationService(URL wsdlLocation) {
+ super(wsdlLocation, SERVICE);
}
public SignatureVerificationService(URL wsdlLocation, QName serviceName) {
@@ -43,17 +44,38 @@ public class SignatureVerificationService
}
public SignatureVerificationService() {
- super(SIGNATUREVERIFICATIONSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationService"));
+ 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 SignatureVerificationService(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 SignatureVerificationService(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 SignatureVerificationService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
+ super(wsdlLocation, serviceName, features);
+ }
+
/**
- *
+ *
* @return
* returns SignatureVerificationPortType
*/
@WebEndpoint(name = "SignatureVerificationPort")
public SignatureVerificationPortType getSignatureVerificationPort() {
- return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationPort"), SignatureVerificationPortType.class);
+ return super.getPort(SignatureVerificationPort, SignatureVerificationPortType.class);
}
/**
@@ -65,7 +87,7 @@ public class SignatureVerificationService
*/
@WebEndpoint(name = "SignatureVerificationPort")
public SignatureVerificationPortType getSignatureVerificationPort(WebServiceFeature... features) {
- return super.getPort(new QName("http://reference.e-government.gv.at/namespace/moa/20020822#moa.wsdl", "SignatureVerificationPort"), SignatureVerificationPortType.class, features);
+ return super.getPort(SignatureVerificationPort, SignatureVerificationPortType.class, features);
}
}