1 /*
   2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /**
  27  * Defines the Java API for XML-Based Web Services (JAX-WS), and
  28  * the Web Services Metadata API.
  29  *
  30  * @moduleGraph
  31  * @since 9
  32  */
  33 @Deprecated(since="9", forRemoval=true)
  34 module java.xml.ws {
  35     requires transitive java.activation;
  36     requires transitive java.xml;
  37     requires transitive java.xml.bind;
  38     requires java.xml.ws.annotation;
  39     requires java.desktop;
  40     requires java.logging;
  41     requires java.management;
  42     requires jdk.httpserver;
  43     requires jdk.unsupported;
  44 
  45     uses javax.xml.ws.spi.Provider;
  46     uses javax.xml.soap.MessageFactory;
  47     uses javax.xml.soap.SAAJMetaFactory;
  48     uses javax.xml.soap.SOAPConnectionFactory;
  49     uses javax.xml.soap.SOAPFactory;
  50 
  51     exports javax.jws;
  52     exports javax.jws.soap;
  53     exports javax.xml.soap;
  54     exports javax.xml.ws;
  55     exports javax.xml.ws.handler;
  56     exports javax.xml.ws.handler.soap;
  57     exports javax.xml.ws.http;
  58     exports javax.xml.ws.soap;
  59     exports javax.xml.ws.spi;
  60     exports javax.xml.ws.spi.http;
  61     exports javax.xml.ws.wsaddressing;
  62 
  63     opens javax.xml.ws.wsaddressing to java.xml.bind;
  64 
  65     exports com.oracle.webservices.internal.api.databinding to
  66         jdk.xml.ws;
  67     exports com.sun.xml.internal.ws.addressing to
  68         jdk.xml.ws,
  69         java.xml.bind;
  70     exports com.sun.xml.internal.ws.addressing.v200408 to
  71         jdk.xml.ws;
  72     exports com.sun.xml.internal.ws.api to
  73         jdk.xml.ws;
  74     exports com.sun.xml.internal.ws.api.addressing to
  75         jdk.xml.ws;
  76     exports com.sun.xml.internal.ws.api.databinding to
  77         jdk.xml.ws;
  78     exports com.sun.xml.internal.ws.api.model to
  79         jdk.xml.ws;
  80     exports com.sun.xml.internal.ws.api.server to
  81         jdk.xml.ws;
  82     exports com.sun.xml.internal.ws.api.streaming to
  83         jdk.xml.ws;
  84     exports com.sun.xml.internal.ws.api.wsdl.parser to
  85         jdk.xml.ws;
  86     exports com.sun.xml.internal.ws.api.wsdl.writer to
  87         jdk.xml.ws;
  88     exports com.sun.xml.internal.ws.binding to
  89         jdk.xml.ws;
  90     exports com.sun.xml.internal.ws.db to
  91         jdk.xml.ws;
  92     exports com.sun.xml.internal.ws.model to
  93         jdk.xml.ws;
  94     exports com.sun.xml.internal.ws.policy.sourcemodel.wspolicy to
  95         jdk.xml.ws;
  96     exports com.sun.xml.internal.ws.spi.db to
  97         jdk.xml.ws;
  98     exports com.sun.xml.internal.ws.streaming to
  99         jdk.xml.ws;
 100     exports com.sun.xml.internal.ws.util to
 101         jdk.xml.ws;
 102     exports com.sun.xml.internal.ws.util.exception to
 103         jdk.xml.ws;
 104     exports com.sun.xml.internal.ws.util.xml to
 105         jdk.xml.ws;
 106     exports com.sun.xml.internal.ws.wsdl.parser to
 107         jdk.xml.ws;
 108     exports com.sun.xml.internal.ws.wsdl.writer to
 109         jdk.xml.ws;
 110 
 111     // XML document content needs to be exported
 112     opens com.sun.xml.internal.ws.runtime.config to java.xml.bind;
 113 
 114     // com.sun.xml.internal.ws.fault.SOAPFaultBuilder uses JAXBContext.newInstance
 115     opens com.sun.xml.internal.ws.fault to java.xml.bind;
 116 
 117     // com.sun.xml.internal.ws.addressing.WsaTubeHelperImpl uses JAXBContext.newInstance
 118     opens com.sun.xml.internal.ws.addressing to java.xml.bind;
 119 
 120     // com.sun.xml.internal.ws.addressing.v200408.WsaTubeHelperImpl uses JAXBContext.newInstance
 121     opens com.sun.xml.internal.ws.addressing.v200408 to java.xml.bind;
 122 
 123     // com.sun.xml.ws.developer.MemberSubmissionEndpointReference uses JAXBContext.newInstance
 124     opens com.sun.xml.internal.ws.developer to java.xml.bind;
 125 
 126     // com.sun.xml.ws.model.ExternalMetadataReader uses JAXBContext.newInstance
 127     opens com.oracle.xmlns.internal.webservices.jaxws_databinding to java.xml.bind;
 128 
 129 
 130     // JAF data handlers
 131     exports com.sun.xml.internal.messaging.saaj.soap to
 132         java.activation;
 133     exports com.sun.xml.internal.ws.encoding to
 134         java.activation;
 135 }
 136