Define component's service with interface.wsdl ,throws 'No matching operation' 
error.
-------------------------------------------------------------------------------------

                 Key: TUSCANY-1473
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1473
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-0.91
         Environment: Windows XP
            Reporter: wangfeng
             Fix For: Java-SCA-Next


I define the component's service with interface.java,the sample runs fine. but 
when I modify the component's service with interface.wsdl,the sample throws an 
exception.

The throwable stack is :

Exception in thread "main" java.lang.IllegalArgumentException: No matching 
operation is found: public abstract java.lang.String 
helloworld.HelloWorldService.getGreetings(java.lang.String)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:69)
        at $Proxy10.getGreetings(Unknown Source)
        at helloworld.HelloWorldClient.main(HelloWorldClient.java:33)

I look into the code,found the invoke mothod's input type is 'String',but the 
method which name is operation.getInputType().getLogical().get(i).getPhysical() 
on the SourceOperation  of the InvocationChain  is always return 'Object' 
type,so can't find an operation to match.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to