The following comment has been added to this issue: Author: Scott Nichol Created: Wed, 17 Mar 2004 7:30 AM Body: Christian - can you attach your patch? A "diff -u" is the preferred format. --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/secure/ViewIssue.jspa?key=SOAP-165&page=comments#action_21031
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/secure/ViewIssue.jspa?key=SOAP-165 Here is an overview of the issue: --------------------------------------------------------------------- Key: SOAP-165 Summary: Exceptions from deserializer not sent by faultListener Type: Improvement Status: Open Priority: Minor Project: Apache SOAP Components: All Versions: 2.3 Assignee: Scott Nichol Reporter: Christian Landbo Created: Wed, 17 Mar 2004 3:33 AM Updated: Wed, 17 Mar 2004 7:30 AM Description: Any exceptions thrown from a deserializer won't get sent to a custom faultListener since the 'DeploymentDescriptor dd' is null at that point in the RPCRouterServlet. Scott Nichol: I believe you are correct. I find it understandable that the code works this way, although it does not really have to. In order to determine the correct deployment descriptor, Apache SOAP must parse the namespace from the XML element specifying the method. It does this within RPCRouter#extractCallFromEnvelope. Interestingly, within that method, after getting the namespace, Apache SOAP gets the deployment descriptor to verify that the namespace is supported. When the method returns, RPCRouterServlet#doPost gets its own copy of the deployment descriptor. So, if the RPCRouterServlet could have RPCRouter set its deployment descriptor reference, it would give you the desired behavior. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira