glassfish
  1. glassfish
  2. GLASSFISH-11573

Verifier reports error for a valid webservice.xml

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms07
    • Component/s: verifier
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      11,573

      Description

      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
      location:
      http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd "

      The attached file contains the following items:

      • test application naka2.war
      • verifier results
      • CLI output
      • server.log

      ------ 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.

      C:\>

      ---- 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
      information.
      Test Description : The webservices.xml file for [ naka2#Servlet
      HelloWAR#Koichi ] does not have the correct schemaLocation.
      Error: Unexpected error occurred [ 2 ].

        Activity

        Hide
        Sanjeeb Sahoo added a comment -

        All verifier bugs will be addressed by 3.1_ms7

        Show
        Sanjeeb Sahoo added a comment - All verifier bugs will be addressed by 3.1_ms7
        Hide
        Sanjeeb Sahoo added a comment -

        All verifier bugs will be addressed by 3.1_ms7

        Show
        Sanjeeb Sahoo added a comment - All verifier bugs will be addressed by 3.1_ms7
        Hide
        Sanjeeb Sahoo added a comment -

        svn -m "Verifier is now working on both Windows and Unix after switching to
        using new embedded api. These are the issues fixed:
        11394, 11572, 11573, 11595, 11596, 13568, 13569." commit

        Sending deployment/dol/osgi.bundle
        Sending persistence/cmp/support-ejb/osgi.bundle
        Sending verifier/verifier-impl/pom.xml
        Adding
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierMain.java
        Sending
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierModuleStartup.java
        Deleting
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierOSGiMain.java
        Sending
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/WSSchemaLocation.java
        Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier
        Sending
        verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier.bat
        Transmitting file data ........
        Committed revision 42661.

        Show
        Sanjeeb Sahoo added a comment - svn -m "Verifier is now working on both Windows and Unix after switching to using new embedded api. These are the issues fixed: 11394, 11572, 11573, 11595, 11596, 13568, 13569." commit Sending deployment/dol/osgi.bundle Sending persistence/cmp/support-ejb/osgi.bundle Sending verifier/verifier-impl/pom.xml Adding verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierMain.java Sending verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierModuleStartup.java Deleting verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierOSGiMain.java Sending verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/WSSchemaLocation.java Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier.bat Transmitting file data ........ Committed revision 42661.

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            tak09
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: