ADF best practice to give webservice calls
« Groups Home
ADF EnterpriseMethodology Group
6 messages -
-Collapse all-Report discussion as spam
View profileMore options
Mar 21, 6:15 pmHi,I need to know what are the best practice of integrating SOA architecturein ADF application. I mean i do not want the usual way of directlyinteracting with database from VOs or EOs.I have webservices deployed in a different server which i need to invokefrom ADF application running on WLS.Lets say suppose our project architecture is as follows:1. Design and code the web service endpoint interface. : The firststep in creating a web service is to design and code its endpointinterface, in which you declare the methods that a web service remoteclient may invoke on the service.2. Write a configuration file : We have to write a configuration filewith few details like Service name, namespace, package name, targetnamespace etc . This file will help us to generate a WSDL file.3. Generate WSDL file.4. Generate Proxies :By giving the WSDL location we can generateproxy clients from Jdeveloper.5. Deploy the webservice : We deploy the Webservices build in step 1in a different server(sps. Tomcat ).6. Invoke Webservice from client : From ADF view or model we caninvoke respective proxy clients methods that got generated in step 4.So here for point no 6 i need the clarification like from whichlayer(Model or ViewController) its the best to invoke the proxies and hitthe webservice. If from model then what are the different ways and if fromViewcontroller then what are the different ways.Looking forward to hear from you all soon.Regards,Sanjeeb
Reply to author ForwardReport spam
View profileMore options
Mar 21, 8:08 pmIt is always good idea to call web services from Model layer since it ispart of business service component.Putting web services call in view controller layer i.e. managed bean needto be last choice for particular validation scenario apart from that we can use web services as data controlfor directly deriving GUI fromweb services which is also good practice.I want some body to explore the best practices of how to show webservicesdata using VO Object in table and form format.If VO has few thousands records and if we need one field value fromwebserices based on input of one of VO attribute thenwhat would the best implementation.
The old Google Groups will be going away soon. Switch to the new Google Groups.
About this groupEdit my membershipSponsored links
Barracuda Backup ServiceDouble the Storage for Same Price!From €40/200 GB/Month. Free Evalwww.barracudanetworks.comExpert Cognos resourcesLeading Cognos resource specialist:Cognos 8, Datastage, Planning, TM1www.eu-solutions.co.ukOracle Training CoursesLondon, Manchester & LeedsContact us for best priceswww.datrixtraining.com/
See your message here...
+ new post
ADF best practice to give webservice calls - ADF Enterprise Methodo...http://groups.google.com/group/adf-methodology/browse_thread/thread...1 of 53/24/2012 8:14 PM