cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r760531 - /cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
Date Tue, 31 Mar 2009 17:21:29 GMT
Author: dkulp
Date: Tue Mar 31 17:21:29 2009
New Revision: 760531

URL: http://svn.apache.org/viewvc?rev=760531&view=rev
Log:
Remove -p check for multiple schemas as its fixed in the latest jaxb's

Modified:
    cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java

Modified: cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java?rev=760531&r1=760530&r2=760531&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
(original)
+++ cxf/trunk/tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java
Tue Mar 31 17:21:29 2009
@@ -152,13 +152,6 @@
             SchemaCollection schemaCollection = service0.getXmlSchemaCollection();
             context.put(ToolConstants.XML_SCHEMA_COLLECTION, schemaCollection);
             
-            // > 2 because the schema-schema is always in there.
-            if (context.isPackageNameChanged() && schemaCollection.getXmlSchemas().length
> 2
-                && context.get(ToolConstants.CFG_NO_ADDRESS_BINDING) == null) {
-                throw new ToolException(new Message("-p option cannot be used "
-                    + "when wsdl contains mutiple schemas", LOG));
-            }
-            
             context.put(ToolConstants.PORTTYPE_MAP, interfaces);
             context.put(ClassCollector.class, new ClassCollector());
             Processor processor = frontend.getProcessor();



Mime
View raw message