Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I am new to JavaScript & Web services..

How to show the drop down values from the Database using JavaScript

MY URL

http://88.80.223.163:8080/lumiin-service/lumiin/control/vuser/org/31

Try this with Rest-client jar

Method - post

Body

{"firstName":"mailCa","lastName":"mailCa","isDeleted":"N","passWord":"mailCa","userCode":"mailCa","localOrg":null,"industryTypeId":{"isDeleted":"N","description":"Insurance","name":"INSR","id":1},"memeber":false,"profileType":"Manager","authenticatedAccess":5,"emailId":"chandra20@gmail.com1","uuid":null,"abteilung":{"code":"mailCa","domainId":0,"parentId":85,"isDeleted":null,"description":null,"id":86},"status":0,"fullName":"mailCa,mailCa","id":31}

Application type - JSON

Any help will be appreciated

Thanks
Karthick
Posted
Comments
Kaushikhalvadiya 2-Nov-12 15:11pm    
can you change in web service?

1 solution

use ajax for this.

eg.

JavaScript
$.ajax({
	type: "GET",
	url: "http://88.80.223.163:8080/lumiin-service/lumiin/control/vuser/org/31,
	dataType: "json",   
         //or xml depends on ur webservice , jsonp in case ou cross linking of url
	success: function(data) {
        //do wat you want to do with data
        }
   });  
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900