1
Vote

SOAP/WSDL namespace is http://tempuri.org

description

When exposing the service as a webservice/SOAP the wsdl that is generated contains the default namespace of http://tempuri.org. A way of setting this is required.
 
Proposed resolution...
  • Allow this namespace to be specified when generating the wrapper
  • Allow an "auto" mode that uses the code namespace to create the service namespace
  • Allow http://tempuri.org if nothing specified
     
    Workarounds
  • Manually edit service interface. Add Namespace parameter to the ServiceContract() attribute
  • Manually edit service implementation. Add Namespace parameter to the ServiceBehaviour() attribute
  • Optionally, add bindingNamespace attribute to the endpoint in the system.serviceModel configuration

comments