View Single Post
Old 02-05-2008   #2 (permalink)
masoud bayan
Guest
 
Posts: n/a

Re: Metadata URL is not correct in IIS


"masoud bayan" <masoud_bayan@xxxxxx> wrote in message
news:OXrjfC3ZIHA.4808@xxxxxx
Quote:

> Hi,
>
> I have a WCF service hosted in IIS6. While I can browse ../Primary.svc on
> the web (out of box) and it is accessible but WSDL URL has servers'
> network
> name and not actual URL. It means I get:
> http://server44:90/Services/Primary.svc?wsdl which is not accessible out
> of
> box.
> It seems IIS does not use <host> <baseAddresses> for metadata. Also when I
> try to assign URL to
> <serviceMetadata httpGetEnabled="true"
> httpGetUrl="http://ww.abc.com:90/Services/primary.svc"/>
> it complains that this address is already registered.
>
> Any advice appreciated?
>
> Thanks
>
>

Ok got it.

Problem solved by using IIS host header.

http://forums.microsoft.com/MSDN/Sho...02937&SiteID=1