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 "Frank Cornelis (JIRA)" <ji...@apache.org> on 2006/04/21 16:32:08 UTC

[jira] Commented: (AXIS2-597) "argument type mismatch" on result = (OMElement) method.invoke(obj, args);

    [ http://issues.apache.org/jira/browse/AXIS2-597?page=comments#action_12375574 ] 

Frank Cornelis commented on AXIS2-597:
--------------------------------------

Some more debug info:
The parameter of the method is EchoRequest which is a super class of org.apache.axis2.databinding.ADBBean while the runtime type is org.apache.axiom.om.impl.llom.OMElementImpl.


> "argument type mismatch" on result = (OMElement) method.invoke(obj, args);
> --------------------------------------------------------------------------
>
>          Key: AXIS2-597
>          URL: http://issues.apache.org/jira/browse/AXIS2-597
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Reporter: Frank Cornelis

>
> I'm using the SVN version of Axis2.
> I have a simple doc/lit WSDL. Using a JAX-WS service with JAX-WS client works just fine. 
> An Axis2 service with the JAX-WS client gives me an "argument type mismatch" on 
>      result = (OMElement) method.invoke(obj, args);
> within RawXMLINOutMessageReceiver.java (line 100). 
> I assume this is the last step before entering my implementation class... so it would be cool if it got fixed. :)
> The targetNamespace is of format "urn:xxx:yyy", the external schema has a namespace "urn:xxx:yyy:types". For the rest it's a normal doc/lit WSDL.
> BTW: great work... most of the bugs I reported so far got fixed somehow.
> Frank.

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


Re: [jira] Commented: (AXIS2-597) "argument type mismatch" on result = (OMElement) method.invoke(obj, args);

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Fri, 2006-04-21 at 14:32 +0000, Frank Cornelis (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/AXIS2-597?page=comments#action_12375574 ] 
> 
> Frank Cornelis commented on AXIS2-597:
> --------------------------------------
> 
> Some more debug info: The parameter of the method is EchoRequest which
>  is a super class of org.apache.axis2.databinding.ADBBean while the
>  runtime type is org.apache.axiom.om.impl.llom.OMElementImpl.

Hi Frank- if u r using the RawXMLMR then your method must return an
OMElement.

It looks like you want to use the RPC message receiver?

Sanjiva.