You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Arulazi Dhesiaseelan (JIRA)" <ji...@apache.org> on 2008/07/10 23:30:33 UTC

[jira] Created: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

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


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.


[jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12663809#action_12663809 ] 

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

Hi Arulazi,
Can you give more details so the error can be reproduced. A test case perhaps.
thanks,
Seán.


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


[jira] Assigned: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean O'Callaghan reassigned CXF-1698:
-------------------------------------

    Assignee: Sean O'Callaghan

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


[jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Arulazi Dhesiaseelan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664151#action_12664151 ] 

Arulazi Dhesiaseelan commented on CXF-1698:
-------------------------------------------

Sorry for the delayed response.

I was using the Logging handler, which is a JAX-WS handler right?

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


[jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664142#action_12664142 ] 

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

Hi Arulazi,

I've had a look through the code and within the RPCInInterceptor class that the operation name is being correctly set  in the MessageContext.

Are you correctly using the SOAP Binding?

If you get back to me with more detail I will investigate further, otherwise I will close this JIRA.

Regards,

Seán.



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


[jira] Closed: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean O'Callaghan closed CXF-1698.
---------------------------------

    Resolution: Fixed

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


[jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664143#action_12664143 ] 

Daniel Kulp commented on CXF-1698:
----------------------------------


Is this in the Impl or in some sort of JAX-WS handler?

If it's in a handler, the WSDL_OPERATION may be null as that wouldn't have been determined yet.


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


[jira] Issue Comment Edited: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664142#action_12664142 ] 

seanoc edited comment on CXF-1698 at 1/15/09 7:42 AM:
----------------------------------------------------------------

Hi Arulazi,

I've had a look through the code and within the RPCInInterceptor class you can see  that the operation name is being correctly set  in the MessageContext.

Are you correctly using the SOAP Binding?

If you get back to me with more detail I will investigate further, otherwise I will close this JIRA.

Regards,

Seán.



      was (Author: seanoc):
    Hi Arulazi,

I've had a look through the code and within the RPCInInterceptor class that the operation name is being correctly set  in the MessageContext.

Are you correctly using the SOAP Binding?

If you get back to me with more detail I will investigate further, otherwise I will close this JIRA.

Regards,

Seán.


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


[jira] Commented: (CXF-1698) WSDL operation null when getting from the SOAPMessageContext

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
    [ 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.