Tuesday, January 12, 2010

Generating Java code from a WSDL

Another java/web services post for yah. I recently had to generate some java code from a wsdl file to be able to access a webservice.

I used the axis2-wsdl2code-maven-plugin to accomplish this. Here's the pom file I created.



4.0.0
jalki-wsdl2java
jalki-wsdl2java
1.0-SNAPSHOT
jalki-wsdl2java



http://HOST:PORTS/CONTEXT/WEB_SERVICE_NAME?wsdl





org.apache.axis2
axis2
1.4


org.apache.ws.commons.axiom
axiom-impl
1.2.8


wsdl4j
wsdl4j
1.6.2





org.apache.axis2
axis2-wsdl2code-maven-plugin
1.4



wsdl2code


blah.blah.ws.client
${WSDL_FILE_LOCATION}











With a simple invocation of "mvn clean install" this great plugin generates the client Java classes needed to interact with the web service.

Wednesday, May 27, 2009

Cap'n?


This is my Captain Crunch costume I made for the coed-kickball team I am a part of. The league hosts a couple theme nights, this time it was "product mascots."
Posted by Picasa

Wednesday, April 29, 2009

Product Recall

I'd hate to be the one who first reported this issue...

Under Armour Recalls Athletic Cups Due To Injury Hazard


The cups can break if hit, posing a risk of serious injury hazard to athletes.

Wednesday, September 10, 2008

The Shack



I just finished reading this book and I highly recommend it.

theshackbook.com/

Thursday, July 17, 2008

Can you spot the bee?

Since we moved into our home I've planted a garden every year. I love growing sunflowers because they are very hardy and don't take a lot of work. Here's a photo of one of my first of the year. This is a red variety. Can you spot the bee?

Posted by Picasa


Posted by Picasa