on 09-25-2006 4:29 PM
I have created a model in Web Dynpro by importing a web service model using a valid WSDL, but the generated code won't compile because of type mismatches.
The problem is that methods sometimes try to pass plain objects to methods whose parameter is an array of that object, and a List to methods whose parameter is a plain object.
[Examples from SAP Netweaver tasks below]
Thanks,
Alastair
snip
The method setSessionData(EntInstType) in the type AssessRequestData is not applicable for the arguments (EntInstType[])
ComplexType_AssessRequestData.java
Type mismatch: cannot convert from EntInstType to EntInstType[]
ComplexType_AssessRequestData.java
The method setResult(List) in the type Response_JrbrsRefGeneric_listGoals is not applicable for the arguments (EntType)
Request_JrbrsRefGeneric_listGoals.java
Hi,
did you solve this problem? I am in similar situation and I need to find some solution...
thx,
JJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm getting the same error.
Type mismatch: cannot convert from short[][] to short[]
ComplexType_Carton.java
and...
The method setNumeroscarton(short[][]) in the type Carton is
not applicable for the arguments (short[])
ComplexType_Carton.java
Steps to recreate the problem:
1. Create and Expose webservice method with a parameter whose type has a short[][] (or bidimensional array of anything) field (property).
2. Try to import the web service in web dynpro... <b>kaputt</b> it won't compile.
<b>Seems like a bug to me. Someone please advice.</b>
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 | |
10 | |
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.