Skip to main content

ant task results in "wsimport" command

2 replies [Last post]
qpool_char
Offline
Joined: 2006-05-16
Points: 0

hello, i use a build.xml containing

now, when i start 'build-server-java' task, it results in a 'wsimport' command instead of the expected 'wsgen' command. Parameters are correctly delivered.

build-server-java:
[wsgen] command line: wsimport -classpath D:\Workspace\Simple\bin -d D:\Workspace\Simple\bin\webservice -r D:\Workspace\Simple\bin -verbose webservice.Calculator
[wsgen] error: Could not create declaration for annotation type javax.jws.WebMethod
[wsgen] error: Could not create declaration for annotation type javax.jws.WebService

Does anyone know how to change it so that 'wsgen' is executed instead of 'wsimport' ?

thx in advance

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
qpool_char
Offline
Joined: 2006-05-16
Points: 0

thx for your reply, i made an issue of P4.
A copy of the issue should be sent to you.

vivekp
Offline
Joined: 2003-06-10
Points: 0

Infact wsgen is executed but the error message is printing wsimport:

[wsgen] command line: [b]wsimport [/b]-classpath

Its a bug. Please file an issue at https://jax-ws-sources.dev.java.net/servlets/ProjectIssues

and we will try to fix it as soon as we can.

In the meantime you can continue your development as the error message is coming from wsgen tool except for [b]wsimport[/b] text in the error message.

thanks,

-vivek.