[ 
https://issues.apache.org/jira/browse/CXF-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547869
 ] 

Thomas Diesler commented on CXF-1250:
-------------------------------------

According to the SAAJ API, a call to getSOAPHeader() is not supposed to return 
null

https://saaj.dev.java.net/nonav/spec-1.3/api/javax/xml/soap/SOAPMessage.html#getSOAPHeader()


> SOAPMessage.getSOAPHeader returns null
> --------------------------------------
>
>                 Key: CXF-1250
>                 URL: https://issues.apache.org/jira/browse/CXF-1250
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> /home/tdiesler/svn/jbossws/stack/cxf/trunk
> [EMAIL PROTECTED] trunk]$ ant -Dtest=jaxws/samples/handlerchain test
> tests-run-internal:
>     [junit] Running 
> org.jboss.test.ws.jaxws.samples.handlerchain.HandlerChainTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 6.884 sec
>     [junit] Test 
> org.jboss.test.ws.jaxws.samples.handlerchain.HandlerChainTestCase FAILED
> java.lang.NullPointerException
>         at 
> org.jboss.test.ws.jaxws.samples.handlerchain.RoutingHandler.handleInbound(RoutingHandler.java:63)
>         at 
> org.jboss.wsf.test.GenericHandler.handleMessage(GenericHandler.java:53)
>         at 
> org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandleMessage(HandlerChainInvoker.java:334)

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