You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jorge Flores (JIRA)" <ji...@apache.org> on 2011/08/09 02:56:27 UTC

[jira] [Created] (CXF-3720) Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature

Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature
-----------------------------------------------------------------------

                 Key: CXF-3720
                 URL: https://issues.apache.org/jira/browse/CXF-3720
             Project: CXF
          Issue Type: Improvement
          Components: Soap Binding
    Affects Versions: 2.4.1
         Environment: Windows Server 2008 R2
            Reporter: Jorge Flores


I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   

Properties={
    "SOAPJMS_isFault"={boolean:false}
    "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
    "SOAPJMS_bindingVersion"={string:'1.0'}} 

Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CXF-3720) Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature

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

Freeman Fang reassigned CXF-3720:
---------------------------------

    Assignee: Freeman Fang

> Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature
> -----------------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property

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

Freeman Fang updated CXF-3720:
------------------------------

    Summary: SOAP over JMS miss SOAPJMS_soapAction property  (was: Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature)

> SOAP over JMS miss SOAPJMS_soapAction property
> ----------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property

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

Freeman Fang edited comment on CXF-3720 at 8/25/11 7:11 AM:
------------------------------------------------------------

Yeah, actually we have SOAPJMS_soapAction property correctly when use soap11, but only miss it when use soap12.
And currently implementation doesn't throw missingSoapAction fault(though this is an optional fault), I'll add it also.
Freeman

      was (Author: ffang):
    Yeah, actually we have SOAPJMS_soapAction property correctly when use soap11, but only miss it when use soap12.

Freeman
  
> SOAP over JMS miss SOAPJMS_soapAction property
> ----------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property when use soap12

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

Freeman Fang updated CXF-3720:
------------------------------

    Issue Type: Bug  (was: Improvement)

> SOAP over JMS miss SOAPJMS_soapAction property when use soap12
> --------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property when use soap12

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

Freeman Fang resolved CXF-3720.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5
                   2.4.3
                   2.3.7

commit fix
http://svn.apache.org/viewvc?rev=1161458&view=rev for trunk
http://svn.apache.org/viewvc?rev=1161508&view=rev for 2.4.x branch
http://svn.apache.org/viewvc?rev=1161517&view=rev for 2.3.x branch

> SOAP over JMS miss SOAPJMS_soapAction property when use soap12
> --------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>             Fix For: 2.3.7, 2.4.3, 2.5
>
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property

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

Willem Jiang commented on CXF-3720:
-----------------------------------

According to SOAP/JMS specification, the SOAPJMS_soapAction header is optional.
And if using SOAP 1.2 binding, we need to check this property matches the one within the content-type.
{code}
[Definition: If using SOAP 1.2, and the contentType property has an action parameter, that parameter value is compared with the SOAPJMS_soapAction value. A fault MUST be generated with fault subcode mismatchedSoapAction if the SOAP 1.2 action does not match the SOAPJMS_soapAction value.†]
{code}

> SOAP over JMS miss SOAPJMS_soapAction property
> ----------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property when use soap12

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

Freeman Fang commented on CXF-3720:
-----------------------------------

Per the spec
[Definition: If using SOAP 1.2, and the contentType property has an action parameter, that parameter value is compared with the SOAPJMS_soapAction value. A fault MUST be generated with fault subcode mismatchedSoapAction if the SOAP 1.2 action does not match the SOAPJMS_soapAction value.

But current implementation miss SOAPJMS_soapAction when use SOAP1.2(it has SOAPJMS_soapAction when use SOAP1.1 on the contrary), so can't compare the soapAction with the action in contentType at all, IMO this is a bug, so will change issue TYPE accordingly.

Freeman

> SOAP over JMS miss SOAPJMS_soapAction property when use soap12
> --------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property when use soap12

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

Freeman Fang updated CXF-3720:
------------------------------

    Summary: SOAP over JMS miss SOAPJMS_soapAction property when use soap12  (was: SOAP over JMS miss SOAPJMS_soapAction property)

> SOAP over JMS miss SOAPJMS_soapAction property when use soap12
> --------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property

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

Freeman Fang commented on CXF-3720:
-----------------------------------

change the issue summary to make it more accurate.


> SOAP over JMS miss SOAPJMS_soapAction property
> ----------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3720) SOAP over JMS miss SOAPJMS_soapAction property

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

Freeman Fang commented on CXF-3720:
-----------------------------------

Yeah, actually we have SOAPJMS_soapAction property correctly when use soap11, but only miss it when use soap12.

Freeman

> SOAP over JMS miss SOAPJMS_soapAction property
> ----------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-3720) Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature

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

Freeman Fang commented on CXF-3720:
-----------------------------------

Hi,

Per Soap over jms spec, if using soap1.2 the SOAPJMS_contentType would have an "action" parameter which should be same as the soapAction, so SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'}  here is correct.

However, current implementation miss SOAPJMS_soapAction properties which need be fixed.

Freeman

> Service Consumer for SOAP over JMS interface using CXF JMSConfigFeature
> -----------------------------------------------------------------------
>
>                 Key: CXF-3720
>                 URL: https://issues.apache.org/jira/browse/CXF-3720
>             Project: CXF
>          Issue Type: Improvement
>          Components: Soap Binding
>    Affects Versions: 2.4.1
>         Environment: Windows Server 2008 R2
>            Reporter: Jorge Flores
>            Assignee: Freeman Fang
>
> I have created a service consumer using the CXF JMSConfigFeature. I notice the SOAP action in the generated request message is included in the JMS custom property SOAPJMS_contentType. For example,   
> Properties={
>     "SOAPJMS_isFault"={boolean:false}
>     "SOAPJMS_contentType"={string:'application/soap+xml; action="sayHello"; charset=UTF-8'} 
>     "SOAPJMS_bindingVersion"={string:'1.0'}} 
> Is there any reason why the header property 'SOAPJMS_soapAction' is not included in the CXF SOAP/JMS implementation? 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira