Asked by: Bayu Arasyi
im new with laravel and SoapClient. I'm trying to host wsdl file on my server. Iput xxx.wsdl file on public folder. But when I tried to access it on route http://localhost:8008/xxx.wsdl instead of viewing well formatted wsdl file my browser download the xxx.wsdl file. I've read some guide on the internet, and they said I need to put a header like Content type: text/xml but I don't know how to put that header while I'm trying to access the wsdl file, not a controller. Please help, and thanks in advance


No comments:
Post a Comment