on 05-06-2004 4:56 PM
Hi,
I try to bind a Model to my View's Context with this coding.
Request_WssprocessorViDocument_getKsViews request = new Request_WssprocessorViDocument_getKsViews();
wdContext.nodeResponse_WssprocessorViDocument_getKsViews().bind(request);
But I get the compilation error: The method bind(Collection) in the type IWDNode is not applicable for the arguments (Request_WSSprocessor...)
Can you tell me why?
best regards
Mathias
Hi Mathias,
you try to bind the request to the response. Change the wdContext.nodeResponse_... to wdContext.nodeRequest... and it should work.
Hope that helps.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Mathias,
it sounds like you have some wrong context-mapping.
If your WebService has a structure like:
"(class) RequestXXX" > "(relationship) ResponseXXX" > "(class) ResponseXXX" > "(relationship) ResultXXX" > "(class) ComplexTypeXX".
If you do (the component controller) model binding on the "(class) RequestXXX" and a context-mapping with the <b>same structure</b>, then you should be able to bind the request. If your View-Context was bound to the (component controller) "ComplexTypeXXX"-element (not to the request), then you'll get the error.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.