< prev index next >

jdk/test/javax/xml/ws/xsanymixed/Test.java

Print this page




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8036981 8038966 8051441
  27  * @summary the content of xs:any content:mixed should remain as is,
  28  *          no white space changes and no changes to namespace prefixes
  29  * @modules java.xml.ws
  30  * @run shell compile-wsdl.sh
  31  * @compile -addmods java.xml.ws Test.java
  32  * @run main/othervm -addmods java.xml.ws Test
  33  */
  34 
  35 import com.sun.net.httpserver.HttpServer;
  36 
  37 import javax.xml.transform.Source;
  38 import javax.xml.transform.Transformer;
  39 import javax.xml.transform.TransformerException;
  40 import javax.xml.transform.TransformerFactory;
  41 import javax.xml.transform.stream.StreamResult;
  42 import javax.xml.transform.stream.StreamSource;
  43 import javax.xml.ws.Dispatch;
  44 import javax.xml.ws.Endpoint;
  45 import javax.xml.ws.Service;
  46 import java.io.ByteArrayOutputStream;
  47 import java.io.IOException;
  48 import java.io.StringReader;
  49 import java.net.InetSocketAddress;
  50 import java.net.URL;
  51 import java.nio.file.FileVisitResult;
  52 import java.nio.file.Files;




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 8036981 8038966 8051441
  27  * @summary the content of xs:any content:mixed should remain as is,
  28  *          no white space changes and no changes to namespace prefixes
  29  * @modules java.xml.ws
  30  * @run shell compile-wsdl.sh
  31  * @run main/othervm Test

  32  */
  33 
  34 import com.sun.net.httpserver.HttpServer;
  35 
  36 import javax.xml.transform.Source;
  37 import javax.xml.transform.Transformer;
  38 import javax.xml.transform.TransformerException;
  39 import javax.xml.transform.TransformerFactory;
  40 import javax.xml.transform.stream.StreamResult;
  41 import javax.xml.transform.stream.StreamSource;
  42 import javax.xml.ws.Dispatch;
  43 import javax.xml.ws.Endpoint;
  44 import javax.xml.ws.Service;
  45 import java.io.ByteArrayOutputStream;
  46 import java.io.IOException;
  47 import java.io.StringReader;
  48 import java.net.InetSocketAddress;
  49 import java.net.URL;
  50 import java.nio.file.FileVisitResult;
  51 import java.nio.file.Files;


< prev index next >