Skip to main content
Published: --Updated: September 22 2022, 10:05:14 PM

Question
               How do I rebuild the Java JAXB SDK with a newer WSDL version

Answer
  • 1.  Download the target WSDL and save it as ${JAVA_JAXB_SDK_HOME}/source/wsdl/eBaySvc.wsdl
  • 2.  Modify  ${JAVA_JAXB_SDK_HOME}/build/setenv.bat and set the required environment variables and execute the script
  • 3Run the build scirpt as below: 
    •  ${JAVA_JAXB_SDK_HOME}/build> ant build
  • NOTE. It is observed that Java JAXB SDK building throws the following exception when running with some of the JDK versions.  
    • [wsimport] Exception in thread "main" java.util.ServiceConfigurationError:sun.tools.xjc.Plugin: Provider com.sun.tools.internal.xjc.addon.locator.Sour cationAddOn could not be instantiated

 

 

How well did this answer your question?
Answers others found helpful