This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We came across similar problems when we migrated from weblogic8.1 to weblogic10. We were using xbean.jar in weblogic8.1 to do XML to Object conversion and vice versa. If you read the e-docs of weblogic it says that they do not support the weblogic's xml beans with version 10. So we had to change all the code to use apache's xml beans version 2.3 and use the xbean.jar shipped along with the bundle. You can download the xml beans bundle from here
In that case i am not sure why clientgen referring to the XmlException which weblogic 10 is no more supporting? or Am i using wrong ClientGenTask.
If my above question doesn't make sense please let me know.
Amit M Tank
Joined: Mar 28, 2004
We used the following class for clientgen "weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask". You can try using this task and see if it works for you. Also it might be that you have xbean.jar in your application library which you are including in the ant script for doing client gen.
You have stumbled upon an old thread. The problem could be a complicated class loader problem or a simple one where you simply missed to add something to the class path. Provide more details about the problem to help us understand it better
I am trying to build my application in 9.2 weblogic through ant script.
I have the following jars in the ant build path:
My ant version is 1.7 , jdk 1.5 , weblogic 9.2 MP3
oh a compilation problem ? Include api.jar in your compilation classpath. And try to check which jar file this class exists in. If you are lucky, a 'find in' search from a window explorer can reveal the jar file to import, even if the search is made on a binary jar file.