gdaniels 2002/12/11 14:41:15
Modified: java/samples/addr AddressBookTestCase.java Main.java
java/samples/attachments EchoAttachment.java
EchoAttachmentsService.java TestRef.java
java/samples/bidbuy TestClient.java rfq.java v3.java
java/samples/echo TestClient.java
echoHeaderStringHandler.java
echoHeaderStructHandler.java
java/samples/encoding DataDeser.java DataDeserFactory.java
DataSer.java DataSerFactory.java
ElementService.java TestElem.java TestSer.java
java/samples/integrationGuide/example1
MyListPortsWriter.java MyWSDL2Java.java
java/samples/integrationGuide/example2 MyDeployWriter.java
MyGeneratorFactory.java WSDL2Useless.java
java/samples/jaxrpc GetInfo.java GetQuote1.java
java/samples/jms JMSTest.java
java/samples/message MessageService.java TestMsg.java
java/samples/proxy ProxyService.java
java/samples/security Client.java ClientSigningHandler.java
LogHandler.java
java/samples/stock GetInfo.java GetQuote.java GetQuote1.java
GetQuote2.java
java/samples/transport FileTest.java
java/samples/transport/tcp AdminClient.java GetQuote.java
TCPListener.java TCPSender.java TCPTransport.java
java/samples/userguide/example3 Client.java
java/samples/userguide/example5 Client.java
Log:
Optimize imports on samples/ directory.
Revision Changes Path
1.11 +0 -2 xml-axis/java/samples/addr/AddressBookTestCase.java
Index: AddressBookTestCase.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/addr/AddressBookTestCase.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- AddressBookTestCase.java 3 Jul 2002 18:47:08 -0000 1.10
+++ AddressBookTestCase.java 11 Dec 2002 22:41:12 -0000 1.11
@@ -56,8 +56,6 @@
package samples.addr;
import junit.framework.TestCase;
-import org.apache.axis.AxisFault;
-
import org.apache.axis.components.logger.LogFactory;
import org.apache.commons.logging.Log;
1.22 +0 -2 xml-axis/java/samples/addr/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/addr/Main.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Main.java 16 Jul 2002 15:17:34 -0000 1.21
+++ Main.java 11 Dec 2002 22:41:12 -0000 1.22
@@ -57,8 +57,6 @@
package samples.addr;
-import org.apache.axis.AxisFault;
-
import org.apache.axis.utils.Options;
import java.net.URL;
1.20 +2 -3 xml-axis/java/samples/attachments/EchoAttachment.java
Index: EchoAttachment.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/attachments/EchoAttachment.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- EchoAttachment.java 30 Oct 2002 17:31:29 -0000 1.19
+++ EchoAttachment.java 11 Dec 2002 22:41:12 -0000 1.20
@@ -57,7 +57,6 @@
import org.apache.axis.AxisFault;
-import org.apache.axis.attachments.Attachments;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
@@ -70,6 +69,7 @@
import javax.activation.FileDataSource;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
+import javax.xml.soap.AttachmentPart;
import javax.xml.soap.MessageFactory;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPBodyElement;
@@ -78,13 +78,12 @@
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPMessage;
import javax.xml.soap.SOAPPart;
-import javax.xml.soap.AttachmentPart;
import java.io.File;
import java.net.URL;
import java.util.Hashtable;
+import java.util.Iterator;
import java.util.ListIterator;
import java.util.Vector;
-import java.util.Iterator;
/**
1.5 +4 -1 xml-axis/java/samples/attachments/EchoAttachmentsService.java
Index: EchoAttachmentsService.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/attachments/EchoAttachmentsService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- EchoAttachmentsService.java 3 Aug 2002 21:52:05 -0000 1.4
+++ EchoAttachmentsService.java 11 Dec 2002 22:41:12 -0000 1.5
@@ -54,8 +54,11 @@
*/
package samples.attachments;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
import javax.activation.DataHandler;
-import org.w3c.dom.*;
/**
1.3 +7 -13 xml-axis/java/samples/attachments/TestRef.java
Index: TestRef.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/attachments/TestRef.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestRef.java 9 Oct 2002 19:06:27 -0000 1.2
+++ TestRef.java 11 Dec 2002 22:41:12 -0000 1.3
@@ -57,28 +57,22 @@
import org.apache.axis.AxisFault;
+import org.apache.axis.attachments.AttachmentPart;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
-import org.apache.axis.MessageContext;
+import org.apache.axis.message.SOAPBodyElement;
import org.apache.axis.transport.http.HTTPConstants;
-import org.apache.axis.encoding.XMLType;
-import org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory;
-import org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory;
import org.apache.axis.utils.Options;
-import org.apache.axis.attachments.AttachmentPart;
-import org.apache.axis.message.SOAPBodyElement;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
import javax.activation.DataHandler;
import javax.activation.FileDataSource;
-import javax.xml.rpc.ParameterMode;
-import javax.xml.namespace.QName;
-import javax.activation.DataHandler;
-
+import java.io.ByteArrayInputStream;
import java.net.URL;
import java.util.Hashtable;
import java.util.Vector;
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import org.w3c.dom.*;
/**
1.25 +3 -4 xml-axis/java/samples/bidbuy/TestClient.java
Index: TestClient.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/bidbuy/TestClient.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- TestClient.java 11 Jun 2002 14:53:49 -0000 1.24
+++ TestClient.java 11 Dec 2002 22:41:12 -0000 1.25
@@ -57,14 +57,13 @@
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
-import org.apache.axis.encoding.ser.BeanSerializerFactory;
-import org.apache.axis.encoding.ser.BeanDeserializerFactory;
import org.apache.axis.encoding.XMLType;
+import org.apache.axis.encoding.ser.BeanDeserializerFactory;
+import org.apache.axis.encoding.ser.BeanSerializerFactory;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
-
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
import java.net.URL;
import java.util.Calendar;
1.5 +1 -15 xml-axis/java/samples/bidbuy/rfq.java
Index: rfq.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/bidbuy/rfq.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rfq.java 18 Oct 2001 13:28:36 -0000 1.4
+++ rfq.java 11 Dec 2002 22:41:12 -0000 1.5
@@ -1,20 +1,6 @@
package samples.bidbuy ;
-import javax.swing.Box;
-import javax.swing.BoxLayout;
-import javax.swing.JButton;
-import javax.swing.JComboBox;
-import javax.swing.JDialog;
-import javax.swing.JFrame;
-import javax.swing.JLabel;
-import javax.swing.JOptionPane;
-import javax.swing.JPanel;
-import javax.swing.JScrollPane;
-import javax.swing.JSplitPane;
-import javax.swing.JTable;
-import javax.swing.JTextField;
-import javax.swing.ListSelectionModel;
-import javax.swing.UIManager;
+import javax.swing.*;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import javax.swing.event.TableModelEvent;
1.22 +3 -3 xml-axis/java/samples/bidbuy/v3.java
Index: v3.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/bidbuy/v3.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- v3.java 11 Jun 2002 14:53:49 -0000 1.21
+++ v3.java 11 Dec 2002 22:41:12 -0000 1.22
@@ -2,12 +2,12 @@
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
-import org.apache.axis.encoding.ser.BeanSerializerFactory;
-import org.apache.axis.encoding.ser.BeanDeserializerFactory;
import org.apache.axis.encoding.XMLType;
+import org.apache.axis.encoding.ser.BeanDeserializerFactory;
+import org.apache.axis.encoding.ser.BeanSerializerFactory;
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
import java.math.BigDecimal;
import java.net.URL;
import java.util.Calendar;
1.70 +7 -10 xml-axis/java/samples/echo/TestClient.java
Index: TestClient.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/TestClient.java,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- TestClient.java 15 Oct 2002 21:15:42 -0000 1.69
+++ TestClient.java 11 Dec 2002 22:41:12 -0000 1.70
@@ -56,7 +56,6 @@
package samples.echo ;
import org.apache.axis.AxisFault;
-
import org.apache.axis.types.HexBinary;
import org.apache.axis.types.NegativeInteger;
import org.apache.axis.types.NonNegativeInteger;
@@ -64,14 +63,18 @@
import org.apache.axis.types.NormalizedString;
import org.apache.axis.types.PositiveInteger;
import org.apache.axis.types.Token;
-import org.apache.axis.types.UnsignedLong;
+import org.apache.axis.types.UnsignedByte;
import org.apache.axis.types.UnsignedInt;
+import org.apache.axis.types.UnsignedLong;
import org.apache.axis.types.UnsignedShort;
-import org.apache.axis.types.UnsignedByte;
-
import org.apache.axis.utils.JavaUtils;
import org.apache.axis.utils.Options;
+import javax.xml.rpc.holders.FloatHolder;
+import javax.xml.rpc.holders.IntHolder;
+import javax.xml.rpc.holders.StringHolder;
+import java.io.PrintWriter;
+import java.io.StringWriter;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.util.Calendar;
@@ -82,12 +85,6 @@
import java.util.Map;
import java.util.Set;
import java.util.TimeZone;
-import java.io.StringWriter;
-import java.io.PrintWriter;
-
-import javax.xml.rpc.holders.StringHolder;
-import javax.xml.rpc.holders.IntHolder;
-import javax.xml.rpc.holders.FloatHolder;
/**
1.14 +2 -2 xml-axis/java/samples/echo/echoHeaderStringHandler.java
Index: echoHeaderStringHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/echoHeaderStringHandler.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- echoHeaderStringHandler.java 18 Sep 2002 17:19:46 -0000 1.13
+++ echoHeaderStringHandler.java 11 Dec 2002 22:41:12 -0000 1.14
@@ -57,12 +57,12 @@
import org.apache.axis.AxisFault;
import org.apache.axis.Constants;
-import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
+import org.apache.axis.components.logger.LogFactory;
+import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.message.SOAPEnvelope;
import org.apache.axis.message.SOAPHeaderElement;
-import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.utils.Messages;
import org.apache.commons.logging.Log;
1.15 +2 -3 xml-axis/java/samples/echo/echoHeaderStructHandler.java
Index: echoHeaderStructHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/echoHeaderStructHandler.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- echoHeaderStructHandler.java 18 Sep 2002 17:19:46 -0000 1.14
+++ echoHeaderStructHandler.java 11 Dec 2002 22:41:13 -0000 1.15
@@ -56,13 +56,12 @@
package samples.echo;
import org.apache.axis.AxisFault;
-import org.apache.axis.Constants;
-import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
+import org.apache.axis.components.logger.LogFactory;
+import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.message.SOAPEnvelope;
import org.apache.axis.message.SOAPHeaderElement;
-import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.utils.Messages;
import org.apache.commons.logging.Log;
1.5 +1 -1 xml-axis/java/samples/encoding/DataDeser.java
Index: DataDeser.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/DataDeser.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DataDeser.java 11 Jun 2002 14:53:49 -0000 1.4
+++ DataDeser.java 11 Dec 2002 22:41:13 -0000 1.5
@@ -1,10 +1,10 @@
package samples.encoding;
+import org.apache.axis.Constants;
import org.apache.axis.encoding.DeserializationContext;
import org.apache.axis.encoding.Deserializer;
import org.apache.axis.encoding.DeserializerImpl;
import org.apache.axis.encoding.FieldTarget;
-import org.apache.axis.Constants;
import org.apache.axis.message.SOAPHandler;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
1.4 +1 -13 xml-axis/java/samples/encoding/DataDeserFactory.java
Index: DataDeserFactory.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/DataDeserFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DataDeserFactory.java 11 Jun 2002 14:53:49 -0000 1.3
+++ DataDeserFactory.java 11 Dec 2002 22:41:13 -0000 1.4
@@ -55,20 +55,8 @@
package samples.encoding;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-
-import javax.xml.namespace.QName;
-import java.io.IOException;
-
-import org.apache.axis.encoding.Serializer;
-import org.apache.axis.encoding.SerializerFactory;
-import org.apache.axis.encoding.SerializationContext;
-import org.apache.axis.encoding.Deserializer;
-import org.apache.axis.encoding.DeserializerFactory;
-import org.apache.axis.encoding.DeserializationContext;
-import org.apache.axis.encoding.Deserializer;
import org.apache.axis.Constants;
+import org.apache.axis.encoding.DeserializerFactory;
import java.util.Iterator;
import java.util.Vector;
1.19 +2 -6 xml-axis/java/samples/encoding/DataSer.java
Index: DataSer.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/DataSer.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- DataSer.java 4 Nov 2002 17:01:26 -0000 1.18
+++ DataSer.java 11 Dec 2002 22:41:13 -0000 1.19
@@ -1,18 +1,14 @@
package samples.encoding;
+import org.apache.axis.Constants;
import org.apache.axis.encoding.SerializationContext;
import org.apache.axis.encoding.Serializer;
-import org.apache.axis.message.SOAPHandler;
-import org.apache.axis.Constants;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.apache.axis.Constants;
import org.apache.axis.wsdl.fromJava.Types;
import org.w3c.dom.Element;
+import org.xml.sax.Attributes;
import javax.xml.namespace.QName;
import java.io.IOException;
-import java.util.Hashtable;
public class DataSer implements Serializer
{
1.4 +1 -13 xml-axis/java/samples/encoding/DataSerFactory.java
Index: DataSerFactory.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/DataSerFactory.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DataSerFactory.java 11 Jun 2002 14:53:49 -0000 1.3
+++ DataSerFactory.java 11 Dec 2002 22:41:13 -0000 1.4
@@ -55,20 +55,8 @@
package samples.encoding;
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-
-import javax.xml.namespace.QName;
-import java.io.IOException;
-
-import org.apache.axis.encoding.Serializer;
-import org.apache.axis.encoding.SerializerFactory;
-import org.apache.axis.encoding.SerializationContext;
-import org.apache.axis.encoding.Deserializer;
-import org.apache.axis.encoding.DeserializerFactory;
-import org.apache.axis.encoding.DeserializationContext;
-import org.apache.axis.encoding.Deserializer;
import org.apache.axis.Constants;
+import org.apache.axis.encoding.SerializerFactory;
import java.util.Iterator;
import java.util.Vector;
1.2 +1 -1 xml-axis/java/samples/encoding/ElementService.java
Index: ElementService.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/ElementService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ElementService.java 12 Dec 2001 14:02:27 -0000 1.1
+++ ElementService.java 11 Dec 2002 22:41:13 -0000 1.2
@@ -1,6 +1,6 @@
package samples.encoding;
-import org.w3c.dom.Element ;
+import org.w3c.dom.Element;
public class ElementService {
public Element echoElement(String str, Element elem) {
1.6 +4 -8 xml-axis/java/samples/encoding/TestElem.java
Index: TestElem.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/TestElem.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TestElem.java 2 Dec 2002 17:58:34 -0000 1.5
+++ TestElem.java 11 Dec 2002 22:41:13 -0000 1.6
@@ -1,18 +1,14 @@
package samples.encoding;
-import java.io.ByteArrayInputStream;
-
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
-
import org.apache.axis.utils.Options;
import org.apache.axis.utils.XMLUtils;
-
import org.w3c.dom.Element;
+
+import javax.xml.namespace.QName;
+import java.io.ByteArrayInputStream;
+import java.net.URL;
public class TestElem {
static String xml = "<x:hello xmlns:x=\"urn:foo\">a string</x:hello>" ;
1.26 +2 -2 xml-axis/java/samples/encoding/TestSer.java
Index: TestSer.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/encoding/TestSer.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- TestSer.java 11 Jun 2002 14:53:49 -0000 1.25
+++ TestSer.java 11 Dec 2002 22:41:13 -0000 1.26
@@ -1,13 +1,13 @@
package samples.encoding;
+import org.apache.axis.Constants;
import org.apache.axis.MessageContext;
import org.apache.axis.encoding.DeserializationContext;
import org.apache.axis.encoding.DeserializationContextImpl;
import org.apache.axis.encoding.SerializationContext;
import org.apache.axis.encoding.SerializationContextImpl;
-import org.apache.axis.encoding.TypeMappingRegistry;
import org.apache.axis.encoding.TypeMapping;
-import org.apache.axis.Constants;
+import org.apache.axis.encoding.TypeMappingRegistry;
import org.apache.axis.message.RPCElement;
import org.apache.axis.message.RPCParam;
import org.apache.axis.message.SOAPEnvelope;
1.3 +7 -10
xml-axis/java/samples/integrationGuide/example1/MyListPortsWriter.java
Index: MyListPortsWriter.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/samples/integrationGuide/example1/MyListPortsWriter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MyListPortsWriter.java 7 Jun 2002 12:45:08 -0000 1.2
+++ MyListPortsWriter.java 11 Dec 2002 22:41:13 -0000 1.3
@@ -54,21 +54,18 @@
*/
package samples.integrationGuide.example1;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.wsdl.Port;
-import javax.wsdl.Service;
-
import org.apache.axis.wsdl.symbolTable.ServiceEntry;
import org.apache.axis.wsdl.symbolTable.SymbolTable;
-
import org.apache.axis.wsdl.toJava.Emitter;
import org.apache.axis.wsdl.toJava.JavaWriter;
import org.apache.axis.wsdl.toJava.Utils;
+
+import javax.wsdl.Port;
+import javax.wsdl.Service;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.Iterator;
+import java.util.Map;
/**
* This is my example of a class that writes a list of a service's
1.2 +2 -3 xml-axis/java/samples/integrationGuide/example1/MyWSDL2Java.java
Index: MyWSDL2Java.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/samples/integrationGuide/example1/MyWSDL2Java.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MyWSDL2Java.java 16 May 2002 14:48:20 -0000 1.1
+++ MyWSDL2Java.java 11 Dec 2002 22:41:13 -0000 1.2
@@ -54,11 +54,10 @@
*/
package samples.integrationGuide.example1;
-import javax.wsdl.Service;
-
import org.apache.axis.wsdl.WSDL2Java;
-
import org.apache.axis.wsdl.toJava.JavaGeneratorFactory;
+
+import javax.wsdl.Service;
public class MyWSDL2Java extends WSDL2Java {
1.3 +4 -6
xml-axis/java/samples/integrationGuide/example2/MyDeployWriter.java
Index: MyDeployWriter.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/samples/integrationGuide/example2/MyDeployWriter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MyDeployWriter.java 7 Jun 2002 12:45:08 -0000 1.2
+++ MyDeployWriter.java 11 Dec 2002 22:41:13 -0000 1.3
@@ -54,15 +54,13 @@
*/
package samples.integrationGuide.example2;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import javax.wsdl.Definition;
-
import org.apache.axis.wsdl.symbolTable.SymbolTable;
-
import org.apache.axis.wsdl.toJava.Emitter;
import org.apache.axis.wsdl.toJava.JavaWriter;
+
+import javax.wsdl.Definition;
+import java.io.IOException;
+import java.io.PrintWriter;
public class MyDeployWriter extends JavaWriter {
1.2 +2 -8
xml-axis/java/samples/integrationGuide/example2/MyGeneratorFactory.java
Index: MyGeneratorFactory.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/samples/integrationGuide/example2/MyGeneratorFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MyGeneratorFactory.java 16 May 2002 14:48:21 -0000 1.1
+++ MyGeneratorFactory.java 11 Dec 2002 22:41:13 -0000 1.2
@@ -54,17 +54,11 @@
*/
package samples.integrationGuide.example2;
-import javax.wsdl.Definition;
-
-import org.apache.axis.wsdl.gen.Generator;
-
-import org.apache.axis.wsdl.symbolTable.SymbolTable;
-import org.apache.axis.wsdl.symbolTable.TypeEntry;
-
-import org.apache.axis.wsdl.toJava.Emitter;
import org.apache.axis.wsdl.toJava.JavaDefinitionWriter;
import org.apache.axis.wsdl.toJava.JavaGeneratorFactory;
import org.apache.axis.wsdl.toJava.JavaUndeployWriter;
+
+import javax.wsdl.Definition;
/**
* IBM Extension to WSDL2Java Emitter
1.2 +0 -4
xml-axis/java/samples/integrationGuide/example2/WSDL2Useless.java
Index: WSDL2Useless.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/samples/integrationGuide/example2/WSDL2Useless.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WSDL2Useless.java 16 May 2002 14:48:21 -0000 1.1
+++ WSDL2Useless.java 11 Dec 2002 22:41:13 -0000 1.2
@@ -56,12 +56,8 @@
import org.apache.axis.utils.CLOption;
import org.apache.axis.utils.CLOptionDescriptor;
-
import org.apache.axis.wsdl.WSDL2Java;
-
import org.apache.axis.wsdl.gen.Parser;
-
-import org.apache.axis.wsdl.toJava.Emitter;
public class WSDL2Useless extends WSDL2Java {
1.4 +2 -3 xml-axis/java/samples/jaxrpc/GetInfo.java
Index: GetInfo.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/jaxrpc/GetInfo.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- GetInfo.java 14 Jun 2002 13:27:17 -0000 1.3
+++ GetInfo.java 11 Dec 2002 22:41:13 -0000 1.4
@@ -55,15 +55,14 @@
package samples.jaxrpc;
-import org.apache.axis.encoding.XMLType; // This should probably be
javax.xml.rpc.encoding.XMLType if we're told that class is approved (ie., it gets into
the spec rather than just in the RI).
+import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
+import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
-
-import javax.xml.namespace.QName;
/**
* This version of GetInfo is a near-duplicate of the GetInfo class in
1.6 +4 -7 xml-axis/java/samples/jaxrpc/GetQuote1.java
Index: GetQuote1.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/jaxrpc/GetQuote1.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- GetQuote1.java 21 Jun 2002 18:37:48 -0000 1.5
+++ GetQuote1.java 11 Dec 2002 22:41:13 -0000 1.6
@@ -55,18 +55,15 @@
package samples.jaxrpc;
-import java.net.URL;
+import org.apache.axis.encoding.XMLType;
+import org.apache.axis.utils.Options;
+import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
-
-import javax.xml.namespace.QName;
-
-import org.apache.axis.encoding.XMLType; // This should probably be
javax.xml.rpc.encoding.XMLType if we're told that class is approved (ie., it gets into
the spec rather than just in the RI).
-
-import org.apache.axis.utils.Options;
+import java.net.URL;
/**
* This version of the ever so popular GetQuote is a near-duplicate of
1.4 +6 -10 xml-axis/java/samples/jms/JMSTest.java
Index: JMSTest.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/jms/JMSTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- JMSTest.java 16 Oct 2002 21:50:01 -0000 1.3
+++ JMSTest.java 11 Dec 2002 22:41:13 -0000 1.4
@@ -55,24 +55,20 @@
package samples.jms;
-import org.apache.axis.AxisEngine;
import org.apache.axis.AxisFault;
-import org.apache.axis.SimpleTargetedChain;
-import org.apache.axis.configuration.XMLStringProvider;
-import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
+import org.apache.axis.configuration.XMLStringProvider;
+import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.encoding.XMLType;
-import org.apache.axis.utils.Options;
-
-import org.apache.axis.transport.jms.JMSTransport;
import org.apache.axis.transport.jms.JMSConstants;
+import org.apache.axis.transport.jms.JMSTransport;
import org.apache.axis.transport.jms.SimpleJMSListener;
+import org.apache.axis.utils.Options;
-import java.util.HashMap;
-
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
+import java.util.HashMap;
/** Tests the JMS transport. To run:
* java org.apache.axis.utils.Admin client client_deploy.xml
1.5 +1 -1 xml-axis/java/samples/message/MessageService.java
Index: MessageService.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/message/MessageService.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- MessageService.java 30 Sep 2002 03:29:56 -0000 1.4
+++ MessageService.java 11 Dec 2002 22:41:13 -0000 1.5
@@ -55,7 +55,7 @@
package samples.message ;
-import org.w3c.dom.Element ;
+import org.w3c.dom.Element;
/**
* Simple message-style service sample.
1.4 +3 -3 xml-axis/java/samples/message/TestMsg.java
Index: TestMsg.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/message/TestMsg.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestMsg.java 30 Sep 2002 03:29:56 -0000 1.3
+++ TestMsg.java 11 Dec 2002 22:41:13 -0000 1.4
@@ -55,17 +55,17 @@
package samples.message;
-import org.apache.axis.client.Service;
import org.apache.axis.client.Call;
+import org.apache.axis.client.Service;
import org.apache.axis.message.SOAPBodyElement;
import org.apache.axis.utils.Options;
import org.apache.axis.utils.XMLUtils;
-import org.w3c.dom.Element;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Document;
+import org.w3c.dom.Element;
-import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
import java.net.URL;
import java.util.Vector;
1.15 +1 -1 xml-axis/java/samples/proxy/ProxyService.java
Index: ProxyService.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/proxy/ProxyService.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ProxyService.java 28 May 2002 23:19:28 -0000 1.14
+++ ProxyService.java 11 Dec 2002 22:41:14 -0000 1.15
@@ -63,8 +63,8 @@
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.w3c.dom.Document;
-import samples.transport.tcp.TCPTransport;
import samples.transport.tcp.TCPSender;
+import samples.transport.tcp.TCPTransport;
/**
* Proxy sample. Relays message on to hardcoded URL.
1.8 +0 -1 xml-axis/java/samples/security/Client.java
Index: Client.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/security/Client.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Client.java 19 Jun 2002 19:11:49 -0000 1.7
+++ Client.java 11 Dec 2002 22:41:14 -0000 1.8
@@ -55,7 +55,6 @@
package samples.security;
-import org.apache.axis.AxisFault;
import org.apache.axis.MessageContext;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
1.11 +1 -2 xml-axis/java/samples/security/ClientSigningHandler.java
Index: ClientSigningHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/security/ClientSigningHandler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ClientSigningHandler.java 3 Jul 2002 18:47:09 -0000 1.10
+++ ClientSigningHandler.java 11 Dec 2002 22:41:14 -0000 1.11
@@ -59,10 +59,9 @@
import org.apache.axis.Handler;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
+import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.message.SOAPEnvelope;
-
-import org.apache.axis.components.logger.LogFactory;
import org.apache.commons.logging.Log;
1.17 +2 -3 xml-axis/java/samples/security/LogHandler.java
Index: LogHandler.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/security/LogHandler.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- LogHandler.java 20 Sep 2002 12:05:59 -0000 1.16
+++ LogHandler.java 11 Dec 2002 22:41:14 -0000 1.17
@@ -59,11 +59,10 @@
import org.apache.axis.Handler;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
-import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.components.logger.LogFactory;
-import org.apache.commons.logging.Log;
+import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.utils.Messages;
-
+import org.apache.commons.logging.Log;
import org.apache.xml.security.signature.XMLSignature;
import org.apache.xml.security.utils.Constants;
import org.apache.xpath.CachedXPathAPI;
1.24 +1 -2 xml-axis/java/samples/stock/GetInfo.java
Index: GetInfo.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetInfo.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- GetInfo.java 19 Jun 2002 19:11:49 -0000 1.23
+++ GetInfo.java 11 Dec 2002 22:41:14 -0000 1.24
@@ -55,14 +55,13 @@
package samples.stock ;
-import org.apache.axis.AxisFault;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
/**
*
1.42 +1 -2 xml-axis/java/samples/stock/GetQuote.java
Index: GetQuote.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetQuote.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- GetQuote.java 19 Jun 2002 19:11:49 -0000 1.41
+++ GetQuote.java 11 Dec 2002 22:41:14 -0000 1.42
@@ -61,9 +61,8 @@
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
-
+import javax.xml.rpc.ParameterMode;
import java.net.URL;
/**
1.25 +1 -3 xml-axis/java/samples/stock/GetQuote1.java
Index: GetQuote1.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetQuote1.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- GetQuote1.java 19 Jun 2002 19:11:49 -0000 1.24
+++ GetQuote1.java 11 Dec 2002 22:41:14 -0000 1.25
@@ -55,15 +55,13 @@
package samples.stock ;
-import org.apache.axis.AxisFault;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
-
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
import java.net.URL;
/**
1.2 +0 -4 xml-axis/java/samples/stock/GetQuote2.java
Index: GetQuote2.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetQuote2.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- GetQuote2.java 28 Aug 2002 19:25:10 -0000 1.1
+++ GetQuote2.java 11 Dec 2002 22:41:14 -0000 1.2
@@ -55,13 +55,9 @@
package samples.stock ;
-import org.apache.axis.AxisFault;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
-import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
import java.net.URL;
1.31 +3 -5 xml-axis/java/samples/transport/FileTest.java
Index: FileTest.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/FileTest.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- FileTest.java 11 Jun 2002 14:53:49 -0000 1.30
+++ FileTest.java 11 Dec 2002 22:41:14 -0000 1.31
@@ -1,16 +1,14 @@
package samples.transport ;
-import org.apache.axis.AxisEngine;
-import org.apache.axis.SimpleTargetedChain;
-import org.apache.axis.configuration.XMLStringProvider;
-import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
+import org.apache.axis.configuration.XMLStringProvider;
+import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
+import javax.xml.rpc.ParameterMode;
/** Tests the simple File transport. To run:
* java org.apache.axis.utils.Admin client client_deploy.xml
1.18 +2 -4 xml-axis/java/samples/transport/tcp/AdminClient.java
Index: AdminClient.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/AdminClient.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- AdminClient.java 11 Jun 2002 14:53:50 -0000 1.17
+++ AdminClient.java 11 Dec 2002 22:41:14 -0000 1.18
@@ -55,13 +55,11 @@
package samples.transport.tcp ;
-import org.apache.axis.client.Call;
-import org.apache.axis.SimpleTargetedChain;
import org.apache.axis.EngineConfiguration;
+import org.apache.axis.SimpleTargetedChain;
+import org.apache.axis.client.Call;
import org.apache.axis.configuration.DefaultEngineConfigurationFactory;
import org.apache.axis.configuration.SimpleProvider;
-
-import javax.xml.namespace.QName;
/**
* An admin client object, which will work with the TCP transport.
1.23 +3 -4 xml-axis/java/samples/transport/tcp/GetQuote.java
Index: GetQuote.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/GetQuote.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- GetQuote.java 19 Jun 2002 19:11:49 -0000 1.22
+++ GetQuote.java 11 Dec 2002 22:41:14 -0000 1.23
@@ -58,16 +58,15 @@
import org.apache.axis.AxisFault;
import org.apache.axis.EngineConfiguration;
import org.apache.axis.SimpleTargetedChain;
-import org.apache.axis.configuration.SimpleProvider;
-import org.apache.axis.configuration.DefaultEngineConfigurationFactory;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
+import org.apache.axis.configuration.DefaultEngineConfigurationFactory;
+import org.apache.axis.configuration.SimpleProvider;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
-import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
-
+import javax.xml.rpc.ParameterMode;
import java.net.URL;
/**
1.26 +2 -9 xml-axis/java/samples/transport/tcp/TCPListener.java
Index: TCPListener.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/TCPListener.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- TCPListener.java 3 Jul 2002 18:47:09 -0000 1.25
+++ TCPListener.java 11 Dec 2002 22:41:14 -0000 1.26
@@ -59,20 +59,13 @@
import org.apache.axis.AxisFault;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
-import org.apache.axis.SimpleTargetedChain;
-import org.apache.axis.ConfigurationException;
-import org.apache.axis.deployment.wsdd.WSDDConstants;
-import org.apache.axis.providers.java.MsgProvider;
-import org.apache.axis.handlers.soap.SOAPService;
-import org.apache.axis.configuration.SimpleProvider;
+import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.configuration.XMLStringProvider;
+import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.server.AxisServer;
import org.apache.axis.utils.Options;
-
-import org.apache.axis.components.logger.LogFactory;
import org.apache.commons.logging.Log;
-import javax.xml.namespace.QName;
import java.io.BufferedOutputStream;
import java.io.ByteArrayInputStream;
import java.io.IOException;
1.21 +1 -2 xml-axis/java/samples/transport/tcp/TCPSender.java
Index: TCPSender.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/TCPSender.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- TCPSender.java 3 Jul 2002 18:47:09 -0000 1.20
+++ TCPSender.java 11 Dec 2002 22:41:14 -0000 1.21
@@ -58,9 +58,8 @@
import org.apache.axis.AxisFault;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
-import org.apache.axis.handlers.BasicHandler;
-
import org.apache.axis.components.logger.LogFactory;
+import org.apache.axis.handlers.BasicHandler;
import org.apache.commons.logging.Log;
import java.io.BufferedInputStream;
1.18 +0 -1 xml-axis/java/samples/transport/tcp/TCPTransport.java
Index: TCPTransport.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/TCPTransport.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- TCPTransport.java 3 Jul 2002 18:47:09 -0000 1.17
+++ TCPTransport.java 11 Dec 2002 22:41:14 -0000 1.18
@@ -59,7 +59,6 @@
import org.apache.axis.MessageContext;
import org.apache.axis.client.Call;
import org.apache.axis.client.Transport;
-
import org.apache.axis.components.logger.LogFactory;
import org.apache.commons.logging.Log;
1.14 +0 -1 xml-axis/java/samples/userguide/example3/Client.java
Index: Client.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/userguide/example3/Client.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Client.java 30 Oct 2002 15:40:28 -0000 1.13
+++ Client.java 11 Dec 2002 22:41:15 -0000 1.14
@@ -61,7 +61,6 @@
import org.apache.axis.utils.Options;
import javax.xml.namespace.QName;
-
import javax.xml.rpc.ParameterMode;
public class Client
1.17 +0 -1 xml-axis/java/samples/userguide/example5/Client.java
Index: Client.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/userguide/example5/Client.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Client.java 11 Jun 2002 14:53:50 -0000 1.16
+++ Client.java 11 Dec 2002 22:41:15 -0000 1.17
@@ -61,7 +61,6 @@
import org.apache.axis.utils.Options;
import javax.xml.namespace.QName;
-
import javax.xml.rpc.ParameterMode;
public class Client