package jp.glassfish.sparrow.endpoint; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceFeature; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.2-hudson-598-rc1 * Generated source version: 2.2 * */ @WebServiceClient(name = "SparrowsCafeService", targetNamespace = "http://endpoint.sparrow.glassfish.jp/", wsdlLocation = "http://localhost:8080/portroyal/SparrowsCafeService?wsdl") public class SparrowsCafeService extends Service { private final static URL SPARROWSCAFESERVICE_WSDL_LOCATION; private final static WebServiceException SPARROWSCAFESERVICE_EXCEPTION; private final static QName SPARROWSCAFESERVICE_QNAME = new QName("http://endpoint.sparrow.glassfish.jp/", "SparrowsCafeService"); static { URL url = null; WebServiceException e = null; try { url = new URL("http://localhost:8080/portroyal/SparrowsCafeService?wsdl"); } catch (MalformedURLException ex) { e = new WebServiceException(ex); } SPARROWSCAFESERVICE_WSDL_LOCATION = url; SPARROWSCAFESERVICE_EXCEPTION = e; } public SparrowsCafeService() { super(__getWsdlLocation(), SPARROWSCAFESERVICE_QNAME); } public SparrowsCafeService(WebServiceFeature... features) { super(__getWsdlLocation(), SPARROWSCAFESERVICE_QNAME, features); } public SparrowsCafeService(URL wsdlLocation) { super(wsdlLocation, SPARROWSCAFESERVICE_QNAME); } public SparrowsCafeService(URL wsdlLocation, WebServiceFeature... features) { super(wsdlLocation, SPARROWSCAFESERVICE_QNAME, features); } public SparrowsCafeService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public SparrowsCafeService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { super(wsdlLocation, serviceName, features); } /** * * @return * returns SparrowsCafe */ @WebEndpoint(name = "SparrowsCafePort") public SparrowsCafe getSparrowsCafePort() { return super.getPort(new QName("http://endpoint.sparrow.glassfish.jp/", "SparrowsCafePort"), SparrowsCafe.class); } /** * * @param features * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. * @return * returns SparrowsCafe */ @WebEndpoint(name = "SparrowsCafePort") public SparrowsCafe getSparrowsCafePort(WebServiceFeature... features) { return super.getPort(new QName("http://endpoint.sparrow.glassfish.jp/", "SparrowsCafePort"), SparrowsCafe.class, features); } private static URL __getWsdlLocation() { if (SPARROWSCAFESERVICE_EXCEPTION!= null) { throw SPARROWSCAFESERVICE_EXCEPTION; } return SPARROWSCAFESERVICE_WSDL_LOCATION; } }