Import or synchronizing a WSDL fails with error
CRRIT4235E:error: Type: Warning
Error: [CRRIT4235E] Problem occurred during refresh of URL
"file:////filename.wsdl", issue was:
java.lang.IllegalArgumentException: Illegal character in path at index 49: The
schema might work correctly in other tools or programs. |
One or more namespace declarations in the schema
contain whitespace characters. The
Rational® Integration
Tester code libraries
cannot work with whitespace characters. To resolve the problem, remove
whitespace from namespace declarations:
- Open the WSDL file in a text editor and search for space characters
in any namespace declarations. The index number shown in the error
message gives the character count into a particular namespace attribute.
Remove the whitespace characters.
- Reload the schema. Do this task by either deleting the schema
from the Schema Library and importing it again, or by selecting the
schema and clicking Rebuild Schema.
|
Loading a WSDL schema fails with a org.xml.sax.SAXParseException error. The
following message is displayed when loading the file into Schema Library
of Architecture School: [CRRIT4235E] Problem occurred during refresh of URL
"file:/ ", issue was:com.ghc.utils.GHException:
There was an error parsing your WSDL file :WSDLException:
faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.:
org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]"
is not allowed.
The following message is displayed
on the JVM console when loading the file to the Logical View of Architecture
School. No objects are built: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR:
Problem parsing '- WSDL Document -'.: org.xml.sax.SAXParseException:
The processing instruction target matching "[xX][mM][lL]" is not allowed.
|
White space characters before the XML declaration
are not supported by the XML parsing library.
- Delete the schema from Schema Library or Logical View.
- Open the WSDL file in a text editor and inspect the first characters
on the first line. Remove any whitespace characters.
- Import the schema again.
|