Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7176558

webservice for jigsaw: wsimport tool does not work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 9-repo-jigsaw
    • core-libs

      wsimport tool in jigsaw jdk does not work. Build number is 1.8.0-ea-jigsaw-nightly-h425-20120519-b36-b00
      =========================
      gtee@rdesktop: ~/ws $ /java/sqe/comp/jsn/users/amylu/jigsaw/solaris-amd64/bin/wsimport /net/sqenfs-1/export1/comp/jsn/users/patrick/xml_jigsaw/src/JAXWS/jaxws-test/src/oneway/ow_wsdl_rpclit/config/oneway-rpclit.wsdl
      parsing WSDL...


      Exception in thread "main" java.lang.ExceptionInInitializerError
              at com.sun.tools.internal.ws.wsdl.parser.WSDLParser.<init>(WSDLParser.java:112)
              at com.sun.tools.internal.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:100)
              at com.sun.tools.internal.ws.wscompile.WsimportTool.buildWsdlModel(WsimportTool.java:376)
              at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:189)
              at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:164)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:474)
              at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:120)
              at com.sun.tools.internal.ws.WsImport.main(WsImport.java:42)
      Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFactory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
              at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:102)
              at com.sun.tools.internal.ws.wsdl.parser.JAXWSBindingExtensionHandler.<clinit>(JAXWSBindingExtensionHandler.java:59)
              ... 11 more
      ========================

            Unassigned Unassigned
            pzhang Patrick Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: