Forum Discussion
paulmckenna
14 years agoNew Contributor
Got it.
1. Copy this schema to a file, in an otherwise empty directory (I suggest directory = schema_directory, file dh.xsd) ..
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://xml.apache.org/xml-soap" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:simpleType name="DataHandler">
<xsd:restriction base="xsd:anyURI"/>
</xsd:simpleType>
</xsd:schema>
This lets SoapUI ignore DataHandler.
2. In SoapUI, open File/Preferences
3. Select the "WSDL Settings" tab
4. Set "Schema Directory" to be your schema_directory
The wsdl should now load from the url. However DataHandler for attachments functionality won't work.
1. Copy this schema to a file, in an otherwise empty directory (I suggest directory = schema_directory, file dh.xsd) ..
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://xml.apache.org/xml-soap" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:simpleType name="DataHandler">
<xsd:restriction base="xsd:anyURI"/>
</xsd:simpleType>
</xsd:schema>
This lets SoapUI ignore DataHandler.
2. In SoapUI, open File/Preferences
3. Select the "WSDL Settings" tab
4. Set "Schema Directory" to be your schema_directory
The wsdl should now load from the url. However DataHandler for attachments functionality won't work.