These steps won't necessarily work in WebLogic as it has its own implementation classes. After updating your dependency as shown by Anshul, you will also need to tell WebLogic to prefer that package in the weblogic-application.xml
org.apache.ws.commons.schema