001
002 /*
003 *
004 */
005
006 package org.apache.camel.non_wrapper;
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 = "PersonService",
025 wsdlLocation = "file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/person-non-wrapper.wsdl",
026 targetNamespace = "http://camel.apache.org/non-wrapper")
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/non-wrapper", "PersonService");
031 public final static QName Soap = new QName("http://camel.apache.org/non-wrapper", "soap");
032 static {
033 URL url = null;
034 try {
035 url = new URL("file:/mnt/hudson/fuse/mr/camel-2.4.0-fuse/target/checkout/components/camel-cxf/src/test/resources/person-non-wrapper.wsdl");
036 } catch (MalformedURLException e) {
037 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-non-wrapper.wsdl");
038 // e.printStackTrace();
039 }
040 WSDL_LOCATION = url;
041 }
042
043 public PersonService(URL wsdlLocation) {
044 super(wsdlLocation, SERVICE);
045 }
046
047 public PersonService(URL wsdlLocation, QName serviceName) {
048 super(wsdlLocation, serviceName);
049 }
050
051 public PersonService() {
052 super(WSDL_LOCATION, SERVICE);
053 }
054
055
056 /**
057 *
058 * @return
059 * returns Person
060 */
061 @WebEndpoint(name = "soap")
062 public Person getSoap() {
063 return super.getPort(Soap, Person.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 Person
072 */
073 @WebEndpoint(name = "soap")
074 public Person getSoap(WebServiceFeature... features) {
075 return super.getPort(Soap, Person.class, features);
076 }
077
078 }