First of all,
Create an ASP.NET Web Service. As i mentioned in the ASP.NET Web Service tab of my blog.
Working with Adobe Flex and ASP.Net Web Service:
File--->>> New--->>> Flex Project--->>>
Step1:
Project Name(eg:- sampleWS)
Step2:
Application Type:(choose Web)
Step3:
Flex SDK Version
Use specific SDK:(choose flex 3.5)
Step4:
Server technology
Application server type(choose ASP.NET)
--->>>next--->>>finish
Step5:
Open sampleWS.mxml-->>>
then select Data-->>>Connect to Web Service--->>>
In the WSDL URI give the Webservice URI
(eg:-http://localhost:12315/sampleWS/Service.asmx?WSDL)
Note:-[Dont Forget To Add "?WSDL" to the URI]
--->>>>Finish
Step6:
Now drag and drop a datagrid control inside the sampleWS.mxml file.
select the datagrid and go to its property window---->>
data provider--->>bind to data
In the New Service Call select the web operation you want to work out
(eg:- here we will choose getDoctorDetails():Doctor[])
--->>> ok
thats it now just run the sampleWS.mxml file and you can able to see the doctormaster table details.
nice sharing .
ReplyDeleteplease tell me , how we can use paypal api in flex without using asp .net or php .
thanks.
what is the use of above example....if u dont..and can u give exact example for how to data exchange using httpservice
ReplyDelete
ReplyDeleteWow its a very good post. The information provided by you is really very good and helpful for me. Keep sharing good information
Flex Offers
Thank you So much for sharing this useful information, I was searching this from last one month I found this article really helpful. Definitely going to check out the info you shared. This great article and am highly impressed on it keep up your good work. Lifestyle2000ch, Lifestyle2000, Lifestyle 2000, Lifestyle2000ch
ReplyDeleteBest Regards
Lifestyle2000ch Shopping around the clock!
Thank you So much for sharing this useful information, I was searching this from last one month I found this article really helpful. Definitely going to check out the info you shared. This great article and am highly impressed on it keep up your good work.
ReplyDeleteCleaning Services,
Janitorial Services,
House Cleaning, Commercial Cleaning
Best Regards
Office Cleaning