Error when importing wsdl to SoapUI
<p>I am getting the following error when trying to load the WSDL into SoapUI:</p>

<pre><code>    WSDLException (at /wsdl:definitions/wsdl:porttype): faultCode=INVALID_WSDL: Encountered illegal extension element '{http://schemas.xmlsoap.org/wsdl/}porttype' in the context of a 'javax.wsdl.Definition'. Extension elements must be in a namespace other than WSDL's:

Mon Sep 12 20:41:56 CEST 2016:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
   com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:53)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:62)
    at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:34)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:246)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:48)
    at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:219)
    at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
    at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
    at java.lang.Thread.run(Unknown Source)
. 
</code></pre>

<p>This is the WSDL:</p>

<pre><code>&lt;wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
        xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
        xmlns:tns="http://www.somedomain.com/Design" xmlns:s="http://www.w3.org/2001/XMLSchema"
        xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
        targetnamespace="http://www.somedomain.com/Design" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
        &lt;wsdl:types&gt;
            &lt;s:schema elementformdefault="qualified" targetnamespace="http://www.somedomain.com/Design"&gt;
                &lt;s:element name="PrintMessage"&gt;
                    &lt;s:complexType /&gt;
                &lt;/s:element&gt;
                &lt;s:element name="PrintMessageResponse"&gt;
                    &lt;s:complexType&gt;
                        &lt;s:portType&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="PrintMessageResult" type="s:string" /&gt;
                        &lt;/s:portType&gt;
                    &lt;/s:complexType&gt;
                &lt;/s:element&gt;
                &lt;s:element name="StartDesign"&gt;
                    &lt;s:complexType&gt;
                        &lt;s:portType&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="userEmail" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="designType" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="organism" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="portTypes" type="tns:ArrayOfSequenceModel" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="intronSpanning" type="s:boolean" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="distributed" type="s:boolean" /&gt;
                        &lt;/s:portType&gt;
                    &lt;/s:complexType&gt;
                &lt;/s:element&gt;
                &lt;s:element name="StartDesignWithCustomer"&gt;
                    &lt;s:complexType&gt;
                        &lt;s:portType&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="userEmail" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="designType" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="organism" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="portTypes" type="tns:ArrayOfSequenceModel" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="customerName" type="s:string" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="intronSpanning" type="s:boolean" /&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="distributed" type="s:boolean" /&gt;
                        &lt;/s:portType&gt;
                    &lt;/s:complexType&gt;
                &lt;/s:element&gt;
                &lt;s:complexType name="ArrayOfSequenceModel"&gt;
                    &lt;s:portType&gt;
                        &lt;s:element minoccurs="0" maxoccurs="unbounded" name="SequenceModel" nillable="true"
                            type="tns:SequenceModel" /&gt;
                    &lt;/s:portType&gt;
                &lt;/s:complexType&gt;
                &lt;s:complexType name="SequenceModel"&gt;
                    &lt;s:portType&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="Gene" type="s:string" /&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="Sequence" type="s:string" /&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="IntronPositions" type="s:string" /&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="IntronLengths" type="s:string" /&gt;
                    &lt;/s:portType&gt;
                &lt;/s:complexType&gt;
                &lt;s:element name="StartDesignResponse"&gt;
                    &lt;s:complexType&gt;
                        &lt;s:portType&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="StartDesignResult" type="tns:WebServiceDesignStartResponse" /&gt;
                        &lt;/s:portType&gt;
                    &lt;/s:complexType&gt;
                &lt;/s:element&gt;
                &lt;s:element name="StartDesignWithCustomerResponse"&gt;
                    &lt;s:complexType&gt;
                        &lt;s:portType&gt;
                            &lt;s:element minoccurs="0" maxoccurs="1" name="StartDesignWithCustomerResult" type="tns:WebServiceDesignStartResponse" /&gt;
                        &lt;/s:portType&gt;
                    &lt;/s:complexType&gt;
                &lt;/s:element&gt;
                &lt;s:complexType name="WebServiceDesignStartResponse"&gt;
                    &lt;s:portType&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="Status" type="s:string" /&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="Message" type="s:string" /&gt;
                        &lt;s:element minoccurs="0" maxoccurs="1" name="JobId" type="s:string" /&gt;
                    &lt;/s:portType&gt;
                &lt;/s:complexType&gt;
            &lt;/s:schema&gt;
        &lt;/wsdl:types&gt;
        &lt;wsdl:message name="PrintMessageSoapIn"&gt;
            &lt;wsdl:part name="parameters" element="tns:PrintMessage" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:message name="PrintMessageSoapOut"&gt;
            &lt;wsdl:part name="parameters" element="tns:PrintMessageResponse" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:message name="StartDesignSoapIn"&gt;
            &lt;wsdl:part name="parameters" element="tns:StartDesign" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:message name="StartDesignSoapOut"&gt;
            &lt;wsdl:part name="parameters" element="tns:StartDesignResponse" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:message name="StartDesignWithCustomerSoapIn"&gt;
            &lt;wsdl:part name="parameters" element="tns:StartDesignWithCustomer" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:message name="StartDesignWithCustomerSoapOut"&gt;
            &lt;wsdl:part name="parameters" element="tns:StartDesignWithCustomerResponse" /&gt;
        &lt;/wsdl:message&gt;
        &lt;wsdl:porttype name="DesignWebServiceSoap"&gt;
            &lt;wsdl:operation name="PrintMessage"&gt;
                &lt;wsdl:input message="tns:PrintMessageSoapIn" /&gt;
                &lt;wsdl:output message="tns:PrintMessageSoapOut" /&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesign"&gt;
                &lt;wsdl:input message="tns:StartDesignSoapIn" /&gt;
                &lt;wsdl:output message="tns:StartDesignSoapOut" /&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesignWithCustomer"&gt;
                &lt;wsdl:input message="tns:StartDesignWithCustomerSoapIn" /&gt;
                &lt;wsdl:output message="tns:StartDesignWithCustomerSoapOut" /&gt;
            &lt;/wsdl:operation&gt;
        &lt;/wsdl:porttype&gt;
        &lt;wsdl:binding name="DesignWebServiceSoap" type="tns:DesignWebServiceSoap"&gt;
            &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http" /&gt;
            &lt;wsdl:operation name="PrintMessage"&gt;
                &lt;soap:operation soapaction="http://www.somedomain.com/Design/PrintMessage" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesign"&gt;
                &lt;soap:operation soapaction="http://www.somedomain.com/Design/StartDesign" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesignWithCustomer"&gt;
                &lt;soap:operation soapaction="http://www.somedomain.com/Design/StartDesignWithCustomer" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
        &lt;/wsdl:binding&gt;
        &lt;wsdl:binding name="DesignWebServiceSoap12" type="tns:DesignWebServiceSoap"&gt;
            &lt;soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /&gt;
            &lt;wsdl:operation name="PrintMessage"&gt;
                &lt;soap12:operation soapaction="http://www.somedomain.com/Design/PrintMessage" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesign"&gt;
                &lt;soap12:operation soapaction="http://www.somedomain.com/Design/StartDesign" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
            &lt;wsdl:operation name="StartDesignWithCustomer"&gt;
                &lt;soap12:operation soapaction="http://www.somedomain.com/Design/StartDesignWithCustomer" style="document" /&gt;
                &lt;wsdl:input&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:input&gt;
                &lt;wsdl:output&gt;
                    &lt;soap12:body use="literal" /&gt;
                &lt;/wsdl:output&gt;
            &lt;/wsdl:operation&gt;
        &lt;/wsdl:binding&gt;
        &lt;wsdl:service name="DesignWebService"&gt;
            &lt;wsdl:port name="DesignWebServiceSoap" binding="tns:DesignWebServiceSoap"&gt;
                &lt;soap:address location="http://www.somedomain.com/_vti_bin/DesignWebService.asmx" /&gt;
            &lt;/wsdl:port&gt;
            &lt;wsdl:port name="DesignWebServiceSoap12" binding="tns:DesignWebServiceSoap12"&gt;
                &lt;soap:address location="http://www.somedomain.com/_vti_bin/DesignWebService.asmx" /&gt;
            &lt;/wsdl:port&gt;
        &lt;/wsdl:service&gt;
    &lt;/wsdl:definitions&gt;
</code></pre>

<p>I have a similar WSDL that works, but this does not. I do not see anything wrong. Any ideas?</p>

<p>Thanks!</p>