You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/11/04 06:17:17 UTC

[jira] Assigned: (AXIS2-1602) Upgrade JAX-WS Message model to handle Style=RPC

     [ http://issues.apache.org/jira/browse/AXIS2-1602?page=all ]

Rich Scheuerle reassigned AXIS2-1602:
-------------------------------------

    Assignee: Rich Scheuerle

> 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
>         Assigned To: 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