You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/08/22 10:12:22 UTC
svn commit: r433560 -
/incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java
Author: gnodet
Date: Tue Aug 22 01:12:21 2006
New Revision: 433560
URL: http://svn.apache.org/viewvc?rev=433560&view=rev
Log:
Remove a main method used for debugging
Modified:
incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java
Modified: incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java?rev=433560&r1=433559&r2=433560&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java (original)
+++ incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/tools/PortTypeDecorator.java Tue Aug 22 01:12:21 2006
@@ -171,12 +171,4 @@
return def;
}
- public static void main(String[] args) throws Exception {
- File file = new File(args[0]);
- Definition def = WSDLFactory.newInstance().newWSDLReader().readWSDL(file.getParent(), file.getName());
- Definition newDef = decorate(def, file.getName(), "urn:target", "http://localhost");
- WSDLFactory.newInstance().newWSDLWriter().writeWSDL(newDef, new FileOutputStream(args[1]));
-
- }
-
}