I would like to generate apex classes for this WSDL:
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://ipg-online.com/ipgapi/schemas/ipgapi" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ipg-online.com/ipgapi/schemas/ipgapi" targetNamespace="http://ipg-online.com/ipgapi/schemas/ipgapi">
<wsdl:types xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:a1="http://ipg-online.com/ipgapi/schemas/a1" xmlns:ipgapi="http://ipg-online.com/ipgapi/schemas/ipgapi" xmlns:v1="http://ipg-online.com/ipgapi/schemas/v1" elementFormDefault="qualified" targetNamespace="http://ipg-online.com/ipgapi/schemas/ipgapi">
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema" namespace="http://ipg-online.com/ipgapi/schemas/v1" schemaLocation="../schemas/v1.xsd"/>
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema" namespace="http://ipg-online.com/ipgapi/schemas/a1" schemaLocation="../schemas/a1.xsd"/>
</xs:schema>
</wsdl:types>
<wsdl:message xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderResponse">
<wsdl:part xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" element="tns:IPGApiOrderResponse" name="IPGApiOrderResponse"/>
</wsdl:message>
<wsdl:message xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiActionRequest">
<wsdl:part xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" element="tns:IPGApiActionRequest" name="IPGApiActionRequest"/>
</wsdl:message>
<wsdl:message xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderRequest">
<wsdl:part xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" element="tns:IPGApiOrderRequest" name="IPGApiOrderRequest"/>
</wsdl:message>
<wsdl:message xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiActionResponse">
<wsdl:part xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" element="tns:IPGApiActionResponse" name="IPGApiActionResponse"/>
</wsdl:message>
<wsdl:portType xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrder">
<wsdl:operation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrder">
<wsdl:input xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" message="tns:IPGApiOrderRequest" name="IPGApiOrderRequest"/>
<wsdl:output xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" message="tns:IPGApiOrderResponse" name="IPGApiOrderResponse"/>
</wsdl:operation>
<wsdl:operation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiAction">
<wsdl:input xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" message="tns:IPGApiActionRequest" name="IPGApiActionRequest"/>
<wsdl:output xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" message="tns:IPGApiActionResponse" name="IPGApiActionResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderSoap11" type="tns:IPGApiOrder">
<soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrder">
<soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction=""/>
<wsdl:input xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderRequest">
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</wsdl:input>
<wsdl:output xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderResponse">
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiAction">
<soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction=""/>
<wsdl:input xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiActionRequest">
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</wsdl:input>
<wsdl:output xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiActionResponse">
<soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="IPGApiOrderService">
<wsdl:port xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" binding="tns:IPGApiOrderSoap11" name="IPGApiOrderSoap11">
<soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="https://test.ipg-online.com:443/ipgapi/services"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
But I get this error message:
Jan 08, 2019 5:37:04 PM com.salesforce.ide.wsdl2apex.core.WSDL2Apex doParse SEVERE: Failed to parse wsdl: Found schema import from location ../schemas/v1.xsd. External schema import not supported
Exception in thread "main" java.lang.RuntimeException: Failed to parse wsdl: Found schema import from location ../schemas/v1.xsd. External schema import not supported
at com.salesforce.ide.wsdl2apex.core.WSDL2Apex.doParse(WSDL2Apex.java:314)
at com.salesforce.ide.wsdl2apex.core.WSDL2Apex.parseAndGenerate(WSDL2Apex.java:408)
at com.salesforce.ide.wsdl2apex.core.WSDL2ApexGenerator.main(WSDL2ApexGenerator.java:16)
I get the same message when I use FuseIT WSDL2Apex.
Is it possible to generate the WSDL?
Or should I handcode the XML and use Http?
SOAPAction
header instead of spending hours in making WSDL compatible for SF to accept.