You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2007/08/14 04:19:30 UTC

[jira] Resolved: (AXIS2C-668) WS-Addressing module does not set ReferenceParameters for wsa:To

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

Samisa Abeysinghe resolved AXIS2C-668.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
         Assignee: Samisa Abeysinghe

Applied and tested the patch and seems to work fine. Hence commited. 
Many thanks for the patch.



> WS-Addressing module does not set ReferenceParameters for wsa:To
> ----------------------------------------------------------------
>
>                 Key: AXIS2C-668
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-668
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>            Reporter: Jamie Lyon
>            Assignee: Samisa Abeysinghe
>             Fix For: 1.1.0
>
>         Attachments: to_ref.diff
>
>
> wsa:To ReferenceParameters should be set as per the following standard:
> http://www.w3.org/TR/ws-addr-soap/#bindrefp
> At present the code which should do such a thing only adds reference parameters for replyto, etc... not wsa:To
> axiom_node_t* node = NULL;
> axiom_namespace_t* ns = axiom_namespace_create( this->axisEnv, "http://nsuri", "prefix" );
> axiom_element_t* element = axiom_element_create( this->axisEnv, NULL, "EleName", ns, &node ); axiom_element_set_text( element, this->axisEnv, "sometext", node );
> axis2_endpoint_ref_t* endpointRef = axis2_endpoint_ref_create(
> this->axisEnv, this->endpoint.c_str() );
> axis2_endpoint_ref_add_ref_param( endpointRef, this->axisEnv, node ); axis2_options_set_to( options, this->axisEnv, endpointRef );

-- 
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-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org