on 12-05-2006 10:40 AM
Hello
I am having a web service scenario where I am populating WS Request parameters as form values and getting the response. I am printing the response on another page which is another view. I am having a button on the later view which redirects to first. The problem is again when I request the values it prints the same response values on the another page.
I guess its not refreshing the initial values. OnActionBack can we manually refresh those nodes?
Regards
Rajeev
hi
Try this out
Invalidate the response node in the OnActionBack and also set the request value attribute to null in the OnActionback
hope it helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
After your pringting your node data you can nullify the Outputnode.
try this.
for(int i = (wdContext.nodeBapi().size()-1);i>0; i--)
{
wdContext.nodeBapi().removeElement( wdContext.nodeBapi().getElementAt(i));
}
Thanks
Lohi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use invalidate() on response node after execute()
wdContext.currentRequest_NodeElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
But once we invalidate the response node will it get populated incase of another request?
e.g. i am creating a sales order into SAP. First it says SO 123 is created and when I am checking in the backend the order 123 gets created. When I go back and change some values and again creates the order it creates the order 124 into SAP with revised values but on response it shows 123. If I invalidate the node how the response will be populated in later case?
Thanks in advance.
Regards
Rajeev
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.