Latest

Thursday, July 13, 2017

Hosting WSDL file in Laravel

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



Source

3 comments:

  1. Your Affiliate Profit Machine is ready -

    Plus, earning money online using it is as simple as 1---2---3!

    Here are the steps to make it work...

    STEP 1. Input into the system which affiliate products you intend to promote
    STEP 2. Add PUSH button traffic (it LITERALLY takes JUST 2 minutes)
    STEP 3. Watch the system grow your list and up-sell your affiliate products all by itself!

    Are you ready to start making money???

    Get the full details here

    ReplyDelete
  2. The sands casino | SEGATIC PLAY | SEPT CASINO
    The sands casino is a casino in Las Vegas, Nevada. The casino offers 5,000 square feet of gaming experience 인카지노 including slot หาเงินออนไลน์ machines, septcasino blackjack,

    ReplyDelete

Adbox