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.NotificationProducer;
016
017 /**
018 * This class was generated by IONA FUSE Services Framework 2.1.0.0-fuse
019 * Fri Sep 19 12:58:55 NDT 2008
020 * Generated source version: 2.1.0.0-fuse
021 *
022 */
023
024 /*
025 *
026 */
027
028 @WebServiceClient(name = "NotificationProducerService", targetNamespace = "http://servicemix.apache.org/wsn/jaxws", wsdlLocation = "file:/x1/dmiddle/smx4/components-pom-4.0.0.1-fuse/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl")
029 public class NotificationProducerService extends Service {
030
031 public final static URL WSDL_LOCATION;
032 public final static QName SERVICE = new QName("http://servicemix.apache.org/wsn/jaxws", "NotificationProducerService");
033 public final static QName JBI = new QName("http://servicemix.apache.org/wsn/jaxws", "JBI");
034 static {
035 URL url = null;
036 try {
037 url = new URL("file:/x1/dmiddle/smx4/components-pom-4.0.0.1-fuse/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl");
038 } catch (MalformedURLException e) {
039 System.err.println("Can not initialize the default wsdl from file:/x1/dmiddle/smx4/components-pom-4.0.0.1-fuse/engines/servicemix-wsn2005/src/main/resources/org/apache/servicemix/wsn/wsn.wsdl");
040 // e.printStackTrace();
041 }
042 WSDL_LOCATION = url;
043 }
044
045 public NotificationProducerService(URL wsdlLocation) {
046 super(wsdlLocation, SERVICE);
047 }
048
049 public NotificationProducerService(URL wsdlLocation, QName serviceName) {
050 super(wsdlLocation, serviceName);
051 }
052
053 public NotificationProducerService() {
054 super(WSDL_LOCATION, SERVICE);
055 }
056
057 /**
058 *
059 * @return
060 * returns NotificationProducer
061 */
062 @WebEndpoint(name = "JBI")
063 public NotificationProducer getJBI() {
064 return super.getPort(JBI, NotificationProducer.class);
065 }
066
067 /**
068 *
069 * @param features
070 * 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.
071 * @return
072 * returns NotificationProducer
073 */
074 @WebEndpoint(name = "JBI")
075 public NotificationProducer getJBI(WebServiceFeature... features) {
076 return super.getPort(JBI, NotificationProducer.class, features);
077 }
078
079 }