0 Replies Latest reply: Sep 2, 2013 7:28 AM by User10385252-Oracle RSS

    fmw 12c wsa is throwing java.lang.ClassNotFoundException: oracle.j2ee.ws.common.tools.api.SeiValidationException

    User10385252-Oracle

      I am using wsa (Web Service Assembler) to generated web services but below ant task in FMW 11g PS5 (11.1.1.6.0) and working fine,

       

      <java jar="${jdev.home}/../oracle_common/modules/oracle.webservices_11.1.1/wsa.jar" failonerror="true" fork="true">

            <arg line="genInterface"/>

            <arg line="-dataBinding jaxb20"/>

            <arg line="-debug true"/>

            <arg line="-searchSchema true"/>

            <arg line="-wsdl ${schema.dir}/wsdl/ProductControlService.wsdl"/>

            <arg line="-bindingInfo ${schema.dir}/schema/types/jaxb-bindings.xml"/>

            <arg line="-output ${build.src}/"/>

            <arg line="-packageName org.comms.inv.webservice.types"/>

            <arg line="-valueTypePackagePrefix org.comms.inv.webservice.types"/>

      </java>

       

      I have modified to "oracle_common/modules/com.oracle.webservices.fmw.ws-assembler-classes-impl_12.1.2.jar" from wsa.jar as "wsa.jar" file is renamed. but above ant script is throwing exception and stack trace details given below

      exception is not resolved even after adding "${jdev.home}/oracle_common/modules/com.oracle.webservices.fmw.wsclient-rt-impl_12.1.2.jar" as SeiValidationException , is there any direct documentation link for FMW 12c WSA help

       

      [java] '/tools/CGBU/supplychain/software/linux/JDeveloper12.1.2/oracle_common/modules/com.oracle.webservices.fmw.ws-assembler-classes-impl_12.1.2.jar'

           [java] 'genInterface'

           [java] '-dataBinding'

           [java] 'jaxb20'

           [java] '-debug'

           [java] 'true'

           [java] '-searchSchema'

           [java] 'true'

           [java] '-wsdl'

       

      [java] The ' characters around the executable and arguments are

           [java] not part of the command.

           [java] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/tools/api/SeiValidationException

           [java] at oracle.j2ee.ws.tools.wsa.Main.formatAndReportAnyErrorCondition(Main.java:128)

           [java] at oracle.j2ee.ws.tools.wsa.Main.mainNoSystemExit(Main.java:117)

           [java] at oracle.j2ee.ws.tools.wsa.Main.main(Main.java:49)

           [java] Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.common.tools.api.SeiValidationException

           [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

           [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

           [java] at java.security.AccessController.doPrivileged(Native Method)

           [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

           [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

           [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

           [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

           [java] ... 3 more