[ 
https://issues.apache.org/jira/browse/AXIS2C-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

S.Uthaiyashankar updated AXIS2C-1223:
-------------------------------------

    Fix Version/s: 1.6.0

> Ws-Addressing Module, extracting information from EPR
> -----------------------------------------------------
>
>                 Key: AXIS2C-1223
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1223
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/addressing
>    Affects Versions: 1.4.0, 1.4.1
>         Environment: Linux, Windows
>            Reporter: Julien Billon
>            Assignee: Damitha Kumarage
>             Fix For: 1.6.0
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> According to the WS-Addressing specification, an EndPoint Reference (EPR) can 
> be specified in the <wsa:ReplyTo> node. In the WS-Addressing Module, the 
> function axis2_addr_in_extract_epr_information() is responsible for 
> extracting the datas from an EPR.
> But if we look more closely at this function (around line 600), we see that 
> the reference parameters are parsed and ... that's all ! these parameters are 
> never stored in the EPR structure.
> Example :
> With a message like
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope\"; 
> xmlns:wsa="http://www.w3.org/2005/08/addressing";>
>      <soapenv:Header>
>           <wsa:To>http://example.com/services/echo</wsa:To>
>           <wsa:Action>http://example.com/OTA_PINGRQ</wsa:Action>
>           <wsa:MessageID>6dc6e535-1a70-4544-9715-26f06cdcf7bb</wsa:MessageID>
>           <wsa:ReplyTo>
>                <wsa:Address>http://requester.com</wsa:Address>
>                
> <wsa:ReferenceParameters><test>example</test></wsa:ReferenceParameters>
>           </wsa:ReplyTo>
>      </soapenv:Header>
>      <soapenv:Body><TEST>XMLBody</TEST></soapenv:Body>
> </soapenv:Envelope>
> We call the ws-addressing module to extract information from the soap header. 
> Then if we call axis2_msg_ctx_get_reply_to() and 
> axis2_endpoint_ref_get_ref_param_list() this last function always return NULL.
> Patch :
> File addr_in_handler.c Line 600
> REPLACE om_ele = (axiom_element_t *) axiom_node_get_data_element(om_node, 
> env); 
> BY axis2_endpoint_ref_add_ref_param(endpoint_ref, env, om_node);

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

Reply via email to