Axis2: Response Wrapper class isn't set correctly which caused a NPE in Axis2
-----------------------------------------------------------------------------

                 Key: GERONIMO-3085
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3085
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-M5
         Environment: winxp + sun 1.5 SDK
            Reporter: Lin Sun
             Fix For: 2.0-M5
         Attachments: 3085.patch

In AxisServiceGenerator, we are not setting the name of the Response Wrapper 
class incorrectly, which caused a NPE in Axis2.  Here's the exerpt from 
geronimo.log:

9938 40:10:21:48,687 DEBUG [ArtifactProcessor] The following class is missing: 
samples.geronimo.apache.org.jws.AddResponse Processing continues.
...

Request Wrapper class: null; Response Wrapper class: 
samples.geronimo.apache.org.jws.AddResponse

It should be set as org.apache.geronimo.samples.jws.AddResponse here.   
Modified the logic in getWrapperClassName method as the current code assumes 
there is only one dot in host.  With the fix, got passed by this NPE error 
which I encountered yesterday but still not able to get end to end flow working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to