Forum Cross Platform with Xamarin

where to implement webservice.asmx file

Where to implement webservice.asmx in local iis or live server



  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    I'm sorry, but I don't understand what you are asking. What do you mean by "local iis" and "live server"?

  • MobileAPP415MobileAPP415 USMember

    Hi @DaveHunt
    Thank you sir for your reply.
    Xamarin Android APP development using visual studio 2015
    I set INTERNET Permission for my APP.

    1) Created and Placed my webservice.asmx file in public access(http://PUBLIC IP ADDRESS/MYWEBSERVICE.asmx)
    2) In my andriod app development,i added the web references(http://PUBLIC IP ADDRESS/MYWEBSERVICE.asmx)
    3) Created the proxy for the web reference that i added(for consuming web methods)

    4) Under Andriod button click event calling the webservice methods as below mentioned.

    private void Btnsendemail_Click(object sender, EventArgs e)
    zeondb1.zeonservice OBJ2 = new zeondb1.zeonservice();
    OBJ2.ANDRIOD_ADDUSERAsync(txtemail.Text, txtpassword.Text, "NA");
    public void OBJ2_ANDRIOD_ADDUSERCompleted(object sender,zeondb1.ANDRIOD_ADDUSERCompletedEventArgs e)

    Now facing error "frame not in module".

    Thank you @DaveHunt

Sign In or Register to comment.