001    
002    /*
003     * 
004     */
005    
006    package org.apache.camel.component.cxf.soap.headers;
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 Progress FUSE Services Framework 2.2.11-fuse-00-00
018     * Wed Nov 24 04:37:40 UTC 2010
019     * Generated source version: 2.2.11-fuse-00-00
020     * 
021     */
022    
023    
024    @WebServiceClient(name = "HeaderService", 
025                      wsdlLocation = "file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/soap_header.wsdl",
026                      targetNamespace = "http://apache.org/camel/component/cxf/soap/headers") 
027    public class HeaderService extends Service {
028    
029        public final static URL WSDL_LOCATION;
030        public final static QName SERVICE = new QName("http://apache.org/camel/component/cxf/soap/headers", "HeaderService");
031        public final static QName SoapPortCustomRelay = new QName("http://apache.org/camel/component/cxf/soap/headers", "SoapPortCustomRelay");
032        public final static QName SoapPortNoRelay = new QName("http://apache.org/camel/component/cxf/soap/headers", "SoapPortNoRelay");
033        public final static QName SoapPortRelay = new QName("http://apache.org/camel/component/cxf/soap/headers", "SoapPortRelay");
034        public final static QName SoapPortRelayWithInsertion = new QName("http://apache.org/camel/component/cxf/soap/headers", "SoapPortRelayWithInsertion");
035        static {
036            URL url = null;
037            try {
038                url = new URL("file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/soap_header.wsdl");
039            } catch (MalformedURLException e) {
040                System.err.println("Can not initialize the default wsdl from file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/soap_header.wsdl");
041                // e.printStackTrace();
042            }
043            WSDL_LOCATION = url;
044        }
045    
046        public HeaderService(URL wsdlLocation) {
047            super(wsdlLocation, SERVICE);
048        }
049    
050        public HeaderService(URL wsdlLocation, QName serviceName) {
051            super(wsdlLocation, serviceName);
052        }
053    
054        public HeaderService() {
055            super(WSDL_LOCATION, SERVICE);
056        }
057        
058    
059        /**
060         * 
061         * @return
062         *     returns HeaderTester
063         */
064        @WebEndpoint(name = "SoapPortCustomRelay")
065        public HeaderTester getSoapPortCustomRelay() {
066            return super.getPort(SoapPortCustomRelay, HeaderTester.class);
067        }
068    
069        /**
070         * 
071         * @param features
072         *     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.
073         * @return
074         *     returns HeaderTester
075         */
076        @WebEndpoint(name = "SoapPortCustomRelay")
077        public HeaderTester getSoapPortCustomRelay(WebServiceFeature... features) {
078            return super.getPort(SoapPortCustomRelay, HeaderTester.class, features);
079        }
080        /**
081         * 
082         * @return
083         *     returns HeaderTester
084         */
085        @WebEndpoint(name = "SoapPortNoRelay")
086        public HeaderTester getSoapPortNoRelay() {
087            return super.getPort(SoapPortNoRelay, HeaderTester.class);
088        }
089    
090        /**
091         * 
092         * @param features
093         *     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.
094         * @return
095         *     returns HeaderTester
096         */
097        @WebEndpoint(name = "SoapPortNoRelay")
098        public HeaderTester getSoapPortNoRelay(WebServiceFeature... features) {
099            return super.getPort(SoapPortNoRelay, HeaderTester.class, features);
100        }
101        /**
102         * 
103         * @return
104         *     returns HeaderTester
105         */
106        @WebEndpoint(name = "SoapPortRelay")
107        public HeaderTester getSoapPortRelay() {
108            return super.getPort(SoapPortRelay, HeaderTester.class);
109        }
110    
111        /**
112         * 
113         * @param features
114         *     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.
115         * @return
116         *     returns HeaderTester
117         */
118        @WebEndpoint(name = "SoapPortRelay")
119        public HeaderTester getSoapPortRelay(WebServiceFeature... features) {
120            return super.getPort(SoapPortRelay, HeaderTester.class, features);
121        }
122        /**
123         * 
124         * @return
125         *     returns HeaderTester
126         */
127        @WebEndpoint(name = "SoapPortRelayWithInsertion")
128        public HeaderTester getSoapPortRelayWithInsertion() {
129            return super.getPort(SoapPortRelayWithInsertion, HeaderTester.class);
130        }
131    
132        /**
133         * 
134         * @param features
135         *     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.
136         * @return
137         *     returns HeaderTester
138         */
139        @WebEndpoint(name = "SoapPortRelayWithInsertion")
140        public HeaderTester getSoapPortRelayWithInsertion(WebServiceFeature... features) {
141            return super.getPort(SoapPortRelayWithInsertion, HeaderTester.class, features);
142        }
143    
144    }