This content has been marked as final. Show 9 replies
971620 wrote:Directly from the UI? What do you mean by that. Surely you don't expect the client side to call the webservice?
the problem is from UI how can we make direct calls to Webservice??
is there any possible solution in JSF 1.2. WE DONT HAVE ANNOTATIONS OF WS TO USE IN 1.2Then don't use annotations. Annotations only make things easier, they're not required for anything.
when i say submit from UI the Date selected is not coming through the Bean I have.So the backing bean isn't getting values that are being set in the UI?
Also my developers put all business logic in a Beans constructor ,which is not prefered.Are you an outsourcing company?
Why can't the date be passed to the backing bean which does the WS-call?
Even if it could be done in JS, a WS-call from the UI sounds like a bad idea (browser specfic code, client-target server firewalls etc)
And one more thing is ,all the business logic code is kept in a bean's Constructor method to initialise the user and date values.And unfortunately webservice code in Constructor. i know its bad idea. But we dont have much choice to make a call from UI to Webservice ( as we are getting data from Peoplesoft server). And display it on the frontend.
Thanks Nik and Kayaman for your valuable Inputs.
Passing date to a Bean is good idea we can try.But the question is we dont have any option or business other than making a call from UI to webservice.
If a user selects date ,we are not getting the same date to the Bean.that is the problem.as we need to display the PS records based on any Date.
how can we do that??
Any help from this forum of experts...?
Above is my response to the problem.i am not oracle products worker.. i m newbiee
- mr .k
Any help from this forum of experts...?You're not getting responses, so that already answers your question.
I really don't understand any of what you wrote. Sorry.
Nik wrote:Pure evil. You supply the gun :)
It looks like, i havent heard of WS Java script Libs to implement this kind of logic with jsf / adf faces / tags
anyways, i have to find a right gun to shoot into the foot :)
These are the problems that people who don't use server side technologies have to deal with. You are using a server side technology (JSF) so thank your stars and invoke the webservice from a backing bean or business delegate object. If you are having problems passing some values to the server side for that call then solve that problem (it's a very simple one to solve) rather than evading it and trying a shaky workaround.