What is the infopath issue?
--------------------
Thread-Topic: Namespace prefix change
thread-index: AcTkY35JG1qSfwb 1T8qg68tMZlp5YA ==
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************ *************** *******@microso ft.com>
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.publi c.dotnet.framew ork.webservices ,microsoft.publ ic.infopath
NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.1.29
Path: cpmsftngxa10.ph x.gbl!TK2MSFTNG XA03.phx.gbl
Xref: cpmsftngxa10.ph x.gbl microsoft.publi c.infopath:1497 3
microsoft.publi c.dotnet.framew ork.webservices :8177
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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:definitio ns>, and then output my web methods as "s0:MyWebMethod " in
<wsdl:message > sections
* At SP1, it generates xmlns:tns="http ://mynamespace/" in
<wsdl:definitio ns>, and then output my web methods as "tns:MyWebMetho d" 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?