java - Run Apache CXF Client from command line -
I have generated a CXF client (this is my first webservice client) that runs on eclipse but I do not know how to Run from the command line.
The client was generated using the top-down approach: Java file where wsdl2java and WDSL files were created, then I modified them.
I want to execute it from the command line, but I do not know how to set a classpath or if it is to set up some other set up. There are some libraries in the properties of Eclipse Project that I do not know how to use from the command line: Apache CXF Library, ER Library, Web App Library.
I am a customer from the Apache CXF command line? Is there a better way of executing it in a production environment? I've heard of Maven, but I have not used it.
I had similar issues trying to run with CXF embedded & amp; Configure JT, it is finally working: In Eclipse: Export - Runnable Jar File - and select the required scripts in the subfolder!
On CMD: java -jar yourunablejar.jar
My jar is too small, but the program_lib folder is large. CXF lib dir has a WHICH_JARS file that tells you whether the jar contains.
Ciao
Comments
Post a Comment