[ 
http://issues.apache.org/jira/browse/AXIS2-1293?page=comments#action_12439607 ] 
            
Asankha C. Perera commented on AXIS2-1293:
------------------------------------------

This same problem can be seen with the RawXMLINOnlyMessageReceiver as well, and 
it also gives an additional erroneous  error message that states

"ClientRaw Xml provider supports only the methods bearing the signature public 
OMElement <method-name>(OMElement) where the method name can be anything"

> RawXMLINOutMessageReceiver throws an IllegalArgumentException after locating 
> the wrong method to invoke
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1293
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1293
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Asankha C. Perera
>
> When the ServiceClass has two methods with the same name, and one of these 
> accepting a single OMElement parameter (i.e. valid), the logic within the 
> Message Receiver may fail to locate the correct method to be invoked, and 
> then throw an invalid SOAP fault stating "argument type mismatch"
> <service >
>   <operation name="echoInOut">
>       <messageReceiver 
> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
>       <actionMapping>urn:echoInOut</actionMapping>
>   </operation>
> </service>
> public class MRTest1 {
>     public OMElement echoInOut(OMElement element){
>       System.out.println("echoInOut : " + element);
>       return element;
>     }
>     public String echoInOut(String something){
>       System.out.println("echoInOut - duplicate with a String : " + 
> something);
>       return something;
>     }
> }

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