<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Namespace prefix</title><link>https://www.infopathdev.com:443/forums/thread/6445.aspx</link><pubDate>Fri, 24 Dec 2004 08:39:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6445</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6445</wfw:commentRss><description>Absolutely no InfoPath V1 --- don't know where you got that from.  Have only ever used InfoPath SP1.&lt;br /&gt;&lt;br /&gt;I think you're getting you're SP1s mixed up --- I have been talking about .NET v1.1 vanilla and with (.NET) SP1.  The &lt;b&gt;s0&lt;/b&gt;/&lt;b&gt;tns&lt;/b&gt; change over is in the schema generated by .NET for web services before versus after .NET SP1.&lt;br /&gt;&lt;br /&gt;FYI, what I am saying is:&lt;br /&gt;&lt;br /&gt;* I design IP forms as "templates" distributed to my customers&lt;br /&gt;* They are expected to reconnect the templates at their site for their system, and then start tailoring them&lt;br /&gt;* I do not know whether they will have .NET Framework with or without .NET SP1&lt;br /&gt;* Then I am claiming that, in practice, if they are using .NET SP1 while I designed without .NET SP1 (or vice versa) then IP goes haywire when they attempt to redesign the forms I have supplied (I am undecided as to how well they run with no redesign, but that's not my situation really anyway)&lt;br /&gt;&lt;br /&gt;And the reason for this?  Is that if you redesign IP forms based on a webservice which used &lt;b&gt;s0&lt;/b&gt; namespace prefix at designtime when your .NET system now uses &lt;b&gt;tns&lt;/b&gt; namespace prefix then, while people say it &lt;i&gt;shouldn't&lt;/i&gt; matter, in practice IP has stored so many literal strings which include the prefix that it &lt;i&gt;does&lt;/i&gt; matter.&lt;br /&gt;&lt;br /&gt;The difference between my situation and many others seems to be that I am not in control of my target environment; plus, my end-users will need to modify my supplied forms.  InfoPath works better when, for example, you're designing for an in-house system on a known machine.&lt;br /&gt;&lt;br /&gt;I have had to give up on this, and say my customers &lt;i&gt;must&lt;/i&gt; run .NET SP1 (which I have changed over to and redesigned my IP forms for) to work with my IP forms.  I didn't want to have to require this, but it seems simplest.&lt;br /&gt;&lt;br /&gt;Thanks for all your help over the past month.  Merry Christmas to you!&lt;br /&gt;</description></item><item><title>Re: Namespace prefix</title><link>https://www.infopathdev.com:443/forums/thread/6444.aspx</link><pubDate>Fri, 17 Dec 2004 18:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6444</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6444</wfw:commentRss><description>Hmm. So this was a form that was upgraded from V1 to SP1, right? Well, once you have an SP1 form, no V1 InfoPath user can use it anymore... they need SP1.&lt;br /&gt;&lt;br /&gt;"IF" SP1 uses tns: as the namespace of choice when building from scratch, consider making a copy of your form, doing a global search and replace (at least for this one data connection in question) to make all s0: into tns:... then see if you continue to have issues or if all is fine.&lt;br /&gt;&lt;br /&gt;If all is fine, then just update your documentation.&lt;br /&gt;&lt;br /&gt;I really don't have an answer for why this is happening. But my gut feeling is that if InfoPath is trying to convert s0: to tns: for some reason, just help it along and get it over with. :o)&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Namespace prefix</title><link>https://www.infopathdev.com:443/forums/thread/4520.aspx</link><pubDate>Fri, 17 Dec 2004 17:11:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4520</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4520</wfw:commentRss><description>Greg, I need some help, please, please :)&lt;br /&gt;&lt;br /&gt;It's about "namespace prefixes", and web services.  I know web services are not your forte, but bear with me....&lt;br /&gt;&lt;br /&gt;My IP solution is "finished".  It talks to a web service.  All was working fine, till I tried it with .NET SP1.  Here's the situation:&lt;br /&gt;&lt;br /&gt;The .NET framework generates the schema automatically, in response to you connecting to a WS at design time from IP.  You don't have much/any control over it (what it generates).  I tracked everything down to a subtle difference in SP1 as to what it produces.  Prior to SP1, the start of the schema included:&lt;br /&gt;&lt;pre&gt;&amp;lt;definitions ... xmlns:s0="http://mynamespace/" ...&amp;gt;&lt;/pre&gt;&lt;br /&gt;As of SP1, it now includes instead:&lt;br /&gt;&lt;pre&gt;&amp;lt;wsdl:definitions ... xmls:tns="http://mynamespace/" ...&amp;gt;&lt;/pre&gt;&lt;br /&gt;So it defines &lt;b&gt;tns&lt;/b&gt; namespace &lt;i&gt;prefix&lt;/i&gt; &lt;i&gt;instead of&lt;/i&gt; &lt;b&gt;s0&lt;/b&gt;, though they both refer to my namespace.  Then at SP1 all my WebMethods are defined as &lt;b&gt;tns:...&lt;/b&gt; rather than &lt;b&gt;s0:...&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Bizarrely, IP still seems to work at this point.  IP at design-time expected methods etc. to come out in &lt;b&gt;s0:&lt;/b&gt;, but seems to cope with them actually arriving in &lt;b&gt;tns:&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;But then my users are expected to take my "template" &lt;b&gt;.XSN&lt;/b&gt; files and reconnect them at their site (just by working thru &lt;b&gt;Tools..., Data Connections...&lt;/b&gt;), prior to adding new fields.  If they're on SP1 (or vice versa), take my word for it, they end up with a mixture of &lt;b&gt;s0:&lt;/b&gt;s and &lt;b&gt;tns:&lt;/b&gt;s (the worst area is to do with the binding of the parameters to the "submit" operation); they're not supposed to have to edit my script code, some of which has &lt;b&gt;s0:&lt;/b&gt;s; my "documentation" tells them the paths they will see in IP are &lt;b&gt;s0:...&lt;/b&gt; etc.&lt;br /&gt;&lt;br /&gt;I seem to be able to get it to "work", but I'm worried I don't understand, there may be rules/conditions/whatever still with &lt;b&gt;s0:&lt;/b&gt;, you get the drift.  If I compare what I end up with after this, it's definitely not the same (as it ought to be) if I redesign "from scratch" on the new SP1 system.  In that case, I would end up with nothing but &lt;b&gt;tns:&lt;/b&gt;s.  So I feel I'm in a "bad" situation.&lt;br /&gt;&lt;br /&gt;What does all this add up to?  What are the consequences?  What do/can I do?  Why do all IP examples seem to use &lt;b&gt;s0:&lt;/b&gt;?  Like I said, the problem is that whichever of &lt;b&gt;s0:&lt;/b&gt; or &lt;b&gt;tns:&lt;/b&gt; is chosen by the .NET framework as the "default" namespace prefix it's going to use, that's what it will place my WebMethods in.  I don't seem able to influence this, from what I have seen so far --- should I be able to?&lt;br /&gt;&lt;br /&gt;I can provide more detail if needed...</description></item></channel></rss>