I have written a C# web service in Visual Studio 2005, to be used by InfoPath
2007 to retrieve and submit data. The web service works perfctly, but only
after I have opened Visual Studio, opened the web service solution, selected
the asmx file and viewed it in a browser.
Do I need to add something to InfoPath or something to the web service, to
get it to work without going through these steps each time?
Thanks for your help,
Helen
Clay Fox - 05 Nov 2007 19:32 GMT
You need to have the server of the web service as a trusted site.
You also need to have it as a data conntection.
For examples of web services check out the Database Accelerator at
http://www.qdabra.com and example tutorials at http://www.infopathdev.com

Signature
Thanks
Clay Fox
Qdabra Software
http://www.qdabra.com
InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
> I have written a C# web service in Visual Studio 2005, to be used by InfoPath
> 2007 to retrieve and submit data. The web service works perfctly, but only
[quoted text clipped - 6 lines]
> Thanks for your help,
> Helen
Bryan Phillips - 06 Nov 2007 01:41 GMT
Where are you hosting the web service? IIS or the built-in web server
in VS2005?
--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Microsoft MVP - Client Application Development
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net
> I have written a C# web service in Visual Studio 2005, to be used by InfoPath
> 2007 to retrieve and submit data. The web service works perfctly, but only
[quoted text clipped - 6 lines]
> Thanks for your help,
> Helen
Sundar Narasiman - 06 Nov 2007 08:27 GMT
You need to do the following steps
1.Provide Data Connection to the web service from the infopath from
Pls refer the following links for that
http://dotnetbuzz.spaces.live.com/blog/cns!F3599E60D988EEB0!249.entry
http://msdn2.microsoft.com/en-us/library/bb852081.aspx
2. For deploying the forms to the forms services, pls refe the following links
http://msdn2.microsoft.com/en-us/library/bb267334.aspx
http://msdn2.microsoft.com/en-us/library/bb267337.aspx
http://msdn2.microsoft.com/en-us/library/bb267335.aspx

Signature
----
Sundar Narasiman,
http://dotnetbuzz.spaces.live.com/
> I have written a C# web service in Visual Studio 2005, to be used by InfoPath
> 2007 to retrieve and submit data. The web service works perfctly, but only
[quoted text clipped - 6 lines]
> Thanks for your help,
> Helen