[ 
https://issues.apache.org/jira/browse/CXF-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof updated CXF-1616:
---------------------------------

    Attachment: CXF1616.zip

The attached zip is a maven project containing a minimal webapp with a 
simplified Web service.

run mvn compile jetty:run to get the webapp running

check http://localhost:8080/tpal-webservices/services/servicesModification?wsdl 
to ensure it's running fine

use soapUi (or other) to call the service, but REMOVE all optional elements 
from the message :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:sch="http://33J/services/ServicesModification/schema";>
   <soapenv:Header/>
   <soapenv:Body>
      <sch:DeliverLoyaltyAccount>
         <sch:channel>foo</sch:channel>
      </sch:DeliverLoyaltyAccount>
   </soapenv:Body>
</soapenv:Envelope>

--> NullPointerException.

Then remove the asm dependency, restart jetty and try the same request.


> NullPointerException when asm 2.2.3 is in classpath (???)
> ---------------------------------------------------------
>
>                 Key: CXF-1616
>                 URL: https://issues.apache.org/jira/browse/CXF-1616
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>         Environment: tomcat 6 
> SUN java 1.5
> Spring 2.5.3
>            Reporter: nicolas de loof
>         Attachments: CXF1616.zip
>
>
> CXF fails to deserialize incoming XML with an empty element :
> Caused by: java.lang.NullPointerException
>       at 
> _33j.services.servicesmodification.schema.DeliverLoyaltyAccountRequest_WrapperTypeHelper1.getWrapperParts(Unknown
>  Source)
>       at 
> org.apache.cxf.jaxws.interceptors.WrapperClassInInterceptor.handleMessage(WrapperClassInInterceptor.java:122)
>       ... 21 more
> If I remove asm from the war classpath the web service invocation pass.

-- 
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