{"record":{"id":"33f077275a17f0e1","repo":"flowable/flowable-engine","slug":"unsupported-import-type-s","errorCode":null,"errorMessage":"Unsupported import type '%s'","messagePattern":"Unsupported import type '(.+?)'","errorType":"exception","errorClass":"FlowableException","httpStatus":null,"severity":"error","filePath":"modules/flowable5-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/WebServiceActivityBehavior.java","lineNumber":294,"sourceCode":"                    XMLImporter importerInstance = processEngineConfig.getWsdlImporterFactory()\n                            .createXMLImporter(theImport);\n\n                    xmlImporterMap.put(theImport.getNamespace(), importerInstance);\n                    importerInstance.importFrom(theImport, sourceSystemId);\n\n                    structureDefinitionMap.putAll(importerInstance.getStructures());\n                    wsServiceMap.putAll(importerInstance.getServices());\n                    wsOperationMap.putAll(importerInstance.getOperations());\n\n                } catch (FlowableException e) {\n                    throw e;\n                } catch (Exception e) {\n                    throw new FlowableException(String.format(\"Error importing '%s' as '%s'\", theImport.getLocation(),\n                            theImport.getImportType()), e);\n                }\n\n            } else {\n                throw new FlowableException(String.format(\"Unsupported import type '%s'\", theImport.getImportType()));\n            }\n        }\n    }\n\n    protected void returnMessage(List<DataAssociation> dataOutputAssociations, DelegateExecution execution) {\n        for (DataAssociation dataAssociationElement : dataOutputAssociations) {\n            AbstractDataAssociation dataAssociation = createDataOutputAssociation(dataAssociationElement);\n            dataAssociation.evaluate(execution);\n        }\n    }\n\n    protected void fillMessage(List<DataAssociation> dataInputAssociations, DelegateExecution execution) {\n        for (DataAssociation dataAssociationElement : dataInputAssociations) {\n            AbstractDataAssociation dataAssociation = createDataInputAssociation(dataAssociationElement);\n            dataAssociation.evaluate(execution);\n        }\n    }\n","sourceCodeStart":276,"sourceCodeEnd":312,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable5-engine/src/main/java/org/activiti/engine/impl/bpmn/behavior/WebServiceActivityBehavior.java#L276-L312","documentation":"Thrown in WebServiceBehavior.fillImporterInfo() when a BPMN <import> declares an importType the engine has no importer for. Only known import types (e.g. WSDL) are supported; any other importType string fails model parsing/deployment.","triggerScenarios":"Deploying a BPMN XML whose <definitions> contains an <import importType=\"...\"> with an unsupported/misspelled type string (e.g. XSD-only imports or a typo like \"wsdl/\" without the proper URI).","commonSituations":"Copy-pasted import elements from other tools; wrong namespace constant for the importType attribute; tools emitting XSD import types the engine cannot handle.","solutions":["Set importType to the supported WSDL URI: http://schemas.xmlsoap.org/wsdl/","Remove the <import> element if the WSDL is not actually needed by any service task in the model","Pre-resolve the WSDL into the model/operation map manually and drop the unsupported import declaration","Check spelling/casing of the importType attribute against the expected constant"],"exampleFix":"<!-- before -->\n<import importType=\"wsdl\" location=\"service.wsdl\" namespace=\"http://example.com\" />\n<!-- after -->\n<import importType=\"http://schemas.xmlsoap.org/wsdl/\" location=\"service.wsdl\" namespace=\"http://example.com\" />","handlingStrategy":"validation","validationCode":"if (!\"http://schemas.xmlsoap.org/wsdl/\".equals(theImport.getImportType())) {\n    throw new IllegalArgumentException(\"Unsupported importType: \" + theImport.getImportType());\n}","typeGuard":null,"tryCatchPattern":"try {\n    deploymentBuilder.deploy();\n} catch (FlowableException e) {\n    if (e.getMessage().startsWith(\"Unsupported import type\")) { /* fix importType attribute */ }\n    throw e;\n}","preventionTips":["Always use the exact WSDL importType URI in BPMN <import> elements","Remove unnecessary <import> declarations from generated models","Lint BPMN XML for import elements before deployment"],"tags":["web-service","wsdl","import-type","deployment"],"backgroundTag":"unsupported-enum-value","analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}