[ 
https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664541#action_12664541
 ] 

Sean O'Callaghan commented on CXF-1698:
---------------------------------------

I've reproduced the problem using the jaxws_handler sample calling 

operation = (javax.xml.namespace.QName) smc.get(MessageContext.WSDL_OPERATION); 

from within handleMessage(SOAPMessageContext smc) in the samples LoggingHandler.

Debugging into it it appears that the MessageContext has not been fully 
populated in that the exchange variable in WrappedMessageContext is null and so 
the get() cannot call out to determine the operation name.

> WSDL operation null when getting from the SOAPMessageContext
> ------------------------------------------------------------
>
>                 Key: CXF-1698
>                 URL: https://issues.apache.org/jira/browse/CXF-1698
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.1
>            Reporter: Arulazi Dhesiaseelan
>            Assignee: Sean O'Callaghan
>
> The following code on the SoapMessageContext returns null.
> javax.xml.namespace.QName operation = (javax.xml.namespace.QName) 
> smc.get(MessageContext.WSDL_OPERATION);
> I have annotated my web method with operationName tag.  But, still getting 
> null.

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