Receive data from SQL to browser enabled form - InfoPath Dev Sign in | Join | Help in SQL Database Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SQL Database Integration » Receive data from SQL to browser enabled form Receive data from SQL to browser enabled form Last post 11-04-2008 05:50 AM by jeeva. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-03-2008 09:07 PM jeeva Joined on 07-18-2008 Bangalore Posts 79 Receive data from SQL to browser enabled form Reply Contact HiI created one browser enabled IPF, it contains 5 textfields (Name,Class,Subject,ID,Date).I created one database in my sql server.How can i receive sql data from my IPF using webservice.If anyone knows the solution give me some examples. Filed under: data connections, Sql 11-03-2008 10:10 PM In reply to sandhyapati Joined on 06-12-2008 Posts 54 Re: Receive data from SQL to browser enabled form Mark as Not AnswerMark as Answer... Reply Contact Hi jeeva, can you go through the below links, I hope it gives clear idea http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part1.aspx http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part2.aspx http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part3.aspx Thanks,Sandhya 11-03-2008 10:44 PM In reply to santhoshp Joined on 09-06-2007 Posts 66 Re: Receive data from SQL to browser enabled form Mark as Not AnswerMark as Answer... Reply Contact Hi, You should have a method in your web service to receive data from database. Then you have to take the receive data connection in your IPF to that web method. Here is one example for creating a http endpoint web service which has a web method to receive data from a table in database. --Stored Procedure for receiving data from a table in databasecreate procedure Receive as Begin select * from dbo.DISCOUNTS end --Create a web service by using the stored procedure for receiving dataCreate ENDPOINT discount_endpoint_Receive STATE = STARTEDAS HTTP (PATH = '/sqlreceive', AUTHENTICATION = (INTEGRATED ), PORTS = ( CLEAR ), SITE = 'server14')FOR SOAP (WEBMETHOD 'ReceiveData' (name='infocityhall.dbo.receive',SCHEMA=STANDARD ), WSDL = DEFAULT, SCHEMA = STANDARD, DATABASE = 'infocityhall', NAMESPACE = 'http://tempUri.org/') Now we have to take receive data connection for "ReceiveData" method in "http://server14/sqlreceive?WSDL" web service. Santhoshhttp://www.ggktech.com 11-04-2008 05:50 AM In reply to jeeva Joined on 07-18-2008 Bangalore Posts 79 Re: Receive data from SQL to browser enabled form Mark as Not AnswerMark as Answer... Reply Contact Hi Friends, Thank u very much for yours solution.I solve my issue by changing the cross-domain property in central admin. Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi
I created one browser enabled IPF, it contains 5 textfields (Name,Class,Subject,ID,Date).
I created one database in my sql server.
How can i receive sql data from my IPF using webservice.
If anyone knows the solution give me some examples.
Hi jeeva,
can you go through the below links, I hope it gives clear idea
http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part1.aspx
http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part2.aspx
http://blogs.technet.com/elenat/archive/2008/05/13/designing-an-infopath-form-that-can-store-data-in-a-database-part3.aspx
Hi,
You should have a method in your web service to receive data from database. Then you have to take the receive data connection in your IPF to that web method.
Here is one example for creating a http endpoint web service which has a web method to receive data from a table in database.
--Stored Procedure for receiving data from a table in database
as
Begin
select
end
--Create a web service by using the stored procedure for receiving data
STATE
AUTHENTICATION
PORTS
SITE
WSDL
NAMESPACE
Now we have to take receive data connection for "ReceiveData" method in "http://server14/sqlreceive?WSDL" web service.
Hi Friends,
Thank u very much for yours solution.
I solve my issue by changing the cross-domain property in central admin.