soap-typescript
soap-typescript copied to clipboard
Not specifying a targetNamespace in the SoapService options prevents use with .NET 2.0 Web Services
This is due to the "tns" attribute of the response envelope being set to a "{{CURRENT_URL}}" placeholder, which clearly doesn't get macro'd to the current url, which would be a suitable default for a .NET 2.0 consumer.
To prevent this issue, in your service definition, make sure the options you specify to @SoapService contain the field targetNamespace, set to the current URL for instance.