Greg, I need some help, please, please :)
It's about "namespace prefixes", and web services. I know web services are not your forte, but bear with me....
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:
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:
<definitions ... xmlns:s0="http://mynamespace/" ...>
As of SP1, it now includes instead:
<wsdl:definitions ... xmls:tns="http://mynamespace/" ...>
So it defines
tns namespace
prefix instead of s0, though they both refer to my namespace. Then at SP1 all my WebMethods are defined as
tns:... rather than
s0:...Bizarrely, IP still seems to work at this point. IP at design-time expected methods etc. to come out in
s0:, but seems to cope with them actually arriving in
tns:.
But then my users are expected to take my "template"
.XSN files and reconnect them at their site (just by working thru
Tools..., Data Connections...), 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
s0:s and
tns: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
s0:s; my "documentation" tells them the paths they will see in IP are
s0:... etc.
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
s0:, 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
tns:s. So I feel I'm in a "bad" situation.
What does all this add up to? What are the consequences? What do/can I do? Why do all IP examples seem to use
s0:? Like I said, the problem is that whichever of
s0: or
tns: 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?
I can provide more detail if needed...