on 09-24-2009 1:38 PM
Hello,
I know, here are are lot of articles and posts adressing this subject and I have read a lot. But still there is one point confusing me. So I hope anybody here could help me and explain it to me.
Please correct me, if I am wrong.
In the controller context there are two different types of nodes: model nodes and value nodes.
When I invalidate a value node, it will be emtpy. When I invalidate a model node (regarding an adaptive web service model using CE 7.11 EHP1), the reference of the model node (response) to the model object (response) will be created or updated, but the node or the object is not cleared.
So when I execute a model object of the web service model instance, the web service creates the corresponding response objects. After that I have to create the reference from the response node to the response object using the invalidate method to see the response (e.g. the result of a calculation) in the response node and therefore in an textfield, which is bound to the response.
Now I have implemented a webdynpro app in which I am calling a webservice and executing a method with execute(). Because of my description above I should only get or see the result after calling the invalidate() method. But I get the response without calling it as well.
Why?
Thanks ahead,
Bernd
Hi Bernd,
Please check this article for ur query.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e&overridelayout=true]
Hope it helps.
Thanks and Regards,
Fazal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
note that the invalidate method clear the node
and the supply function of the node will be called.
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answers. I already read the document.
In my case there is no supply-function and the invalidate method did not clear (emtpy) the node. Nothing happens. There is only the Supplying Relation Role. And as I wrote above, I think it depends on if it is a value node or a model node.
Regards,
Bernd
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.