on 10-29-2008 9:18 PM
Hi experts,
I've a problem when i try to call a webservice, the webservice structure is:
root
---> request
-
> item (0..n)
-
>fieldA(1)
--> response
-
> item (0..n)
-
>fieldb(1)
in the view and controller i have the same structure.
in the java code i populated the request structure manually in the view, the view structure is mapped directly to the controller structure.
but when i try to execute the webservice the values populated in the view don't arrive to the controller.
Any idea?
Thanks in advance
Hi,
First confirm whether the problem is with your context mapping or with webservice. Where are you setting the request parameters in view controller's Init or under any action. Check this by putting this code
wdComponentAPI.getMessageManager().reportSuccess(wdThis.wdGet<<ABCController().wdGetContext().currentA_InputElement().getAttribute())
This will check whether the values set in view context is passing to controller or not?
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First check if the webservice is working fine. Test the webservice from here.
Once that is done, recheck the binding from the model and test the output.
Regards,
Harini S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ho Joe,
I think the data is not getting set.
Try to check populated request data of view getting set to the conetxt of view or not.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.