Verifier reports error and aborts deployment if webservices@xsi:schemaLocation
in webservice.xml is missing. According to the specification,
webservices@xsi:schemaLocation is an optional item and this shouldn't report
error or aborts deployment.
"The instance documents may indicate the published version of the schema using
the xsi:schemaLocation attribute for the Java EE namespace with the following
The attached file contains the following items:
- test application naka2.war
- verifier results
- CLI output
------ Command output ------
C:\>asadmin deploy --verify=true naka2.war
com.sun.enterprise.admin.cli.CommandException: remote failure: Exception while d
eploying the app : org.glassfish.deployment.common.DeploymentException: Some ver
ifier tests failed for the given application. Aborting deployment. Please see se
rver.log for more details.
Command deploy failed.
---- verifier results ----
FAILED TESTS :
Test Name : tests.webservices.WSSchemaLocation
Test Assertion : The Web services schemaLocation in webservices.xml matches
the schema requirement. Please refer to JSR 109MR Section #7.1.5 for further
Test Description : The webservices.xml file for [ naka2#Servlet
HelloWAR#Koichi ] does not have the correct schemaLocation.
Error: Unexpected error occurred [ 2 ].