Hi,

 

When I run java2wsdl-maven-plugin, I get the following exception:

 

[INFO] [axis2-java2wsdl:java2wsdl {execution: default}]

java.lang.Exception: java.io.IOException: The filename, directory name,
or volume label syntax is incorrect

        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2
WSDLCodegenEngine.java:93)

        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.<init>(Java2WSDLCodegenEn
gine.java:47)

        at
org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.ja
va:146)

        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:451)

        ... (trace deleted)

Caused by: java.io.IOException: The filename, directory name, or volume
label syntax is incorrect

        at java.io.WinNTFileSystem.createFileExclusively(Native Method)

        at java.io.File.createNewFile(File.java:883)

        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2
WSDLCodegenEngine.java:89)

        ... 20 more

 

The plugin defined in the POM is:

      <plugin>

        <groupId>org.apache.axis2.maven2</groupId>

        <artifactId>axis2-java2wsdl-maven-plugin</artifactId>

        <configuration>

 
<className>samples.quickstart.service.pojo.StockQuoteService</className>

        </configuration>

        <executions>

          <execution>

            <goals>

              <goal>java2wsdl</goal>

            </goals>

          </execution>

        </executions>

      </plugin>    

 

Is there anything I am missing in configuring?

 

Thanks for your help.

 

-Amit

 

The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Index plc is a company registered in England and Wales under number 
01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 
157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the 
Financial Services Authority. FSA Register number 114059.

Reply via email to