001
002 /*
003 *
004 */
005
006 package org.apache.camel.wsdl_first;
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:39 UTC 2010
019 * Generated source version: 2.2.11-fuse-00-00
020 *
021 */
022
023
024 @WebServiceClient(name = "PersonService",
025 wsdlLocation = "file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/person.wsdl",
026 targetNamespace = "http://camel.apache.org/wsdl-first")
027 public class PersonService extends Service {
028
029 public final static URL WSDL_LOCATION;
030 public final static QName SERVICE = new QName("http://camel.apache.org/wsdl-first", "PersonService");
031 public final static QName Soap3 = new QName("http://camel.apache.org/wsdl-first", "soap3");
032 public final static QName Soap2 = new QName("http://camel.apache.org/wsdl-first", "soap2");
033 public final static QName Soap = new QName("http://camel.apache.org/wsdl-first", "soap");
034 static {
035 URL url = null;
036 try {
037 url = new URL("file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/person.wsdl");
038 } catch (MalformedURLException e) {
039 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/person.wsdl");
040 // e.printStackTrace();
041 }
042 WSDL_LOCATION = url;
043 }
044
045 public PersonService(URL wsdlLocation) {
046 super(wsdlLocation, SERVICE);
047 }
048
049 public PersonService(URL wsdlLocation, QName serviceName) {
050 super(wsdlLocation, serviceName);
051 }
052
053 public PersonService() {
054 super(WSDL_LOCATION, SERVICE);
055 }
056
057
058 /**
059 *
060 * @return
061 * returns Person
062 */
063 @WebEndpoint(name = "soap3")
064 public Person getSoap3() {
065 return super.getPort(Soap3, Person.class);
066 }
067
068 /**
069 *
070 * @param features
071 * 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.
072 * @return
073 * returns Person
074 */
075 @WebEndpoint(name = "soap3")
076 public Person getSoap3(WebServiceFeature... features) {
077 return super.getPort(Soap3, Person.class, features);
078 }
079 /**
080 *
081 * @return
082 * returns Person
083 */
084 @WebEndpoint(name = "soap2")
085 public Person getSoap2() {
086 return super.getPort(Soap2, Person.class);
087 }
088
089 /**
090 *
091 * @param features
092 * 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.
093 * @return
094 * returns Person
095 */
096 @WebEndpoint(name = "soap2")
097 public Person getSoap2(WebServiceFeature... features) {
098 return super.getPort(Soap2, Person.class, features);
099 }
100 /**
101 *
102 * @return
103 * returns Person
104 */
105 @WebEndpoint(name = "soap")
106 public Person getSoap() {
107 return super.getPort(Soap, Person.class);
108 }
109
110 /**
111 *
112 * @param features
113 * 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.
114 * @return
115 * returns Person
116 */
117 @WebEndpoint(name = "soap")
118 public Person getSoap(WebServiceFeature... features) {
119 return super.getPort(Soap, Person.class, features);
120 }
121
122 }