Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Here's how I generate an axis client with an ant build script:</p> <pre><code>&lt;java classname="org.apache.axis.wsdl.WSDL2Java" fork="true" failonerror="true" classpathref="classpath.path"&gt; &lt;arg value="-v"/&gt; &lt;arg value="-o"/&gt; &lt;arg file="tmp/src"/&gt; &lt;arg value="-p"/&gt; &lt;arg value="com.your.package"/&gt; &lt;arg value="${server.url}/${servicename}?wsdl"/&gt; &lt;/java&gt; </code></pre> <p>Maybe you are using a weird combination of parameters? Have your checked on those? The above is for axis 1.4 as far as I remember. </p> <p>What version are you using 2.0 or 1.4? I know it took me quite some time to get this right for 2.0. Here's how it works with mvn:</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;axistools-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.3&lt;/version&gt; &lt;configuration&gt; &lt;outputDirectory&gt;${project.build.directory}/generated/main/java&lt;/outputDirectory&gt; &lt;urls&gt; &lt;url&gt;http://yourserver:yourport/YourService?wsdl&lt;/url&gt; &lt;/urls&gt; &lt;packageSpace&gt;com.your.package&lt;/packageSpace&gt; &lt;serverSide&gt;false&lt;/serverSide&gt; &lt;subPackageByFileName&gt;false&lt;/subPackageByFileName&gt; &lt;wrapArrays&gt;false&lt;/wrapArrays&gt; &lt;/configuration&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;wsdl2java&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p>I hope this helps shed some light or further ideas on the issue.</p> <p>You might also want to check if the stuff you deployed is working right. This might not be an issue of the client generation at all. After all it says server error. Check the logfiles on the server for stacktraces maybe there is a clue there.</p>
 

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