Flex and ASP.NET WS

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.

5 comments:

  1. nice sharing .

    please tell me , how we can use paypal api in flex without using asp .net or php .


    thanks.

    ReplyDelete
  2. what is the use of above example....if u dont..and can u give exact example for how to data exchange using httpservice

    ReplyDelete




  3. Wow its a very good post. The information provided by you is really very good and helpful for me. Keep sharing good information
    Flex Offers

    ReplyDelete
  4. 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


    Best Regards


    Lifestyle2000ch Shopping around the clock!

    ReplyDelete
  5. 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.
    Cleaning Services
    ,
    Janitorial Services
    ,
    House Cleaning
    , Commercial Cleaning
    Best Regards

    Office Cleaning

    ReplyDelete