axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1287) RawXMLINOnlyMessageReceiver throws a NPE if method is not found
Date Tue, 03 Oct 2006 06:20:19 GMT
RawXMLINOnlyMessageReceiver throws a NPE if method is not found
---------------------------------------------------------------

                 Key: AXIS2-1287
                 URL: http://issues.apache.org/jira/browse/AXIS2-1287
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: core
            Reporter: Asankha C. Perera
            Priority: Minor


The RawXMLINOnlyMessageReceiver throws a NPE SOAP fault back to the client if the method referenced
is not found on the ServiceClass implementation. A meaningful SOAP fault should be returned.

<service >
  <parameter name="ServiceClass" locked="false">test.mr.MRTest1</parameter>
  <operation name="invalidMethodName">
      <messageReceiver class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
      <actionMapping>urn:invalidMethodName</actionMapping>
  </operation>
</service>

public class MRTest1 {
    public void invalidMethodNameX(OMElement element){
    	.....
    }
}

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message