Upgrade JAX-WS Message model to handle Style=RPC
------------------------------------------------
Key: AXIS2-1602
URL: http://issues.apache.org/jira/browse/AXIS2-1602
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Rich Scheuerle
Added the following methods on Message:
* setStyle(Style)
* Style getStyle()
* setOperationElement(QName)
* QName getOperationElement()
For outbound rpc messages, set the style and operation element.
When you set the body blocks they will get serialized inside the operation
element
Example:
message.setStyle(Style.RPC);
message.setOperationElement(new QName("urn:sample", "operation"));
message.setBodyBlock(...);
For inbound rpc messages, set the style.
When you retrieve the BodyBlocks, they will be retrieved from underneath the
Operation Element.
Example
message.setStyle(Style.RPC);
message.getBodyBlock(...);
The new testcase MessageRPCTests demonstrates simulates an RPC outbound and
inbound usage with JAXB.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]