login button

Transport URL

Forums :

Hi.

I've been trying to change the wsa:To value in the message header for some time now. What I want to do is post the message to one address but have another address in the wsa:To tag. This seems to describe how to do it when using the Java version.

http://wso2.org/library/3671

I also found docs in the wso2 source describing this:
wso2/docs/wsclient/index.html#ws-addressing_options

Is it possible?

Thanks.
- H

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi hjaltij, With Ruby API I

Hi hjaltij,
With Ruby API I don't think it is possible. Currently the address the message should delivered is set by the "to" option in WSMessage or WSClient. And when the useWSA is set, this value is automatically become the wsa:To value. We will check possibilities in improvements of the Ruby API to give this facility

Apparently you can't do this

Apparently you can't do this even with WSF/C right now. So I think this should go to WSF/C and then we can call that using a wrapper function in Ruby and other scripting languages.

What about the article

What about the article describing how to do this in Java?

Thanks.

We mean our implementation

We mean our implementation (Axis2/C and WSF/PHP) doesn't support that which is no doubt a missing feature. And Axis2/Java support this which is the article is about.

Thanks
Dimuthu

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.