cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean O'Callaghan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext
Date Fri, 16 Jan 2009 15:31:01 GMT

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


Mime
View raw message