Product Feature: WebService
Although modifying the sagent.wsdl file is not advisable (not supported) for this particular scenario there is a workaround which consists on saving a copy of the encoding.xml file to a local drive and then change the schemaLocation to point to the local file as per following example:
Before:
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
After:
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="c:\temp\encoding.xml"/>
Before:
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
After:
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="c:\temp\encoding.xml"/>
UPDATED:
November 28, 2017