Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
All, We are using weblogic 10 for our application. And we generated the web service client jars using clientgen task.
When i tried to invoke the webservice using the generated jar i got the below exception.
The error seems to be simple, the class "com.bea.xml.XmlException" is not in CLASSPATH. But the problem is i donno which jar file has the above mentioned class.
When i searched the net, i found couple of sites mentioning about xbean.jar having the above specified class. But weblogic 10 doesn't have one.
Does anybody came across similar situation. Where can i find the xbean.jar file.
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
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:
1. weblogic.jar
2. webserrvices.jar
3. ant.jar
4. webserviceclient.jar
5. xbean.jar
6. webserviceclient+ssl.jar
7. wlxbean.jar
8. weblogic-container-binding.jar
9. tools.jar
10. rt.jar
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.