wsdl - Soap Address Location : ServiceStack SOAP 1.2 -
i've been looking around answer i've found nothing solves problem, forgive me if has been asked before.
i've got rest , soap api , problem when add swdl soapui opens , points wrong protocol. gives me: "http://". think this line:
<soap:address location="http://localhost/servicestack/api/soap12"/> does know how can change soap address location "https" in servicestack?
from i've read far it's url come from, i've come https protocol , still gives me http.
you can modify dynamically generated wsdl in servicestack overriding apphost.generatewsdl(), e.g:
public override string generatewsdl(wsdltemplatebase wsdltemplate) { var wsdl = base.generatewsdl(wsdltemplate); return wsdl.replace( "<soap:address location=\"http:", "<soap:address location=\"https:"); } add servicestack reference
also alternative soap can use add servicestack reference soap allows generation of strong-typed api remote url, integrates major ide's , holds number of advantages on wcf/soap.
Comments
Post a Comment