From e2150f22562b4bc06307f4ac7b842687390e4856 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 16 Oct 2014 13:42:04 +0200 Subject: change webservice implementation to Apache CXF --- .../java/at/gv/util/wsdl/ur_V5/XmlSwFault.java | 64 +++++++++------------- 1 file changed, 26 insertions(+), 38 deletions(-) (limited to 'src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java') diff --git a/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java b/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java index 2f1ee37..bb0f7a9 100644 --- a/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java +++ b/src/main/java/at/gv/util/wsdl/ur_V5/XmlSwFault.java @@ -2,54 +2,42 @@ package at.gv.util.wsdl.ur_V5; import javax.xml.ws.WebFault; -import at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType; /** - * This class was generated by the JAX-WS RI. - * JAX-WS RI 2.2.4-b01 - * Generated source version: 2.2 - * + * This class was generated by Apache CXF 3.0.1 + * 2014-10-16T12:00:10.741+02:00 + * Generated source version: 3.0.1 */ + @WebFault(name = "XmlSwFault", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") -public class XmlSwFault - extends Exception -{ - - /** - * Java type that goes as soapenv:Fault detail element. - * - */ - private CustomFaultType faultInfo; - - /** - * - * @param message - * @param faultInfo - */ - public XmlSwFault(String message, CustomFaultType faultInfo) { +public class XmlSwFault extends Exception { + + private at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType xmlSwFault; + + public XmlSwFault() { + super(); + } + + public XmlSwFault(String message) { super(message); - this.faultInfo = faultInfo; } - - /** - * - * @param message - * @param faultInfo - * @param cause - */ - public XmlSwFault(String message, CustomFaultType faultInfo, Throwable cause) { + + public XmlSwFault(String message, Throwable cause) { super(message, cause); - this.faultInfo = faultInfo; } - /** - * - * @return - * returns fault bean: at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType - */ - public CustomFaultType getFaultInfo() { - return faultInfo; + public XmlSwFault(String message, at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType xmlSwFault) { + super(message); + this.xmlSwFault = xmlSwFault; } + public XmlSwFault(String message, at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType xmlSwFault, Throwable cause) { + super(message, cause); + this.xmlSwFault = xmlSwFault; + } + + public at.gv.util.xsd.ur_V5.xmlsw.CustomFaultType getFaultInfo() { + return this.xmlSwFault; + } } -- cgit v1.2.3