001    
002    /*
003     * 
004     */
005    
006    package org.apache.servicemix.wsn.jaxws;
007    
008    import java.net.MalformedURLException;
009    import java.net.URL;
010    import javax.xml.namespace.QName;
011    import javax.xml.ws.Service;
012    import javax.xml.ws.WebEndpoint;
013    import javax.xml.ws.WebServiceClient;
014    import javax.xml.ws.WebServiceFeature;
015    import org.oasis_open.docs.wsn.bw_2.PausableSubscriptionManager;
016    
017    /**
018     * This class was generated by IONA FUSE Services Framework 2.1.2.1-fuse
019     * Thu Oct 09 22:15:46 EDT 2008
020     * Generated source version: 2.1.2.1-fuse
021     * 
022     */
023    
024    
025    @WebServiceClient(name = "PausableSubscriptionManagerService", 
026                      wsdlLocation = "file:/x1/users/dmiddle/smx/components/target/checkout/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl",
027                      targetNamespace = "http://servicemix.apache.org/wsn/jaxws") 
028    public class PausableSubscriptionManagerService extends Service {
029    
030        public final static URL WSDL_LOCATION;
031        public final static QName SERVICE = new QName("http://servicemix.apache.org/wsn/jaxws", "PausableSubscriptionManagerService");
032        public final static QName JBI = new QName("http://servicemix.apache.org/wsn/jaxws", "JBI");
033        static {
034            URL url = null;
035            try {
036                url = new URL("file:/x1/users/dmiddle/smx/components/target/checkout/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl");
037            } catch (MalformedURLException e) {
038                System.err.println("Can not initialize the default wsdl from file:/x1/users/dmiddle/smx/components/target/checkout/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl");
039                // e.printStackTrace();
040            }
041            WSDL_LOCATION = url;
042        }
043    
044        public PausableSubscriptionManagerService(URL wsdlLocation) {
045            super(wsdlLocation, SERVICE);
046        }
047    
048        public PausableSubscriptionManagerService(URL wsdlLocation, QName serviceName) {
049            super(wsdlLocation, serviceName);
050        }
051    
052        public PausableSubscriptionManagerService() {
053            super(WSDL_LOCATION, SERVICE);
054        }
055    
056        /**
057         * 
058         * @return
059         *     returns PausableSubscriptionManager
060         */
061        @WebEndpoint(name = "JBI")
062        public PausableSubscriptionManager getJBI() {
063            return super.getPort(JBI, PausableSubscriptionManager.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 PausableSubscriptionManager
072         */
073        @WebEndpoint(name = "JBI")
074        public PausableSubscriptionManager getJBI(WebServiceFeature... features) {
075            return super.getPort(JBI, PausableSubscriptionManager.class, features);
076        }
077    
078    }