ASMX Web Service - "This web service is using http://tempuri.org/ as its default namespace." message
Posted
by glenatron
on Stack Overflow
See other posts from Stack Overflow
or by glenatron
Published on 2010-05-24T16:24:22Z
Indexed on
2010/05/24
16:51 UTC
Read the original article
Hit count: 267
I've created a web service using Visual Studio ( 2005 - I know I'm old school ) and it all compiles fine but when it opens I get warned thus:
This web service does not conform to WS-I Basic Profile v1.1.
And furthermore:
This web service is using http://tempuri.org/ as its default namespace.
Which would be fine except my service begins thus:
[WebService(Namespace = "http://totally-not-default-uri.com/servicename")]
Searching the entire solution folder for "tempuri" returns nothing. I can't find it mentioned in any configuration page acessible from Visual Studio. And yet it's right there in the wsdl:definitions list for the xmlns:tns attribute on the web service descriptor page when I view it through the browser and as targetNamespace in the same tag. I'm viewing it using Visual Studio's "debug" mode with the built in server from that.
Seems like something has got cached somewhere but I can't work out what and where- I've tried stopping and restarting the server, cleaning and rebuilding the service and going through the associated text config files with a text editor but no dice. Any idea what is going on?
© Stack Overflow or respective owner