on 04-24-2008 10:12 AM
hi,
I am trying to execute the webservices using model node. While executing my app its getting loaded, but i got only zero values. In backend values are coming. Wat s the reason?
GS
Hi Sathish,
Are you getting value in Webservice navigator for the input you have given for executing the model?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use the Messagemanager to check whether the model classes are getting Instantiated .inside the try and catch use
wdComponentApI.getMessageManager().reportSuccess("some message");
and check whether u have invalidated the correct response node.
as u are using the code inside the try and catch , the exception is caught
so in the catch block use the message manager to check whether u are getting any exception.
wdComponentAPI.getMessageManager().reportException("some message"+Exception );
thanks and regards
Fistae
Problem Solved. Problem is with backend. Now i have chedked with updated Model. Its working fine. Thanks for all u r replies.
GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satish,
This is a strange scenario. Some possible reasons could be,
1. If the webservice is callinf SAP R3 for data, then while creating a webservice and executing the websercice, you are pointing to different client than the one which you see in wsNavigator.
2. You have not bound the correct input for model execution.
3. You are invalidating the entire request node and not just response node after execution.
4. The model is pointing to wrong webservice or the logical destination defined and has a wrong client(if defined)
5. While Executing a web service, there are some exceptions which was caught within websevice and webservice has not returned any corresponding message in the return type of the webservice method.
6. exceptions caught in webdynpro but not displayed.
and So on and on.
Already you have answered for many of this in the previous section. Please confirm the other things if not answered. also, it would be useful for us if we can get the code used by you.
Thanks ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you invalidating the exact output node ?
print size of output node in the try..catch block itself
-nikhiL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.