Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2005

Tip: Looking for answers? Try searching our database.

This web service is using http://tempuri.org/ even when its not

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Thomson - 05 Dec 2005 11:42 GMT
HI

Does anyone have an idea why I keep getting the standard message :

This web service is using http://tempuri.org/ as its default namespace.
Recommendation: Change the default namespace before the XML Web service is
made public.

This message shows when I post the web service onto our Intranet Windows
2000 SP4 web server.

The top of the class already has the code to assign a valid namespace.

e.
[WebService(Namespace="http://www.bankxxxxxxxx.co.uk/corporatedivision/webservices")]
    public class CMAdminServices : System.Web.Services.WebService

Everything builds but we cannot get the server to identify the new namespace.
Accessing the WDSL shows TEMPURI.ORG in the namespace section.

Any Help Please ?

Robert Thomson
Peter Kelcey - 05 Dec 2005 19:30 GMT
Rob,

You said it doesn't show up properly on the server. Does it show up
properly on your development box prior to deploying it?

Peter Kelcey
Robert Thomson - 05 Dec 2005 22:18 GMT
I was about to reply Peter, and I just noticed something.

The webservice was written in VS2003 under dot net 1.1.

Our server has both frameworks on it with 1.0, the default. The web service
Virtual Directory was running under 1.0 framework.

This was a mistake on my part and after changing the virtual directory to
run under 1.1, the problem has now gone.

Ok, lesson learned, dont deploy 1.1 web services onto 1.0 virtual
directories or you get strange messages re the tempURI namespace.

Thanks for your reply Peter.

Robert

> Rob,
>
> You said it doesn't show up properly on the server. Does it show up
> properly on your development box prior to deploying it?
>
> Peter Kelcey

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.