axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1602) Upgrade JAX-WS Message model to handle Style=RPC
Date Sat, 04 Nov 2006 04:57:16 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message