matthiasblaesing commented on issue #8454:
URL: https://github.com/apache/netbeans/issues/8454#issuecomment-2828644647

   The sample project makes no sense. The `web.xml` is from JavaEE era, the 
build script is from JavaEE era, the dependencies come from JakartaEE. I 
suspect, that the build script is scanning for `javax.jws.WebService` 
annotations, but there are `jakarta.jws.WebService` annotations.
   
   This might be fixable, but I doubt there will be an active developer that 
care about ant projects. I suggest to move to maven and use the 
`jaxws-maven-plugin` plugin for code generation.
   
   This should be the straight conversion: 
[TestSeller11.zip](https://github.com/user-attachments/files/19897790/TestSeller11.zip)
 (only checked deployment on tomcat and verified WSDL is generated)
   
   - project was moved to maven
   - `catalog.xml` was moved to 
`src/main/resources/META-INF/jax-ws-catalog.xml` where it is expected by the 
JaxWS runtime
   - `context.xml` was dropped as the generated war has the right name, so that 
dropping it into the `webapps` folder will yield the correct url
   - registrations for listener and servlets was removed as they are not needed 
(anymore)
   - duplication of `PartOrderMgr.wsdl` was removed
   - `@HandlerChain` was removed as it references a file that does not exist
   - reference to wsdl in `@WebService` was fixed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to