Troubleshooting
Problem
Exception while processing web service activity. WSDL generated in the 'Webservice Provide' activity is empty.
Cause
This has been logged as a defect with Cast Iron development. The WSDL may not get generated because of the xml-ns schema that is in the 'XML Schemas' directory. That schema definition may have the prefix xml defined which is ok according to xml schema spec. However, a prefix as xmlns:xml is not valid if defined in xml schema or WSDL.
Resolving The Problem
To workaround this defect, remove the xml-ns from the given WSDL.
For example, if the WSDL has
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml-ns">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:import>
this may not get generated when imported in Studio
We have to remove the schemaLocation as shown below
<xsd:import namespace="http://www.w3.org/XML/1998/namespace">
<xsd:annotation>
<xsd:documentation/>
</xsd:annotation>
</xsd:import>
This schemaLocation for the namespace "http://www.w3.org/XML/1998/namespace" was required in the old version of studio. Now studio can properly handle the predefined schema as the one indicate above.
Please contact IBM Cast Iron Support if this solution does not resolve your issue.
Historical Number
00001302
Product Synonym
Cast Iron Solution;Cast Iron Operating System;Cast Iron Studio
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21453585