Hi Aki, On 03/29/2011 04:19 AM, Aki Yoshida wrote:
... But in any case, if we don't go for this modified class approach, we might take option 2. I think this option isn't bad, considering that we need to duplicate only CreateSequenceType and AcceptType. And these classes are probably only needed until the WSRM 1.1 is implemented.
I'm not sure why you'd say these are only needed until WS-RM 1.1 are implemented. My intention is not to replace WS-RM 1.0 support with 1.1/1.2 (which would break compatibility with older versions of CXF, and with services configured to use WS-RM 1.0), but to add support for 1.1/1.2.
But I think you're right that option 2 (generating separate CreateSequence and Accept elements - actually CreateSequence and CreateSequenceResponse elements, since Accept is embedded in the latter - using the WS-Addressing 2005 namespace) is the right way to go, and I'll change my code to match. The deciding factor for me is that this same approach of converting data structure versions is going to be needed to support 1.1/1.2, so I may as well also use it for this variation of 1.0.
Thanks, - Dennis
