RayZ Wilson

Greenhorn
+ Follow
since Jan 22, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by RayZ Wilson

I was having issues with the: Unable to load configuration - bean - blah blah struts-default.xml and the suggestion above to add the "commons-fileupload-1.2.1.jar" fixed it. So the set of jars I now have in my WEB-INF/lib directory is:

commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-logging-1.0.4.jar
freemarker-2.3.15.jar
ognl-2.7.3.jar
struts2-core-2.1.8.1.jar
xwork-core-2.1.6.jar

And that at least got my war successfully deployed (I'm using gaucho resin because that is what my web provider uses). I will be delving into using Tiles with struts 2 and if I succeed I'll post some helpful tips. It is only by helpful tips that I have gotten this far. Thanks.
12 years ago
Hi

I am trying to use wsgen and I keep getting the dreaded class not found message. I know the class compiled with the correct annotations is present but my question is this. What should the -classpath attribute for wsgen be pointing at? Just the class I want to convert to web service artifacts or all of the jax-ws support classes or both? Any experience from a successful user of wsgen would be appreciated. I'm cornfusticated!

Thanks
12 years ago
I feel a need to reiterate what someone said above. JAXB is mainly used for web services. It allows you to work in the Java realm without having to worry about XML at all practically. The SOAP messages sent to the web service consist of an XML representation of the objects you are interacting with. You are interacting with an object model not actual XML. When the web service replies you interact with it as instances of objects as well. You never really have to do any parsing the web services interface does it all for you. JAXB gives you tools to convert WSDL to java objects which represent the web service end points.