axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Billon (JIRA)" <>
Subject [jira] Created: (AXIS2C-1223) Ws-Addressing Module, extracting information from EPR
Date Wed, 02 Jul 2008 09:52:44 GMT
Ws-Addressing Module, extracting information from EPR

                 Key: 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

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="\" xmlns:wsa="">

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message