Changing WebService targetNamespace at runtime  
Author Message
Vicel





PostPosted: ASMX Web Services and XML Serialization, Changing WebService targetNamespace at runtime Top

Hello,

I wonder if there is any method to change a WebService targetNamespace at runtime.

[WebService(Namespace="someNamespace.com"]

I would prefer to set up the namespace in a config file rather then having it hardcoded.

WebServiceAttribute class can not be extended, static WDSL does not work.

What else I can try Is there a way to interfere in wsdl generation

Thanks



.NET Development35