Jump to content

Asking for learning materials


homer.j.simpson

Recommended Posts

Hi all,I would like to create a web page with plain client-side only JavaScript code that accesses web service from different domain.I've been googling these days and found some learning materials. But those are mainly focused on using web service within same domain which is no use for me. I need to access external web services on external servers, and I want to do it all from client-side JavaScript. I would apprecite if anyone can recommend me some useful web resources.Cheers

Link to comment
Share on other sites

This might get you started:http://www.wikipedia.org/wiki/XSSIf you can't do it with javascript alone (as I expect), you'll probably have to create a server-side solution where your client-side code can send a request (in the same domain) as your server and your server code would fetch the web service and return it to the client.

Link to comment
Share on other sites

Hi, Ya.. you can do this... I am sending you a link... The page on this link, use web-services... so you will get idea how is it....http://www.soahub.com/Solutions/Enterprise..._Providers.aspxThis web-site provide... web-service via web-page.. just go through this...Now, question is from where you can get info to implement this.First you have understand the web-service properly. than you can use any server which deploys web-service on invocation...the way you will call web-service from you java script page called invocation of web-service... which can be achieve using any way-Several ways to create and deploy web-service:1. Using Apache Axis (http://ws.apache.org/axis2/1_1_1/adv-userguide.html)2. Bea Weblogic (http://edocs.bea.com/wls/docs70/webserv/index.html)3. NB 5.0 and Java Web-server 7.0 (http://developers.sun.com/prodtech/webserver/reference/techart/websvcs_n b.html)4. Using Oracle JDeveloper and Oracle App Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm)But.. I m telling you, you must be aware about web-service and to invoke them... using above servers... than it will be same as calling servlet using java script..."I JUST TOLD YOU WHAT I KNOW, it may help full to you, Rest you can search on Google"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...