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: package com.sun.xml.ws.transport.tcp.servicechannel.stubs;
037:
038: import com.sun.xml.ws.transport.tcp.servicechannel.ServiceChannelException;
039: import java.util.List;
040: import javax.jws.WebMethod;
041: import javax.jws.WebParam;
042: import javax.jws.WebResult;
043: import javax.jws.WebService;
044: import javax.xml.bind.annotation.XmlSeeAlso;
045: import javax.xml.ws.Holder;
046: import javax.xml.ws.RequestWrapper;
047: import javax.xml.ws.ResponseWrapper;
048:
049: /**
050: * This class was generated by the JAXWS SI.
051: * JAX-WS RI 2.1.1-hudson-2014-Nightly
052: * Generated source version: 2.1
053: *
054: */
055: @WebService(name="ServiceChannelWSImpl",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/")
056: @XmlSeeAlso({ObjectFactory.class})
057: public interface ServiceChannelWSImpl {
058:
059: /**
060: *
061: * @throws ServiceChannelException
062: */
063: @WebMethod
064: @RequestWrapper(localName="initiateSession",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.InitiateSession")
065: @ResponseWrapper(localName="initiateSessionResponse",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.InitiateSessionResponse")
066: public void initiateSession() throws ServiceChannelException;
067:
068: /**
069: *
070: * @param negotiatedMimeTypes
071: * @param negotiatedParams
072: * @param targetWSURI
073: * @return
074: * returns int
075: * @throws ServiceChannelException
076: */
077: @WebMethod
078: @WebResult(name="channelId",targetNamespace="")
079: @RequestWrapper(localName="openChannel",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.OpenChannel")
080: @ResponseWrapper(localName="openChannelResponse",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.OpenChannelResponse")
081: public int openChannel(
082: @WebParam(name="targetWSURI",targetNamespace="")
083: String targetWSURI,
084: @WebParam(name="negotiatedMimeTypes",targetNamespace="",mode=WebParam.Mode.INOUT)
085: Holder<List<String>> negotiatedMimeTypes,
086: @WebParam(name="negotiatedParams",targetNamespace="",mode=WebParam.Mode.INOUT)
087: Holder<List<String>> negotiatedParams)
088: throws ServiceChannelException;
089:
090: /**
091: *
092: * @param channelId
093: * @throws ServiceChannelException
094: */
095: @WebMethod
096: @RequestWrapper(localName="closeChannel",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.CloseChannel")
097: @ResponseWrapper(localName="closeChannelResponse",targetNamespace="http://servicechannel.tcp.transport.ws.xml.sun.com/",className="com.sun.xml.ws.transport.tcp.servicechannel.stubs.CloseChannelResponse")
098: public void closeChannel(
099: @WebParam(name="channelId",targetNamespace="")
100: int channelId) throws ServiceChannelException;
101:
102: }
|