001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: package com.sun.xml.ws.tx.webservice.member.at;
038:
039: import com.sun.xml.ws.api.addressing.WSEndpointReference;
040:
041: import javax.xml.namespace.QName;
042: import javax.xml.ws.BindingProvider;
043: import javax.xml.ws.EndpointReference;
044: import javax.xml.ws.Service;
045: import javax.xml.ws.WebEndpoint;
046: import javax.xml.ws.WebServiceClient;
047: import javax.xml.ws.WebServiceFeature;
048: import java.net.URL;
049: import java.util.Map;
050:
051: /**
052: * This class was generated by the JAXWS SI.
053: * JAX-WS RI 2.1-hudson-812-EA2
054: * Generated source version: 2.0
055: */
056: @WebServiceClient(name="WSATCoordinator",targetNamespace="http://schemas.xmlsoap.org/ws/2004/10/wsat",wsdlLocation="WEB-INF/wsdl/wsat.wsdl")
057: public class WSATCoordinator extends Service {
058:
059: private final static URL WSATCOORDINATOR_WSDL_LOCATION;
060:
061: static {
062: WSATCOORDINATOR_WSDL_LOCATION = Thread.currentThread()
063: .getContextClassLoader().getResource(
064: "WEB-INF/wsdl/wsat.wsdl");
065: //logger.finest("static initializer:", "WSDL_LOCATION = " + WSATCOORDINATOR_WSDL_LOCATION);
066: }
067:
068: public WSATCoordinator(URL wsdlLocation, QName serviceName) {
069: super (wsdlLocation, serviceName);
070: }
071:
072: public WSATCoordinator() {
073: super (WSATCOORDINATOR_WSDL_LOCATION, new QName(
074: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
075: "WSATCoordinator"));
076: }
077:
078: /**
079: * @return returns CompletionCoordinatorPortType
080: */
081: @WebEndpoint(name="CompletionCoordinator")
082: public CompletionCoordinatorPortType getCompletionCoordinator() {
083: return (CompletionCoordinatorPortType) super .getPort(new QName(
084: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
085: "CompletionCoordinator"),
086: CompletionCoordinatorPortType.class);
087: }
088:
089: /**
090: * @param features 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.
091: * @return returns CompletionCoordinatorPortType
092: */
093: @WebEndpoint(name="CompletionCoordinator")
094: public CompletionCoordinatorPortType getCompletionCoordinator(
095: WebServiceFeature... features) {
096: return (CompletionCoordinatorPortType) super .getPort(new QName(
097: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
098: "CompletionCoordinator"),
099: CompletionCoordinatorPortType.class, features);
100: }
101:
102: /**
103: * @return returns CoordinatorPortType
104: */
105: @WebEndpoint(name="Coordinator")
106: public CoordinatorPortType getCoordinator() {
107: return (CoordinatorPortType) super .getPort(new QName(
108: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
109: "Coordinator"), CoordinatorPortType.class);
110: }
111:
112: /**
113: * @param epr EndpointReference of returned proxy.
114: * @param features 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.
115: * @return returns CoordinatorPortType
116: */
117: @WebEndpoint(name="Coordinator")
118: public CoordinatorPortType getCoordinator(EndpointReference epr,
119: WebServiceFeature... features) {
120: CoordinatorPortType result = (CoordinatorPortType) super
121: .getPort(epr, CoordinatorPortType.class, features);
122:
123: return result;
124: }
125:
126: /**
127: * @return returns ParticipantPortType
128: */
129: @WebEndpoint(name="Participant")
130: public ParticipantPortType getParticipant() {
131: return (ParticipantPortType) super .getPort(new QName(
132: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
133: "Participant"), ParticipantPortType.class);
134: }
135:
136: /**
137: * @param epr EndpointReference of returned proxy.
138: * @param features 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.
139: * @return returns ParticipantPortType
140: */
141: @WebEndpoint(name="Participant")
142: public ParticipantPortType getParticipant(EndpointReference epr,
143: WebServiceFeature... features) {
144: ParticipantPortType result = (ParticipantPortType) super
145: .getPort(epr, ParticipantPortType.class, features);
146: // workaround((BindingProvider) result, epr);
147: return result;
148: }
149:
150: /**
151: * @return returns CompletionInitiatorPortType
152: */
153: @WebEndpoint(name="CompletionInitiator")
154: public CompletionInitiatorPortType getCompletionInitiator() {
155: return (CompletionInitiatorPortType) super .getPort(new QName(
156: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
157: "CompletionInitiator"),
158: CompletionInitiatorPortType.class);
159: }
160:
161: /**
162: * @param features 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.
163: * @return returns CompletionInitiatorPortType
164: */
165: @WebEndpoint(name="CompletionInitiator")
166: public CompletionInitiatorPortType getCompletionInitiator(
167: WebServiceFeature... features) {
168: return (CompletionInitiatorPortType) super .getPort(new QName(
169: "http://schemas.xmlsoap.org/ws/2004/10/wsat",
170: "CompletionInitiator"),
171: CompletionInitiatorPortType.class, features);
172: }
173:
174: }
|