001    
002    /*
003     * 
004     */
005    
006    package org.apache.camel.example.reportincident;
007    
008    import java.net.MalformedURLException;
009    import java.net.URL;
010    import javax.xml.namespace.QName;
011    import javax.xml.ws.WebEndpoint;
012    import javax.xml.ws.WebServiceClient;
013    import javax.xml.ws.WebServiceFeature;
014    import javax.xml.ws.Service;
015    
016    /**
017     * This class was generated by Apache CXF 2.2.11
018     * Mon Oct 25 14:59:13 EDT 2010
019     * Generated source version: 2.2.11
020     * 
021     */
022    
023    
024    @WebServiceClient(name = "ReportIncidentEndpointService", 
025                      wsdlLocation = "file:/w1/apache/release/camel/target/checkout/examples/camel-example-cxf-proxy/src/main/resources/etc/report_incident.wsdl",
026                      targetNamespace = "http://reportincident.example.camel.apache.org") 
027    public class ReportIncidentEndpointService extends Service {
028    
029        public final static URL WSDL_LOCATION;
030        public final static QName SERVICE = new QName("http://reportincident.example.camel.apache.org", "ReportIncidentEndpointService");
031        public final static QName ReportIncidentEndpoint = new QName("http://reportincident.example.camel.apache.org", "ReportIncidentEndpoint");
032        static {
033            URL url = null;
034            try {
035                url = new URL("file:/w1/apache/release/camel/target/checkout/examples/camel-example-cxf-proxy/src/main/resources/etc/report_incident.wsdl");
036            } catch (MalformedURLException e) {
037                System.err.println("Can not initialize the default wsdl from file:/w1/apache/release/camel/target/checkout/examples/camel-example-cxf-proxy/src/main/resources/etc/report_incident.wsdl");
038                // e.printStackTrace();
039            }
040            WSDL_LOCATION = url;
041        }
042    
043        public ReportIncidentEndpointService(URL wsdlLocation) {
044            super(wsdlLocation, SERVICE);
045        }
046    
047        public ReportIncidentEndpointService(URL wsdlLocation, QName serviceName) {
048            super(wsdlLocation, serviceName);
049        }
050    
051        public ReportIncidentEndpointService() {
052            super(WSDL_LOCATION, SERVICE);
053        }
054        
055    
056        /**
057         * 
058         * @return
059         *     returns ReportIncidentEndpoint
060         */
061        @WebEndpoint(name = "ReportIncidentEndpoint")
062        public ReportIncidentEndpoint getReportIncidentEndpoint() {
063            return super.getPort(ReportIncidentEndpoint, ReportIncidentEndpoint.class);
064        }
065    
066        /**
067         * 
068         * @param features
069         *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
070         * @return
071         *     returns ReportIncidentEndpoint
072         */
073        @WebEndpoint(name = "ReportIncidentEndpoint")
074        public ReportIncidentEndpoint getReportIncidentEndpoint(WebServiceFeature... features) {
075            return super.getPort(ReportIncidentEndpoint, ReportIncidentEndpoint.class, features);
076        }
077    
078    }