WCF - WSDL putting http://tempuri.org in, can I stop it?

  • Thread starter Thread starter sonicm
  • Start date Start date
S

sonicm

Hi,

i've gone though some of the other forums and have managed to cut down the
number of times that http://tempuri.org appears in the WSDL file but I cannot
seem to find out where to banish it from the following line?

<wsdl:import namespace="http://tempuri.org/"
location="https://vmdev01/WCF/myservice.svc?wsdl=wsdl1"/>

So far I have put a ServiceBehavior declaration with a namespace in the
class itself and put a ServiceContact declaration with a namespace in the
interface class for the library but don't know how to get rid of it from the
final place?

Any help would be appreciated?
Thanks.
 
Hi,

i've gone though some of the other forums and have managed to cut down the
number of times thathttp://tempuri.orgappears in the WSDL file but I cannot
seem to find out where to banish it from the following line?

<wsdl:import namespace="http://tempuri.org/"
location="https://vmdev01/WCF/myservice.svc?wsdl=wsdl1"/>

So far I have put a ServiceBehavior declaration with a namespace in the
class itself and put a ServiceContact declaration with a namespace in the
interface class for the library but don't know how to get rid of it from the
final place?

Any help would be appreciated?
Thanks.

First things first, have you done a Find in your solution for "http://
tempuri.org" and made sure you replaced all references to it?

Thanks,

Seth Rowe [MVP]
 
Hi, thanks for the quick reply.

yes I have checked (and just re-checked) and it does not appear anywhere in
the solution doing a solution search in visual studio.

It only appears once in the WSDL file now as well which is strange?
 
Thanks for helping but i've solved it now, i was missing the bindingNamspace
from my endpoint in my config file... Simple when you know what to look for
eh!!

Thanks.
 
Back
Top