axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <>
Subject Re: [jira] Created: (AXIS2-1287) RawXMLINOnlyMessageReceiver throws a NPE if method is not found
Date Tue, 03 Oct 2006 09:34:20 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
I guess your reply was about
<a class="moz-txt-link-freetext" href=""></a><br>
I will update as per your comment<br>
Sanjiva Weerawarana wrote:
<blockquote cite="mid1159862602.31088.56.camel@localhost.localdomain"
  <pre wrap="">Is your solution the right one? If the biz logic returns null then its
saying it has no XML to return. IMO that should result in the following


Boring, but valid SOAP message. Its not a fault to have no output. If
this was a POX request this'll map to HTTP 200 OK with a content length
of zero .. which is correct I'd argue.


On Mon, 2006-10-02 at 23:20 -0700, Asankha C. Perera (JIRA) wrote:
  <blockquote type="cite">
    <pre wrap="">RawXMLINOnlyMessageReceiver throws a NPE if method is not found

                 Key: AXIS2-1287
                 URL: <a class="moz-txt-link-freetext" href=""></a>
             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.

&lt;service &gt;
  &lt;parameter name="ServiceClass" locked="false"&gt;;/parameter&gt;
  &lt;operation name="invalidMethodName"&gt;
      &lt;messageReceiver class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/&gt;

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

  <pre wrap=""><!---->

To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href=""></a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href=""></a>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message