Hi,
I'm just beginning to work through web services, and I'm having a difficult time. I created a
test business object (com.greenbuildingpages.services.DistanceCalculator) and ran java2wsdl against it:
java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l"http://localhost:8080/axis/services/distance" -n "urn:Example" -p"com.greenbuildingpages.services" "urn:Example" com.greenbuildingpages.services.DistanceCalculator
This created the wdsl file:
I then ran wsdl2java against this generated wsdl document:
java org.apache.axis.wsdl.WSDL2Java -o ./main/src/java -d Session -s -S true -Nurn:Example com.greenbuildingpages.services wp.wsdl
When this completed, I had the additional artifacts that I was expecting (DistanceCalculatorService,java, DistanceCalculatorServiceLocator.java, etc.). But my original DistanceCalculator.java file had been modified (into an interface).
I'm sure I likely have the command line arguments mixed up. Can somebody help me or point me towards their favorite Axis tutorial that might help me through this?
Thanks!
Todd Farmer
[ July 06, 2005: Message edited by: Todd Farmer ]
[ July 06, 2005: Message edited by: Todd Farmer ]
[ July 08, 2005: Message edited by: Todd Farmer ]