<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Run webservice from my script.js</title><link>https://www.infopathdev.com:443/forums/thread/17860.aspx</link><pubDate>Thu, 13 Apr 2006 04:54:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17860</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17860</wfw:commentRss><description>Hi Leon,&lt;br /&gt;Have you searched the InfoPath SDK? Should be some JS samples in there that call Web services.</description></item><item><title>Run webservice from my script.js</title><link>https://www.infopathdev.com:443/forums/thread/17533.aspx</link><pubDate>Wed, 12 Apr 2006 08:40:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17533</guid><dc:creator>leonbns</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17533</wfw:commentRss><description>Hi all,&lt;br /&gt;I have created a webservice called 'CancelIncrementedOralNumber'.&lt;br /&gt;What I want is to run this webservice from my script.js code, &lt;br /&gt;when I choose for _not_ saving my formdocument.&lt;br /&gt;In script.js code, it must be placed in function: &lt;br /&gt;XDocument::OnSaveRequest(eventObj)&lt;br /&gt;with some 'if' statement such as:&lt;br /&gt;if (XDocument.IsNew == true || eventObj.IsSaveAs == false)&lt;br /&gt;&lt;br /&gt;I can't find how I must do this...&lt;br /&gt;Leon&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>