S
steve
hi,
I'm submitting a form to an webservice and like to now how to get te
responce from a webservice?
I'm using c# and infopath 2007 vsta to submit the webservice
public void FormEvents_Submit(object sender, SubmitEventArgs e)
{
WebServiceConnection objWebService =
(WebServiceConnection)this.DataConnections["webservice2"];
objWebService.Execute();
e.CancelableArgs.Cancel = false;
}
the webservice looks like:
[WebMethod(Description = "Webservice2")]
public string webservice2(frm.form2 objform)
{
.....
return "Test"
}
How do i get the string "Test" back to the InfoPath form?
thanks
I'm submitting a form to an webservice and like to now how to get te
responce from a webservice?
I'm using c# and infopath 2007 vsta to submit the webservice
public void FormEvents_Submit(object sender, SubmitEventArgs e)
{
WebServiceConnection objWebService =
(WebServiceConnection)this.DataConnections["webservice2"];
objWebService.Execute();
e.CancelableArgs.Cancel = false;
}
the webservice looks like:
[WebMethod(Description = "Webservice2")]
public string webservice2(frm.form2 objform)
{
.....
return "Test"
}
How do i get the string "Test" back to the InfoPath form?
thanks