.net - Servicestack Authentication namespace using SOAP -


i'm getting error when using soapui send authenticate request servicestack api.

expecting element 'authenticate' namespace 'http://schemas.servicestack.net/types'.. encountered 'element'  with name 'authenticate', namespace 'http://correctnamespace.com/schemas/2015/05/myapi/' 

here's apphost setup:

        setconfig(new hostconfig         {             handlerfactorypath = "api",             defaultcontenttype = "application/json",             wsdlservicenamespace = "http://correctnamespace.com/schemas/2015/05/myapi/",             debugmode = false,             usehttpslinks = core.config.userremoteconfig()         });          plugins.add(new authfeature(             () => new authusersession(),             new iauthprovider[]             {                 new customauthprovider()             })         {             includeassignroleservices = false,             includeauthmetadataprovider = false,             htmlredirect = null         }); 

i don't understand why servicestack expecting wrong namespace, can me in understanding how set expected namespace correct namespace?

you set custom ns @ wsdl level, type still using own ns assume default 1 "http://schemas.servicestack.net/types". not sure how change built-in ns, not sure if that's possible, might create own auth provider custom types can set custom ns


Comments