Just had a problem where a WSDL file that was uploaded to the DataPower device did not show up in the local:// drop down for selection.
Upon further inspection, we found that there was whitespace before the
<? xml .. ?>
tag and whitespace before the <wsdl:definitions...>
tag.
Once this extra whitespace was removed, the WSDL appeared in the drop downs and worked fine.