Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web service namespace question

Reply
Thread Tools

Web service namespace question

 
 
Bruce W.1
Guest
Posts: n/a
 
      08-14-2003
If this is off-topic then I apologize. I'm not having any luck at
microsoft.public.dotnet.framework.aspnet.webservic es
Perhaps not enough traffic.

I made a web service (using C#) that returns a single string, sort of
like the "Hello World" web service. It works fine on my local PC. So I
deployed it to a remote server.

The remote server gives me the error:
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.

So I added a namespace just above the class in the codebehind:
[WebService(Namespace="http://qotd.whatever.com/", Description="This web
service returns a Quote of the Day as a single string.")]
Then I copied the new .dll to the remote server.

The problem is that I still get the tempuri.org error. And tempuri.org
also shows up in the XML WSDL description.

Using VS 2003 I searched every file in the project for tempuri.org and
came up with nothing, zip. So I can't figure out where this namespace
is coming from. Does anyone know?

Thanks for your help.
 
Reply With Quote
 
 
 
 
Bruce W.1
Guest
Posts: n/a
 
      08-16-2003
Natty Gur wrote:
>
> Bruce Hi,
>
> you did the right thing and i bet its running without any message from
> your develop machine. for some reasone the production server run old
> cached version.
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 34th Elkalay st. Raanana
> Israel , 43000
> Phone Numbers:
> Office: +972-(0)9-7740261
> Fax: +972-(0)9-7740261
> Mobile: +972-(0)58-888377
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!


================================================== ==========

Nope, that's not the problem. I moved it to another location, same
thing.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does timer in Web Service Global.asax block my Web Service from processing web-site requests? Leo Violette ASP .Net Web Services 0 04-17-2009 12:39 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
procedure to add web reference which will not create new namespace just add class in existing namespace. Deep Mehta via .NET 247 ASP .Net Web Services 2 05-31-2005 05:05 AM
Noobilicious question: Exposing two interfaces on the same web service(C# web service) WTH ASP .Net Web Services 1 02-15-2005 06:39 PM
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist. Èý¹â ASP .Net 1 07-29-2003 04:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57