<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Tailored Forms for Generic Webservice</title><link>https://www.infopathdev.com:443/forums/thread/3859.aspx</link><pubDate>Mon, 22 Jan 2007 19:58:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3859</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3859</wfw:commentRss><description>You're welcome.  In the standard secondary submit method you should be able to specify the starting node for the data you want to submit.  This is in the middle of the data connection wizard.</description></item><item><title>Re: Tailored Forms for Generic Webservice</title><link>https://www.infopathdev.com:443/forums/thread/3858.aspx</link><pubDate>Mon, 22 Jan 2007 18:16:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3858</guid><dc:creator>tbrentlong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3858</wfw:commentRss><description>Thanks for the advice Shiraz.  With what I'm seeing so far, it looks like the best solution for me may be to create a custom object that takes a blob of XML and calls a web service.  Then add a submit button to each specific InfoPath form and in the submit method, use CreateObject to instantiate it and pass in the XML and examine the return value.  Do you know how to (easily?) pull the form's whole XML string from inside the submit method?</description></item><item><title>Re: Tailored Forms for Generic Webservice</title><link>https://www.infopathdev.com:443/forums/thread/3857.aspx</link><pubDate>Mon, 22 Jan 2007 17:19:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3857</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3857</wfw:commentRss><description>Hello, sorry for the delay and welcome to our forums.  To do what you want will require some fancy rules or custom code.&lt;br /&gt;&lt;br /&gt;With custom code of course you can set the submit parameter to whatever you like.&lt;br /&gt;&lt;br /&gt;What we've done in a number of solutions is to create a large concat() expression using the rule Set a Field's Value.  Then you can concat your exact XML on the fly and submit that.&lt;br /&gt;&lt;br /&gt;To actually generate the forms, since your Web Service is generic,  you will likely need to create the form from scratch and build your schema manually in InfoPath (or create the XSD outside IP).  Then build the view from that. Then you'll create a separate submit data connection to your generic web service.</description></item><item><title>Re: Tailored Forms for Generic Webservice</title><link>https://www.infopathdev.com:443/forums/thread/3856.aspx</link><pubDate>Sat, 20 Jan 2007 12:13:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3856</guid><dc:creator>tbrentlong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3856</wfw:commentRss><description>I noticed that nobody has responded in the last few days.  If anyone knows whether or not this ie even possible, please respond.  Thanks.</description></item><item><title>Tailored Forms for Generic Webservice</title><link>https://www.infopathdev.com:443/forums/thread/1804.aspx</link><pubDate>Thu, 18 Jan 2007 21:27:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1804</guid><dc:creator>tbrentlong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1804.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1804</wfw:commentRss><description>I'm trying to implement an Infopath solution that posts an xml document (as string) to a webservice.  When I created the first version of my form, it permitted me to drag two fields corresponding to the properties of the envelope being passed to the web service onto the design surface.  The are XmlText and ItemType (a string).  The form submits fine.&lt;br /&gt;&lt;br /&gt;What I need to do is instead of having a large xml text field on the form, I want to have form(s) that are modeled after the schemas of the xml that is acceptable.  For instance, one schema could be a dog:&lt;br /&gt;&lt;br /&gt;&amp;lt;dog&amp;gt;&lt;br /&gt;  &amp;lt;size/&amp;gt;&lt;br /&gt;  &amp;lt;color/&amp;gt;&lt;br /&gt;&amp;lt;/dog&amp;gt;&lt;br /&gt;&lt;br /&gt;and another could be cat:&lt;br /&gt;&lt;br /&gt;&amp;lt;cat&amp;gt;&lt;br /&gt;  &amp;lt;hasClaws&amp;gt;true&amp;lt;/hasClaws&amp;gt;&lt;br /&gt;  &amp;lt;tailLength/&amp;gt;&lt;br /&gt;&amp;lt;/cat&amp;gt;&lt;br /&gt;&lt;br /&gt;On the original version of the form, the xml (cat or dog) is pasted into the XmlText field, and "cat" is entered into the ItemType field.  What I would prefer is to be able to let the user select an ItemType and be presented with either a cat or a dog form that would then capture the XmlText and ItemType before calling the generic webservice.&lt;br /&gt;&lt;br /&gt;And of course, I want to be able to point to an xsd to generate the cat or dog form.  Any suggestions?</description></item></channel></rss>