locked
How To Use Webservice In C# RRS feed

  • Question

  • User-171003712 posted

    I am getting a error on this webservice
    http://xxxxxxxxxxxxxxx.com/service.asmx


    when you run this code you getting a error 
    "Object reference not set to an instance of an object."

    so guys plz help me i have spend two days to find how to set code and call webservice 
    thanks

    Friday, June 7, 2013 6:53 PM

Answers

  • User220959680 posted

    k

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, June 9, 2013 7:32 AM

All replies

  • User-2005691517 posted

    Can you post the relevant code?

    Friday, June 7, 2013 9:00 PM
  • User894328585 posted

    Check code for defining or assignment of objects.

    Better Try null-coalescing for doubtful object

    Saturday, June 8, 2013 3:28 AM
  • User-171003712 posted

    hello this is my code and i am call one method of this webservice is "AvailabilitySearch"





          

    so gyus plz check n tell me what i am dong wrong

    Saturday, June 8, 2013 4:47 AM
  • User220959680 posted

    k

    Saturday, June 8, 2013 4:38 PM
  • User-171003712 posted

    Hello

    i am getting error on this line

    AvailabilitySearch objSearch = new AvailabilitySearch();

    not calling the webservice of object

    when you run my code you can see

    plz help me i had waist my week for this stupid error

    Sunday, June 9, 2013 3:22 AM
  • User220959680 posted

    k

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, June 9, 2013 7:32 AM