Index: src/main/java/org/ow2/petals/component/framework/util/WSDLHelper.java =================================================================== --- src/main/java/org/ow2/petals/component/framework/util/WSDLHelper.java (revision 27915) +++ src/main/java/org/ow2/petals/component/framework/util/WSDLHelper.java (working copy) @@ -334,6 +334,7 @@ final org.jdom.Element importedDocumentsElmt = new org.jdom.Element( "importedDocuments", PETALS_WSDL_EXTENSIONS); for (final org.jdom.Element impt : imports) { + impt.setAttribute("schemaLocation", "xpath://description/importedDocuments/document/" + impt.getAttributeValue("schemaLocation")); importedDocumentsElmt.addContent(impt); } root.getChildren().add(importedDocumentsElmt); @@ -450,7 +451,8 @@ if (importedDocument != null) { documentElmt = new org.jdom.Element("document", PETALS_WSDL_EXTENSIONS); - documentElmt.setAttribute("name", name); + documentElmt.setAttribute("originalLocation", name); + documentElmt.setAttribute("location", "xpath://description/importedDocuments/document/" + name); documentElmt .addContent((org.jdom.Element) importedDocument