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 * @since 9 31 */ 32 @Deprecated(since="9", forRemoval=true) 33 module java.xml.ws { 34 requires transitive java.activation; 35 requires transitive java.xml; 36 requires transitive java.xml.bind; 37 requires java.xml.ws.annotation; 38 requires java.desktop; 39 requires java.logging; 40 requires java.management; 41 requires jdk.httpserver; 42 requires jdk.unsupported; 43 44 uses javax.xml.ws.spi.Provider; 45 uses javax.xml.soap.MessageFactory; 46 uses javax.xml.soap.SAAJMetaFactory; 47 uses javax.xml.soap.SOAPConnectionFactory; 48 uses javax.xml.soap.SOAPFactory; 49 50 exports javax.jws; 51 exports javax.jws.soap; 52 exports javax.xml.soap; 53 exports javax.xml.ws; 54 exports javax.xml.ws.handler; 55 exports javax.xml.ws.handler.soap; 56 exports javax.xml.ws.http; 57 exports javax.xml.ws.soap; 58 exports javax.xml.ws.spi; 59 exports javax.xml.ws.spi.http; 60 exports javax.xml.ws.wsaddressing; 61 62 opens javax.xml.ws.wsaddressing to java.xml.bind; 63 64 exports com.oracle.webservices.internal.api.databinding to 65 jdk.xml.ws; 66 exports com.sun.xml.internal.ws.addressing to 67 jdk.xml.ws, 68 java.xml.bind; 69 exports com.sun.xml.internal.ws.addressing.v200408 to 70 jdk.xml.ws; 71 exports com.sun.xml.internal.ws.api to 72 jdk.xml.ws; 73 exports com.sun.xml.internal.ws.api.addressing to 74 jdk.xml.ws; 75 exports com.sun.xml.internal.ws.api.databinding to 76 jdk.xml.ws; 77 exports com.sun.xml.internal.ws.api.model to 78 jdk.xml.ws; 79 exports com.sun.xml.internal.ws.api.server to 80 jdk.xml.ws; 81 exports com.sun.xml.internal.ws.api.streaming to 82 jdk.xml.ws; 83 exports com.sun.xml.internal.ws.api.wsdl.parser to 84 jdk.xml.ws; 85 exports com.sun.xml.internal.ws.api.wsdl.writer to 86 jdk.xml.ws; 87 exports com.sun.xml.internal.ws.binding to 88 jdk.xml.ws; 89 exports com.sun.xml.internal.ws.db to 90 jdk.xml.ws; 91 exports com.sun.xml.internal.ws.model to 92 jdk.xml.ws; 93 exports com.sun.xml.internal.ws.policy.sourcemodel.wspolicy to 94 jdk.xml.ws; 95 exports com.sun.xml.internal.ws.spi.db to 96 jdk.xml.ws; 97 exports com.sun.xml.internal.ws.streaming to 98 jdk.xml.ws; 99 exports com.sun.xml.internal.ws.util to 100 jdk.xml.ws; 101 exports com.sun.xml.internal.ws.util.exception to 102 jdk.xml.ws; 103 exports com.sun.xml.internal.ws.util.xml to 104 jdk.xml.ws; 105 exports com.sun.xml.internal.ws.wsdl.parser to 106 jdk.xml.ws; 107 exports com.sun.xml.internal.ws.wsdl.writer to 108 jdk.xml.ws; 109 110 // XML document content needs to be exported 111 opens com.sun.xml.internal.ws.runtime.config to java.xml.bind; 112 113 // com.sun.xml.internal.ws.fault.SOAPFaultBuilder uses JAXBContext.newInstance 114 opens com.sun.xml.internal.ws.fault to java.xml.bind; 115 116 // classes passed to JAXBContext.newInstance for deep reflection 117 opens com.sun.xml.internal.ws.addressing to java.xml.bind; 118 119 // JAF data handlers 120 exports com.sun.xml.internal.messaging.saaj.soap to 121 java.activation; 122 exports com.sun.xml.internal.ws.encoding to 123 java.activation; 124 } 125