You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Chad Phillips (JIRA)" <de...@tuscany.apache.org> on 2009/10/16 00:31:31 UTC
[jira] Created: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Invoker recieves a Message with no header data for a request that contained a SOAP header
-----------------------------------------------------------------------------------------
Key: TUSCANY-3309
URL: https://issues.apache.org/jira/browse/TUSCANY-3309
Project: Tuscany
Issue Type: Bug
Components: Java SCA Axis Binding Extension
Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
Reporter: Chad Phillips
The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Posted by "Chad Phillips (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad Phillips updated TUSCANY-3309:
-----------------------------------
Attachment: TUSCANY-3309_Axis2ServiceProvider.patch2
Modified the patch slightly to account for multiple child elements in the SOAP header as per the spec
> Invoker recieves a Message with no header data for a request that contained a SOAP header
> -----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3309
> URL: https://issues.apache.org/jira/browse/TUSCANY-3309
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
> Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
> Reporter: Chad Phillips
> Attachments: TUSCANY-3309_Axis2ServiceProvider.patch, TUSCANY-3309_Axis2ServiceProvider.patch2
>
>
> The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
> The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws reassigned TUSCANY-3309:
-----------------------------------
Assignee: Simon Laws
> Invoker recieves a Message with no header data for a request that contained a SOAP header
> -----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3309
> URL: https://issues.apache.org/jira/browse/TUSCANY-3309
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
> Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
> Reporter: Chad Phillips
> Assignee: Simon Laws
> Attachments: TUSCANY-3309_Axis2ServiceProvider.patch, TUSCANY-3309_Axis2ServiceProvider.patch2
>
>
> The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
> The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Posted by "Chad Phillips (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad Phillips updated TUSCANY-3309:
-----------------------------------
Attachment: TUSCANY-3309_Axis2ServiceProvider.patch
Patch file containing modifications to modules\binding-ws-axis2\src\main\java\org\apache\tuscany\sca\binding\ws\axis2\Axis2ServiceProvider.java
> Invoker recieves a Message with no header data for a request that contained a SOAP header
> -----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3309
> URL: https://issues.apache.org/jira/browse/TUSCANY-3309
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
> Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
> Reporter: Chad Phillips
> Attachments: TUSCANY-3309_Axis2ServiceProvider.patch
>
>
> The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
> The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Laws resolved TUSCANY-3309.
---------------------------------
Resolution: Fixed
Fix Version/s: Java-SCA-Next
Applied to 1.x at revision: 826612. Thanks for the patch Chad.
> Invoker recieves a Message with no header data for a request that contained a SOAP header
> -----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3309
> URL: https://issues.apache.org/jira/browse/TUSCANY-3309
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
> Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
> Reporter: Chad Phillips
> Assignee: Simon Laws
> Fix For: Java-SCA-Next
>
> Attachments: TUSCANY-3309_Axis2ServiceProvider.patch, TUSCANY-3309_Axis2ServiceProvider.patch2
>
>
> The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
> The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TUSCANY-3309) Invoker recieves a Message with no
header data for a request that contained a SOAP header
Posted by "Chad Phillips (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768776#action_12768776 ]
Chad Phillips commented on TUSCANY-3309:
----------------------------------------
Verified that r826612 worked as expected using my test app
> Invoker recieves a Message with no header data for a request that contained a SOAP header
> -----------------------------------------------------------------------------------------
>
> Key: TUSCANY-3309
> URL: https://issues.apache.org/jira/browse/TUSCANY-3309
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.5.1, Java-SCA-1.5.2
> Environment: Windows XP Pro, Java 1.5.0_18, Tuscany SCA Java 1.5.1 final & 1.5.2 SNAPSHOT (r825638)
> Reporter: Chad Phillips
> Assignee: Simon Laws
> Fix For: Java-SCA-Next
>
> Attachments: TUSCANY-3309_Axis2ServiceProvider.patch, TUSCANY-3309_Axis2ServiceProvider.patch2
>
>
> The scenario is that I have a simple composite with one component exposing a service via the WS binding. The policy I've created is then applied to that component. All of the policy classes seem to load up fine, but the issue I'm seeing is with the contents of the Message object that's received via my Interceptor implementation. The SOAP message I sent to the web service had information in the SOAP header but the header collection in the Message object is empty. The body array contains an OMElementImpl object for the SOAP body as I'd expect. I believe that the header collection in the Message should contain an OMElementImpl object for the SOAP header.
> The supplied patch modifies the org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider class in the binding-ws-axis2 module such that if a SOAP header exists, it is added to the header collection in the Message object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.