servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r469527 - /incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java
Date Tue, 31 Oct 2006 15:34:57 GMT
Author: gnodet
Date: Tue Oct 31 07:34:57 2006
New Revision: 469527

URL: http://svn.apache.org/viewvc?view=rev&rev=469527
Log:
SM-727: Schema import problem on jsr181

Modified:
    incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java

Modified: incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java?view=diff&rev=469527&r1=469526&r2=469527
==============================================================================
--- incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java
(original)
+++ incubator/servicemix/branches/servicemix-3.0/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java
Tue Oct 31 07:34:57 2006
@@ -222,6 +222,9 @@
                 ExtensibilityElement element = (ExtensibilityElement) iter.next();
                 if (element instanceof javax.wsdl.extensions.schema.Schema) {
                     javax.wsdl.extensions.schema.Schema schema = (javax.wsdl.extensions.schema.Schema)
element;
+                    if (schema.getElement() != null) {
+                        schemas.read(schema.getElement(), schema.getDocumentBaseURI() !=
null ? new URI(schema.getDocumentBaseURI()) : null);
+                    }
                     for (Iterator itImp = schema.getImports().values().iterator(); itImp.hasNext();)
{
                         Collection imps = (Collection) itImp.next();
                         for (Iterator itSi = imps.iterator(); itSi.hasNext();) {



Mime
View raw message