on 05-30-2008 1:33 PM
Hi All
I am writing code for server java proxies .I am trying to get the input parameters ,my code is as follows:
package testScenario;
public class MDMtoXIMI_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MDMtoXIMI_PortType {
public void mDMtoXIMI(testScenario.JavaproxyINDT_Type javaproxyINMT) throws com.sap.aii.proxy.xiruntime.core.SystemFaultException, com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
JavaproxyINDT_Type obj=new JavaproxyINDT_Type();
return obj.getName();
// throw new RuntimeException();
}
}
I am getting typemismatch for this piece of code:JavaproxyINDT_Type obj=new JavaproxyINDT_Type();
Can anybody help?
I think the Typemismatch is in the line with "return"
The method declaration is "void", so you cannot use return here.
You should modify the interface to "synchronous"
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.