You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Andrea Zoppello (JIRA)" <ji...@apache.org> on 2008/02/20 13:45:16 UTC
[jira] Created: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
CXF BC should be able to manage WSA Headers as a Map of Strings
---------------------------------------------------------------
Key: SM-1236
URL: https://issues.apache.org/activemq/browse/SM-1236
Project: ServiceMix
Issue Type: Improvement
Reporter: Andrea Zoppello
Attachments: CxfBcConsumer.java, JbiInInterceptor.java, WSAUtils.java
In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
when the Normalized Message is marshalled into a Soap Message.
I've attached two patch
1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-1236:
--------------------------------
Component/s: servicemix-cxf-bc
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Attachments: CxfBcConsumer.java, JbiInInterceptor.java, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41358#action_41358 ]
Guillaume Nodet commented on SM-1236:
-------------------------------------
Coud you please provide your patch using
svn diff
It is much easier to review and apply in case there is some conflict because the code has evolved.
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Attachments: CxfBcConsumer.java, JbiInInterceptor.java, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SM-1236:
--------------------------------
Assignee: Freeman Fang
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Zoppello updated SM-1236:
--------------------------------
Attachment: (was: CxfBcConsumer.java)
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-1236:
--------------------------------
Fix Version/s: servicemix-cxf-bc-2008.01
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Fix For: 3.2.2, 3.3, servicemix-cxf-bc-2008.01
>
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SM-1236 started by Freeman Fang.
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41443#action_41443 ]
Freeman Fang commented on SM-1236:
----------------------------------
apply patch on behalf of Andrea Zoppello
http://svn.apache.org/viewvc?rev=631482&view=rev for 3.3 branch
http://svn.apache.org/viewvc?rev=631483&view=rev for 3.2.2 branch
One small modification
check wsAddressingAsMap == null to avoid NPE in getCXFAddressingPropertiesFromMap of WSAUtils
Thanks
Freeman
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Fix For: 3.2.2, 3.3
>
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Zoppello updated SM-1236:
--------------------------------
Attachment: JbiInInterceptor.java.patch
CxfBcConsumer.java.patch
Hi,
Attached the patch, using the patch format.
The WSAUtils, is a new file.
This patch, allow a user to use incoming wsa headers using a very easy to manipulate
java.util.Map objects, that for example could be used in groovy script.
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Zoppello updated SM-1236:
--------------------------------
Attachment: (was: JbiInInterceptor.java)
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1236) CXF BC should be able to manage WSA
Headers as a Map of Strings
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SM-1236.
------------------------------
Fix Version/s: 3.2.2
3.3
Resolution: Fixed
> CXF BC should be able to manage WSA Headers as a Map of Strings
> ---------------------------------------------------------------
>
> Key: SM-1236
> URL: https://issues.apache.org/activemq/browse/SM-1236
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc
> Reporter: Andrea Zoppello
> Assignee: Freeman Fang
> Fix For: 3.2.2, 3.3
>
> Attachments: CxfBcConsumer.java.patch, JbiInInterceptor.java.patch, WSAUtils.java
>
>
> In CXF BC, it coull be necessary to store incoming wsa headers in a Map<String, String>, and to store this map in the Normalized Message Headers.
> So if in a process flow, we want to access the value of a particular wsa header ( for example in a groovy script ), this coul be achieved in very easy way.
> On the other side the CXF must manage to bring this map from Normalized Message and transform this to right soap heeder
> when the Normalized Message is marshalled into a Soap Message.
> I've attached two patch
> 1) The first one on the JbiInInterceptor, provide to transform wsa headers in a Map<String, String> object, and to store this in a message propery
> 2) The second one on CXF-BCConsumer.JbiPostInvoker do the inverse thing
> 3) WsaUtils, provide utility methods, to pass between AddressingProperties object and Map<String, String>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.