Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Axis2 is <strong>JAX-WS</strong> compliant, therefore you can use the <code>wsimport</code> tool instead of <code>wsdl2java</code>. I assume you've taken the contract first approach and you are generating the stubs from the WSDL file. Here is the <a href="https://jax-ws-commons.java.net/jaxws-maven-plugin/wsimport-mojo.html" rel="nofollow">doc</a> to the wsimport maven plugin. A lot of things can be changed (<code>destDir</code> for instance). </p> <p><em>Maven clean deletes the generated source folder. I will have to protect the stub with the implemented business logic from deletion.</em></p> <p>You can actually generate the stubs to your regular package structure (perhaps to its own package) and add include (or exclude) the generated files in the maven clean plugin <a href="http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html" rel="nofollow">configuration</a>. If you use this <a href="http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html" rel="nofollow">mvn plugin</a>, your IDE should add the generated files to the project classpath.</p> <p>If I were you, I would definitely try to do as much as possible as JAX-WS compliant, because if you do so, you won't be vendor locked-in to Axis2. But you can switch to CXF, Metro or Jboss WS in the future. The <code>services.xml</code> file is Axis2 specific.</p> <p><em>So again some parts of the generated stubs should be protected from modification.</em></p> <p>You can mark those resources as ignored by your SCM system. And mark them as derived in the Eclipse. Here is <a href="http://sourceforge.net/apps/trac/eclipsefrills/wiki/ResourceFrills" rel="nofollow">mvn plugin</a> for it. If you do so, devs will be notified when trying to change them. There must be something similar in IntelliJ IDEA as well.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload