You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Glen Daniels (JIRA)" <ji...@apache.org> on 2007/06/11 18:25:26 UTC

[jira] Created: (AXIS2-2793) WSDL2Java should generate some kind of infrastructure on the server side for soap:headers defined in WSDL

WSDL2Java should generate some kind of infrastructure on the server side for soap:headers defined in WSDL
---------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2793
                 URL: https://issues.apache.org/jira/browse/AXIS2-2793
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Glen Daniels


Right now we generate extra parameters on Stubs for <soap:header>s on the client side.  We do not do any equivalent for the server side skeletons.  This is potentially a problem in that if one of the headers is sent at runtime with MustUnderstand="true", we'll get a fault even though we should understand the header.

Proposal is to define an "ApplicationHeaderHandler" which reads metadata from AxisService describing which headers the service understands.  It a) checks to see that those headers are present in the message (faults if not), b) marks them as processed so MU test works, and c) supplies the OMElements in convenient properties of the MessageContext.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2793) WSDL2Java should generate some kind of infrastructure on the server side for soap:headers defined in WSDL

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

Deepal Jayasinghe reassigned AXIS2-2793:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> WSDL2Java should generate some kind of infrastructure on the server side for soap:headers defined in WSDL
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2793
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2793
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Glen Daniels
>            Assignee: Amila Chinthaka Suriarachchi
>
> Right now we generate extra parameters on Stubs for <soap:header>s on the client side.  We do not do any equivalent for the server side skeletons.  This is potentially a problem in that if one of the headers is sent at runtime with MustUnderstand="true", we'll get a fault even though we should understand the header.
> Proposal is to define an "ApplicationHeaderHandler" which reads metadata from AxisService describing which headers the service understands.  It a) checks to see that those headers are present in the message (faults if not), b) marks them as processed so MU test works, and c) supplies the OMElements in convenient properties of the MessageContext.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org