hi i have a problem with WCF . please help me
when run project i give a exception :
There was no endpoint listening at https://srv-bol/Service/TRNServiceV01.svc/TRNServiceV01.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
how can attach project for you? ... please help me
thanks a lot for you for best team
Loading
Santhosh Kumar JayaramanPosted Jan 7, 2013, 5:19 AM
Harshal JumlePosted Feb 21, 2013, 4:50 AM
I have saved the data in local database in the WP7 . I have a Task table there . There may be 10,15,20 or... rows of data in that table . I want to send those number of rows of data to server using my wcf service . I am able to send the parameter to the server like i have a login method in the wcf which takes email and password as parameter returns boolean value true or false. Now I need to send these few 10,15,20 or... rows of data to the server via the WCF service and save in the server database. I am stuck at sending the number of rows to the wcf method. I have the Task data in list object. I have debugged and checked the presence of data.
Here is the code part
using (dbContext context = new dbContext()) taskStatQuery = from t in context.Tasks select t; allTasksStatus = taskStatQuery.ToList(); (client_TestFunctionCompleted);
{
IQueryable
List
WcfFSMSer.Win7MobileServiceClient client = new WcfFSMSer.Win7MobileServiceClient();
client.TestFunctionAsync(whatParamToSendForSendingFewRows);
client.TestFunctionCompleted +=
new EventHandler
}
void client_TestFunctionCompleted(object sender, WcfFSMSer.TestFunctionCompletedEventArgs e)
{ }
I am able to get all tasks list in this variable List allTasksStatus.
How to send these values from WP7 to WCF?
Thanks in advance
hesam jahangiriPosted Jan 7, 2013, 5:25 AM
hesam jahangiriPosted Jan 7, 2013, 5:07 AM
Santhosh Kumar JayaramanPosted Jan 7, 2013, 12:50 AM
You are having TRNSERVICEV01.svc twice
it should be https://srv-bol/Service/TRNServiceV01.svc