Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I use a web service to insert new user. It works well while i insert the data for the first time. When i insert it immediately i am not getting any response. Please find the code below.
C#
SCServiceAPI webService = new SCServiceAPI();
UserInfo NewUser = new UserInfo();
NewUser.Username = mUserName;
NewUser.Password = mPassword;
NewUser.ServiceCenter = mServiceCenter;
NewUser.CompanyUniqueID = ConfigurationManager.AppSettings["WebServiceUniqueID"].ToString();

UserInfo[] newUserInfo = new UserInfo[] { NewUser };

UserResponse[] mUserResponse = webService.InsertUserInfo(newUserInfo);
Posted
Updated 11-May-13 0:37am
v2

1 solution

Hi Mohd Riaz
Can you show the code how u have written in web service because you are telling that for the first time its working good but for 2nd time its giving problem so the it may be having problem on web service.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900