DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42436>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42436

           Summary: service-qname and soap-header not parsed correctly
           Product: Tomcat 6
           Version: 6.0.11
          Platform: All
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The service-qname and soap-header elements are type j2ee:xsdQNameType according
to the schema at:
https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/javax/servlet/resources/j2ee_web_services_client_1_1.xsd

Using this schema, an example soap-header element might look like:
<soap-header xmlns:myns="http://myns.org";>myns:extra-header</soap-header>

However Tomcat's digester expects a soap-header element to look like:
<soap-header>
  <namespaceURI>http://myns.org</namespaceURI>
  <localpart>extra-header</localpart>
</soap-header>
which is from a previous webservice DTD, I think.

When the digester processes a web.xml that uses the correct form of
<soap-header> it produces this stack trace:
May 16, 2007 10:18:08 AM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.IllegalArgumentException: Can't convert argument: null
        at
org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils.java:976)
        at
org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.java:523)
        at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
        at 
org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1058)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)


<service-qname> elements that use the correct form do not produce a stacktrace
but they are not processed correctly.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to