With Chrome on Windows it's very difficult for me to actually download the generated WSDL (so I can save it to my Visual Studio project). Save As and View Page Source then Save As leaves the injected xml decorations in the final file. Attempting a Save As on the link for the Generate button returns html. The generation url is protected so switching to another tool at that point is painful too.

I want to get a plain xml document saved to my local drive as easily as possible. With Firefox I can do a Save As in the browser and get a clean file out of it. Does anyone have any tricks to make this work in Chrome on Windows? Is there an idea already lobbying Salesforce to set the headers so the file always downloads (or another idea that would help this problem)?

  • I've also had this experience, with Opera and Chrome. Commented Jan 29, 2018 at 14:40

3 Answers 3


Try right clicking the page and click "View page source". The Source IS the XML document

  • 3
    I knew and tried the View Page Source trick. Now I've realized that where I went wrong was trying to save straight to a .wsdl extension. That's when Chrome injects a ton of html. If I save to a .xml extension it works just fine and I can rename it to a .wsdl after that. Thanks!
    – twamley
    Commented Dec 12, 2013 at 21:30

Not ideal, but this trick does work for me. In Chrome, pull up developer tools and go to the Network tab before you click the Generate button. Click the wsdl.jsp item and copy out of the Response tab. Start highlighting at the first character and then Ctrl+Shift+End. I diffed and this method avoided all of chrome's html decorations.

Wsdl From Network Response


There is another way for download your organization-specific WSDL


SERVER_INSTANCE = with Server Instance,


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .