Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-85

Cannot parse web.xml for jsp vehicle

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The following descriptor let's the jboss web digester choke, even though it's a perfectly legal j2ee1.4 web.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:ns1="http://extra-header.org"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
      <display-name>W2JRLR2753TestService_jsp_vehicle</display-name>
      <servlet>
      <servlet-name>jsp_vehicle</servlet-name>
      <jsp-file>/jsp_vehicle.jsp</jsp-file>
      <load-on-startup>0</load-on-startup>
      </servlet>
      <session-config>
      <session-timeout>54</session-timeout>
      </session-config>
      <service-ref>
      <service-ref-name>service/SimpleTest</service-ref-name>
      <service-interface>javax.xml.rpc.Service</service-interface>
      <wsdl-file>WEB-INF/wsdl/SimpleTest.wsdl</wsdl-file>
      <jaxrpc-mapping-file>SimpleTest.xml</jaxrpc-mapping-file>
      <port-component-ref>
      <service-endpoint-interface>com.sun.ts.tests.jaxrpc.wsi.w2j.rpc.literal.R2753.SimpleEndpoint</service-endpoint-interface>
      </port-component-ref>
      <handler>
      <handler-name>Handler1</handler-name>
      <handler-class>com.sun.ts.tests.jaxrpc.wsi.w2j.rpc.literal.R2753.R2753Handler</handler-class>
      <soap-header xmlns:soap-header_ns_="http://extra-header.org">soap-header_ns_:extra-header</soap-header>
      <soap-role>extra-header-actor</soap-role>
      </handler>
      </service-ref>
      </web-app>

      The Bug occured in the JBossWS test case for CTS 1.4. However i was able to nail it down a the jboss web Digester implementation.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rmaucher Remy Maucherat
                  Reporter:
                  heiko.braun Heiko Braun
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: