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 --- src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java | 60 +++++++++--------------- 1 file changed, 21 insertions(+), 39 deletions(-) (limited to 'src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java') diff --git a/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java b/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java index ca967e1..aae4050 100644 --- a/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java +++ b/src/main/java/at/gv/util/wsdl/ur_V2/URSuche.java @@ -1,4 +1,3 @@ - package at.gv.util.wsdl.ur_V2; import javax.jws.WebMethod; @@ -7,56 +6,39 @@ import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.annotation.XmlSeeAlso; -import at.gv.util.xsd.ur_V2.xmlsw.SearchByExampleType; -import at.gv.util.xsd.ur_V2.xmlsw.SearchByIdType; -import at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType; - /** - * 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:01.057+02:00 + * Generated source version: 3.0.1 * */ -@WebService(name = "URSuche", targetNamespace = "urn:at:statistik:ur:ws") +@WebService(targetNamespace = "urn:at:statistik:ur:ws", name = "URSuche") +@XmlSeeAlso({at.gv.util.xsd.ur_V2.pd.ObjectFactory.class, at.gv.util.xsd.ur_V2.search.ObjectFactory.class, at.gv.util.xsd.ur_V2.xmlsw.ObjectFactory.class, at.gv.util.xsd.ur_V2.simpletypes.ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) -@XmlSeeAlso({ - at.gv.util.xsd.ur_V2.pd.ObjectFactory.class, - at.gv.util.xsd.ur_V2.search.ObjectFactory.class, - at.gv.util.xsd.ur_V2.xmlsw.ObjectFactory.class, - at.gv.util.xsd.ur_V2.simpletypes.ObjectFactory.class -}) public interface URSuche { - /** - * Operation für den Abfragetyp - * Search by Example - * - * - * @param body - * @return - * returns at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType + * Operation für den Abfragetyp + * Search by Example + * */ - @WebMethod @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - public SearchResponseType searchByExample( - @WebParam(name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - SearchByExampleType body); + @WebMethod + public at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType searchByExample( + @WebParam(partName = "body", name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") + at.gv.util.xsd.ur_V2.xmlsw.SearchByExampleType body + ); /** - * Operation für den Abfragetyp - * Search by Id - * - * - * @param body - * @return - * returns at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType + * Operation für den Abfragetyp + * Search by Id + * */ - @WebMethod @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - public SearchResponseType searchById( - @WebParam(name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") - SearchByIdType body); - + @WebMethod + public at.gv.util.xsd.ur_V2.xmlsw.SearchResponseType searchById( + @WebParam(partName = "body", name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") + at.gv.util.xsd.ur_V2.xmlsw.SearchByIdType body + ); } -- cgit v1.2.3