How to re-import a WSDL in BE (TIBCO BusinessEvents) Studio or what to do when you see an error of "error while importing WSDL.Can not import.File XXXX already exists."
book
Article ID: KB0087651
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========== Importing a WSDL into BE generates TIBCO BusinessEvents project artifacts using elements in the WSDL. When you go to re-import the WSDL those same artifacts now block the re-import of the WSDL. The second import fails for instance on portTypeEnd already being defined. While this can be deleted and other artifacts, tit is not something which is usually desired once the Rule stubs have been filled out.
Environment: ========== Windows and BE 5.0.x
Cause: ===== Various artifacts are created when the WSDL is imported and when attempting to import again the WSDL will fail because those artifacts already exist in the project.
Resolution: ========= Don't import the WSDL again.
Go the file system of the project and rename the existing WSDL file. Copy into the same directory the new WSDL file. In Studio go to Edit>Delete and delete the old WSDL file. Hit the keys Fn F5 and then do a Project>Clean. At this point if you have done XMAP you will find errors from broken links in the Mapper. Control click to open the mapper. Click on the Check Button ((Mapper Check and Repair) and check ONLY the mappings in red. Do not select all. Click okay to fix the mappings. All errors will be gone. Manual mappings will have to be made for new or changed elements.
Issue/Introduction
How to re-import a WSDL in BE (TIBCO BusinessEvents) Studio or what to do when you see an error of "error while importing WSDL.Can not import.File XXXX already exists."