Technote (troubleshooting)
Problem(Abstract)
This technote explains how to resolve an error "The following resources contain errors, please open Error Log view for more information: <filename>.wsdl" that can occur in IBM® Rational® AppScan Standard Edition in the Generic Services Client (GSC) Tool.
Symptom
During the import of a WSDL file, it fails with a pop-up error message that reads:
------------------
Loading WSDL
------------------
The following resources contain errors, please open Error Log view for more informations:
TestService.wsdl
------------------
OK
-------------------
When viewing the error log, an error message similar to this is displayed:
javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://www.w3.org/2005/05/xmlmime', relative to 'file:/C:/Program Files/IBM/Rational AppScan/workspace/GSC Store/TestService.wsdl'.: java.net.ConnectException: Connection timed out: connect
Cause
This is caused by the access to a URL that is being imported through the <xs:import ...> tag, http://www.w3.org/2005/05/xmlmime in this situation, does not respond in a timely fashion. As such GSC fails to resolve the WSDL import reference and terminates the import with the above error messages.
Resolving the problem
WORKAROUNDS:
To get past this issue, complete these steps:
- Access the site that times out in a web-browser, in this case http://www.w3.org/2005/05/xmlmime
- Save the resulting page as an XML document. This should be saved to the same location as the WSDL file. Suggested filename for this instance is "xmlmime.xml".
- In the TestService.wsdl file, update any location references for http://www.w3.org/2005/05/xmlmime to be "xmlmime.xml". Do not change any namespace attributes, only locations e.g.:
<wsdl:definitions ... xmlns:xmime="xmlmime" ...>
and
<xs:import namespace="http://www.w3.org/2005/05/xmlmime" schemaLocation="xmlmime.xml" />
once all locations have been updated, it should then be possible to import the WSDL file through the Generic Services Client.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.