Namespace prefix change

J

jb

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top