What is the infopath issue?
--------------------
Thread-Topic: Namespace prefix change
thread-index: AcTkY35JG1qSfwb1T8qg68tMZlp5YA==
X-WBNR-Posting-Host: 82.152.32.104
From: "=?Utf-8?B?amI=?=" <jb@discussions.microsoft.com>
Subject: Namespace prefix change
Date: Fri, 17 Dec 2004 10:09:04 -0800
Lines: 20
Message-ID: <FD**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups:
microsoft.public.dotnet.framework.webservices,micr osoft.public.infopath
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.infopath:14973
microsoft.public.dotnet.framework.webservices:8177
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
I have discovered that when the WSDL is auto-generated in .NET (i.e.
http://.../MyService.asmx?WSDL):
* Prior to SP1, it generated xmlns:s0="http://mynamespace/" in
<wsdl:definitions>, and then output my web methods as "s0:MyWebMethod" in
<wsdl:message> sections
* At SP1, it generates xmlns:tns="http://mynamespace/" in
<wsdl:definitions>, and then output my web methods as "tns:MyWebMethod" in
<wsdl:message> sections
So the namespace is the same, but the namespace *prefix* has changed from
"s0" to "tns".
This is causing problems with external integrations (InfoPath, as it
happens).
Is there anything I can do about this, e.g. get it now to use "s0" again if
that's what I want? And/or, why the change?