how to get user defined type through webservice
-
i write a class UserInfo included some fields and property, and then add method GetUserInfo() in .asmx return type is UserInfo, but when i call GetUserInfo() from client VS shows error : can not convert “SSIMS_APP.localhost.SecurityCheckInfo” to “SSIMS_Info.SecurityCheckInfo” SSIMS_APP is client project SSIMS_Info is the project Class UserInfo in
-
i write a class UserInfo included some fields and property, and then add method GetUserInfo() in .asmx return type is UserInfo, but when i call GetUserInfo() from client VS shows error : can not convert “SSIMS_APP.localhost.SecurityCheckInfo” to “SSIMS_Info.SecurityCheckInfo” SSIMS_APP is client project SSIMS_Info is the project Class UserInfo in
You need to send the parts of the app individually, or create this shared class in a dll that both projects use, so their type is the same. Christian Graus - Microsoft MVP - C++