Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 8 May 2008 07:04:01 -0700,    group: microsoft.public.dotnet.framework.webservices        back       


WCF - how to provide wsdl from a file for self hosted server   
I have created a self hosted service using WCFa and I want to provide my own 
wsdl from a local file rather than the generated wsdl - how can I do this?

I actually need to produce a web service which is compatible with existing 
clients build for a asmx service as explained here:
http://msdn.microsoft.com/en-us/library/aa738697.aspx.
This article assumes you are going to host in IIS however.
I managed to get a working stand alone server which is compatible with the 
existing client, but I want to serve up the original wsdl generated from the 
asmx service from a file . The article talks about using 
externalMetadataLocation attribute to do this in the config file - but this 
seems to want a URL rather than a file location - I tried fie://... but it 
gave an error.
date: Thu, 8 May 2008 07:04:01 -0700   author:   Pma_Shane

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us