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

Deepal Jayasinghe reassigned AXIS2-852:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> Stub has checks for "rpc" and "document"
> ----------------------------------------
>
>          Key: AXIS2-852
>          URL: http://issues.apache.org/jira/browse/AXIS2-852
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Reporter: Davanum Srinivas
>     Assignee: Ajith Harshana Ranabahu

>
> Here's the snippet from Stub.java:
>     protected OMElement getElement(SOAPEnvelope env, String type) {
>         SOAPBody body = env.getBody();
>         OMElement element = body.getFirstElement();
>         if (WSDLConstants.STYLE_RPC.equals(type)) {
>             return element.getFirstElement();    // todo this needs to be 
> fixed
>         } else if (WSDLConstants.STYLE_DOC.equals(type)) {
>             return element;
>         } else {
>             throw new UnsupportedOperationException(Messages
>                     .getMessage("unsupportedType"));
>         }
>     }
> Do we need this? The previous bug AXIS2-843 was caused by this piece of code. 

-- 
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]

Reply via email to