axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-852) Stub has checks for "rpc" and "document"
Date Tue, 27 Jun 2006 06:41:33 GMT
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message