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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to