Reproducible operational steps:
asadmin.bat deploy axws-w2j-02-web.war
Detailed description of the issue:
When a war file is deployed by asadmin deploy command, it provided a misleading error message.
asadmin.bat deploy C:\Projects\TRAC\4851\jaxws-w2j-02-web.war
remote failure: Error occurred during deployment: Exception while preparing the
app : Service AddNumbersService seems to be a JAXRPC based web service but without the mandatory WSDL and Mapping file. Deployment cannot proceed. Please see server.log for more details.
Command deploy failed.
In fact, the war file contains valid WSDL and Mapping file although there exist other bugs in the war file.
The testing was under GlassFish v4 trunk (built from https://svn.java.net/svn/glassfish~svn/trunk (revision 57288))