Hi All,
I have a webservice that returns an array of struct based on different parameters. My strcut is declared like that
I have a method that returns an array of struct, based on IMO. If I test this webservice using .NET environment, it works fine. But when I try to call this webservice in aspx page it gives me an error of
Although I have same struct defined in my aspx page. This is how I am trying to get array of struct in ASPX page.
I am new to passing structs, can any one please help me in solving this.
Thanks in advance.
I have a webservice that returns an array of struct based on different parameters. My strcut is declared like that
Code:
//Struct to be sent public struct UserData { public string userID , fName , lName , IMO , status, businessAddress, city, state, zip, telephoneNumber, mail; }
Code:
Cannot convert type 'User_Interfaces.getSpecificUsers.UserData[]' to 'ADAM.AddTwoNumbers.UserData[]'
Code:
UserData[] returnedUsers = (UserData[])getUsers.getUsersByIMO(server,port,DN,"IMO*");
Thanks in advance.
Comment