You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by di...@apache.org on 2004/10/29 15:15:15 UTC
svn commit: rev 55968 - in incubator/beehive/trunk/wsm/src: api/javax/jws api/javax/jws/security api/javax/jws/soap runtime/org/apache/beehive/wsm/axis runtime/org/apache/beehive/wsm/axis/badtiger runtime/org/apache/beehive/wsm/axis/util runtime/org/apache/beehive/wsm/axis/util/encoding runtime/org/apache/beehive/wsm/jsr181/model runtime/org/apache/beehive/wsm/jsr181/processor/apt runtime/org/apache/beehive/wsm/jsr181/processor/reflection runtime/org/apache/beehive/wsm/jsr181/wsdl
Author: dims
Date: Fri Oct 29 06:15:13 2004
New Revision: 55968
Removed:
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/badtiger/EnumWrapper.java
Modified:
incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java
incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java
incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java
incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java
incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java
incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java
incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityIdentity.java
incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityRoles.java
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java
incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AnnotatedWebServiceDeploymentHandler.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ControlProvider.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DropInDeploymentHandler.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/ClasspathUtils.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializer.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializerFactory.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializer.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializerFactory.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializer.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializerFactory.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPBindingInfo.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPMessageHandlerInfo.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SecurityRolesInfo.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceMETHODMetadata.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServicePARAMETERMetadata.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/TwoPhaseAnnotationProcessor.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WebServiceMetadataViewer.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorFactory.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/WSDLProcessor.java
Log:
- Simple code cleanup (remove unused parameters)
- Remove unused imports
- Get rid of the EnumWrapper hack.
NOTE: testInvokeSOAPService in DropInDeploymentHandlerTest is failing :(
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/HandlerChain.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Associates the Web Service with an externally defined handler chain. This annotation is typically used in scenarios
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/Oneway.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Indicates that the given @WebMethod has only an input message and no output. Typically, a oneway method returns
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebMethod.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
-import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
/**
* Specifies that the given method is exposed as a Web Service operation, making it part of the Web Service�s public
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebParam.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Customizes the mapping of an individual parameter to a Web Service message part and XML element.
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebResult.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Customizes the mapping of the return value to a WSDL part and XML element.
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/WebService.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws;
-import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
/**
* Marks a Java class as implementing a Web Service, or a Java interface as defining a Web Service interface.
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityIdentity.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityIdentity.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityIdentity.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws.security;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Defines the identity the Web Service assumes during execution. Normally a Web Service assumes the identity of the
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityRoles.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityRoles.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/security/SecurityRoles.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws.security;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Defines the roles that are allowed to access the operations on the service. Roles may be applied at either
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPBinding.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws.soap;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Specifies the mapping of the Web Service onto the SOAP message protocol.
Modified: incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java (original)
+++ incubator/beehive/trunk/wsm/src/api/javax/jws/soap/SOAPMessageHandlers.java Fri Oct 29 06:15:13 2004
@@ -1,9 +1,9 @@
package javax.jws.soap;
+import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
/**
* Specifies a list of SOAP protocol handlers that run before and after business methods on the Web Service. These
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AnnotatedWebServiceDeploymentHandler.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AnnotatedWebServiceDeploymentHandler.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AnnotatedWebServiceDeploymentHandler.java Fri Oct 29 06:15:13 2004
@@ -20,25 +20,25 @@
*
*/
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
import org.apache.axis.AxisFault;
import org.apache.axis.Constants;
import org.apache.axis.MessageContext;
import org.apache.axis.client.Call;
import org.apache.axis.components.logger.LogFactory;
+import org.apache.axis.constants.Use;
import org.apache.axis.description.ServiceDesc;
import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.handlers.soap.SOAPService;
import org.apache.axis.providers.java.RPCProvider;
-import org.apache.beehive.wsm.axis.badtiger.EnumWrapper;
import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
import org.apache.beehive.wsm.jsr181.processor.reflection.WsmReflectionAnnotationProcessor;
import org.apache.commons.logging.Log;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
/*******************************************************************************
* A few annotation specific things added and lots of code copied from the
* JWSHandler class by
@@ -82,7 +82,7 @@
* to not send the types unless encoded.
*/
mc.setProperty(Call.SEND_TYPE_ATTR,
- new Boolean(EnumWrapper.ENCODED
+ new Boolean(Use.ENCODED
.equals(ss.getUse())));
// blow away the real path to bypass the regular JWSHandler
@@ -97,7 +97,7 @@
/**
* @param mc
- * throws AxisFault
+ * @throws AxisFault
*/
public void generateWSDL(MessageContext mc)
throws AxisFault
@@ -106,8 +106,8 @@
}
/**
- * @param
- * @return
+ * @param clazz
+ * @return SOAPService
* @throws Exception
*/
protected SOAPService createSOAPServiceFromAnnotatedClass(Class clazz)
@@ -198,7 +198,7 @@
*
* @param mc
* @return
- * @throws
+ * @throws Exception
*/
protected Class findWebServiceClass(MessageContext mc)
throws Exception
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java Fri Oct 29 06:15:13 2004
@@ -15,6 +15,20 @@
*/
package org.apache.beehive.wsm.axis;
+import java.io.File;
+import java.io.Serializable;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.Method;
+import java.rmi.Remote;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+
+import javax.jws.WebParam;
+import javax.wsdl.OperationType;
+import javax.xml.namespace.QName;
+
import org.apache.axis.description.FaultDesc;
import org.apache.axis.description.JavaServiceDesc;
import org.apache.axis.description.OperationDesc;
@@ -31,7 +45,8 @@
import org.apache.axis.utils.BeanPropertyDescriptor;
import org.apache.axis.wsdl.fromJava.Namespaces;
import org.apache.axis.wsdl.fromJava.Types;
-import org.apache.beehive.wsm.axis.badtiger.EnumWrapper;
+import org.apache.axis.constants.Style;
+import org.apache.axis.constants.Use;
import org.apache.beehive.wsm.axis.util.encoding.CollectionSerializerFactory;
import org.apache.beehive.wsm.axis.util.encoding.XmlBeanDeserializerFactory;
import org.apache.beehive.wsm.axis.util.encoding.XmlBeanSerializerFactory;
@@ -42,19 +57,6 @@
import org.apache.xmlbeans.XmlBeans;
import org.apache.xmlbeans.XmlObject;
-import javax.jws.WebParam;
-import javax.wsdl.OperationType;
-import javax.xml.namespace.QName;
-import java.io.File;
-import java.io.Serializable;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.Method;
-import java.rmi.Remote;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-
/*******************************************************************************
*
*
@@ -102,7 +104,6 @@
OperationDesc od = new OperationDesc();
- String javaMethodName = meth.getJavaMethodName();
od.setElementQName(new QName(operationName));
od.setName(operationName);
allowedMethods.add(operationName);
@@ -404,12 +405,12 @@
}
if (style == style.RPC) {
- sd.setStyle(EnumWrapper.RPC);
+ sd.setStyle(Style.RPC);
if (use == use.ENCODED) {
- sd.setUse(EnumWrapper.ENCODED);
+ sd.setUse(Use.ENCODED);
}
else {
- sd.setUse(EnumWrapper.LITERAL);
+ sd.setUse(Use.LITERAL);
}
}
else {
@@ -417,15 +418,15 @@
* since DOCUMENT ENCODED is not valid so
* force to use LITERAL
*/
- sd.setUse(EnumWrapper.LITERAL);
+ sd.setUse(Use.LITERAL);
// check if this is a wrapped document literal
if (paramStyle == paramStyle.WRAPPED) {
- sd.setStyle(EnumWrapper.WRAPPED);
+ sd.setStyle(Style.WRAPPED);
}
else {
// just regular document style
- sd.setStyle(EnumWrapper.DOCUMENT);
+ sd.setStyle(Style.DOCUMENT);
}
}
}
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ControlProvider.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ControlProvider.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/ControlProvider.java Fri Oct 29 06:15:13 2004
@@ -21,14 +21,14 @@
*/
package org.apache.beehive.wsm.axis;
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+
import org.apache.axis.MessageContext;
import org.apache.axis.providers.java.RPCProvider;
import org.apache.beehive.controls.api.bean.Control;
import org.apache.beehive.controls.api.context.ControlBeanContext;
import org.apache.beehive.controls.runtime.bean.ControlContainerContext;
-
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DeploymentDumper.java Fri Oct 29 06:15:13 2004
@@ -21,11 +21,20 @@
*/
package org.apache.beehive.wsm.axis;
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import java.util.Set;
+
import com.sun.tools.apt.main.Main;
import org.apache.axis.configuration.FileProvider;
import org.apache.axis.deployment.wsdd.WSDDDeployment;
import org.apache.axis.deployment.wsdd.WSDDOperation;
import org.apache.axis.deployment.wsdd.WSDDService;
+import org.apache.axis.deployment.wsdd.WSDDConstants;
import org.apache.axis.description.JavaServiceDesc;
import org.apache.axis.description.OperationDesc;
import org.apache.axis.encoding.SerializationContext;
@@ -33,14 +42,6 @@
import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
import org.apache.beehive.wsm.jsr181.processor.apt.WsmAnnotationProcessor;
-import java.io.FileOutputStream;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.Set;
-
/*******************************************************************************
*
*
@@ -123,7 +124,7 @@
wsds.setQName(new QName(sd.getDefaultNamespace(),
sd.getName()));
*/
- wsds.setProviderQName(wsds.QNAME_JAVARPC_PROVIDER);
+ wsds.setProviderQName(WSDDConstants.QNAME_JAVARPC_PROVIDER);
wsds.setUse(sd.getUse());
wsds.setStyle(sd.getStyle());
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DropInDeploymentHandler.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DropInDeploymentHandler.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/DropInDeploymentHandler.java Fri Oct 29 06:15:13 2004
@@ -20,9 +20,24 @@
*
*/
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.net.URL;
+import java.net.URLClassLoader;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
import org.apache.axis.AxisFault;
import org.apache.axis.Constants;
import org.apache.axis.MessageContext;
+import org.apache.axis.constants.Use;
import org.apache.axis.client.Call;
import org.apache.axis.components.logger.LogFactory;
import org.apache.axis.description.ServiceDesc;
@@ -32,7 +47,6 @@
import org.apache.axis.utils.ClassUtils;
import org.apache.axis.utils.Messages;
import org.apache.axis.utils.XMLUtils;
-import org.apache.beehive.wsm.axis.badtiger.EnumWrapper;
import org.apache.beehive.wsm.axis.util.ClasspathUtils;
import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
import org.apache.beehive.wsm.jsr181.processor.reflection.WsmReflectionAnnotationProcessor;
@@ -40,20 +54,6 @@
import org.w3c.dom.Document;
import org.w3c.dom.Element;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.net.URL;
-import java.net.URLClassLoader;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
/*******************************************************************************
* A few annotation specific things added and lots of code copied
* from the JWSHandler class by
@@ -98,7 +98,7 @@
* encoded.
*/
mc.setProperty(Call.SEND_TYPE_ATTR,
- new Boolean(EnumWrapper.ENCODED
+ new Boolean(Use.ENCODED
.equals(ss.getUse())));
// blow away the real path to bypass the regular JWSHandler
@@ -122,7 +122,7 @@
}
/**
- * @param
+ * @param clazz
* @return
* @throws Exception
*/
@@ -213,7 +213,7 @@
* Mostly taken from Axis code base.
* @param mc
* @return
- * @throws
+ * @throws Exception
*/
protected Class compileDroppedInSource(MessageContext mc)
throws Exception
@@ -375,7 +375,6 @@
protected int compile(String classpath, String outDirPath, String jFile)
throws Exception
{
- com.sun.tools.apt.Main apt = new com.sun.tools.apt.Main();
String[] args = {
"-verbose",
"-classpath", classpath, // classpath
@@ -385,7 +384,7 @@
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
- int result = apt.compile(args, pw);
+ int result = com.sun.tools.apt.Main.compile(args, pw);
if (0 != result) // todo evaluate the return code
{
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/ClasspathUtils.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/ClasspathUtils.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/ClasspathUtils.java Fri Oct 29 06:15:13 2004
@@ -19,10 +19,6 @@
*/
package org.apache.beehive.wsm.axis.util;
-import org.apache.axis.AxisProperties;
-import org.apache.axis.MessageContext;
-import org.apache.axis.transport.http.HTTPConstants;
-
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
@@ -35,6 +31,10 @@
import java.util.jar.JarFile;
import java.util.jar.JarInputStream;
import java.util.jar.Manifest;
+
+import org.apache.axis.AxisProperties;
+import org.apache.axis.MessageContext;
+import org.apache.axis.transport.http.HTTPConstants;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializer.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializer.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializer.java Fri Oct 29 06:15:13 2004
@@ -12,14 +12,15 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
-import org.apache.axis.encoding.SerializationContext;
-import org.apache.axis.encoding.ser.VectorSerializer;
-import org.xml.sax.Attributes;
-
-import javax.xml.namespace.QName;
import java.io.IOException;
import java.util.Collection;
import java.util.Vector;
+
+import javax.xml.namespace.QName;
+
+import org.apache.axis.encoding.SerializationContext;
+import org.apache.axis.encoding.ser.VectorSerializer;
+import org.xml.sax.Attributes;
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializerFactory.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializerFactory.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/CollectionSerializerFactory.java Fri Oct 29 06:15:13 2004
@@ -15,9 +15,9 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
-import org.apache.axis.encoding.ser.BaseSerializerFactory;
-
import javax.xml.namespace.QName;
+
+import org.apache.axis.encoding.ser.BaseSerializerFactory;
/******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializer.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializer.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializer.java Fri Oct 29 06:15:13 2004
@@ -21,6 +21,8 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
+import javax.xml.namespace.QName;
+
import org.apache.axis.encoding.DeserializationContext;
import org.apache.axis.encoding.DeserializerImpl;
import org.apache.axis.message.MessageElement;
@@ -30,8 +32,6 @@
import org.apache.xmlbeans.XmlOptions;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
-
-import javax.xml.namespace.QName;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializerFactory.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializerFactory.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanDeserializerFactory.java Fri Oct 29 06:15:13 2004
@@ -21,9 +21,9 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
-import org.apache.axis.encoding.ser.BaseDeserializerFactory;
-
import javax.xml.namespace.QName;
+
+import org.apache.axis.encoding.ser.BaseDeserializerFactory;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializer.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializer.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializer.java Fri Oct 29 06:15:13 2004
@@ -19,6 +19,13 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.HashSet;
+import java.util.Set;
+
+import javax.xml.namespace.QName;
+
import org.apache.axis.Constants;
import org.apache.axis.encoding.SerializationContext;
import org.apache.axis.encoding.Serializer;
@@ -37,12 +44,6 @@
import org.xml.sax.Attributes;
import org.xmlsoap.schemas.wsdl.DefinitionsDocument;
import org.xmlsoap.schemas.wsdl.TDefinitions;
-
-import javax.xml.namespace.QName;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.HashSet;
-import java.util.Set;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializerFactory.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializerFactory.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/util/encoding/XmlBeanSerializerFactory.java Fri Oct 29 06:15:13 2004
@@ -21,9 +21,9 @@
*/
package org.apache.beehive.wsm.axis.util.encoding;
-import org.apache.axis.encoding.ser.BaseSerializerFactory;
-
import javax.xml.namespace.QName;
+
+import org.apache.axis.encoding.ser.BaseSerializerFactory;
/*******************************************************************************
*
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPBindingInfo.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPBindingInfo.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPBindingInfo.java Fri Oct 29 06:15:13 2004
@@ -73,7 +73,6 @@
}
/**
* @param annotation
- * @return
*/
private void initFromAnnotation(SOAPBinding annotation) {
setStyle(annotation.style());
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPMessageHandlerInfo.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPMessageHandlerInfo.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SOAPMessageHandlerInfo.java Fri Oct 29 06:15:13 2004
@@ -18,8 +18,6 @@
* $Header:$
*/
-import javax.jws.soap.InitParam;
-import javax.jws.soap.SOAPMessageHandler;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -27,6 +25,9 @@
import java.util.HashMap;
import java.util.Map;
+import javax.jws.soap.InitParam;
+import javax.jws.soap.SOAPMessageHandler;
+
public class SOAPMessageHandlerInfo
{
String name;
@@ -110,7 +111,7 @@
this.headers.add(header);
}
/**
- * @param collection
+ * @param headers
*/
private void addHeaders(Collection<String> headers) {
this.headers.addAll(headers);
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SecurityRolesInfo.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SecurityRolesInfo.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/SecurityRolesInfo.java Fri Oct 29 06:15:13 2004
@@ -1,10 +1,11 @@
package org.apache.beehive.wsm.jsr181.model;
-import javax.jws.security.SecurityRoles;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
+
+import javax.jws.security.SecurityRoles;
/*
* Copyright 2004 The Apache Software Foundation
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceMETHODMetadata.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceMETHODMetadata.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceMETHODMetadata.java Fri Oct 29 06:15:13 2004
@@ -18,17 +18,18 @@
* $Header:$
*/
-import javax.jws.Oneway;
-import javax.jws.WebMethod;
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.security.SecurityRoles;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.security.SecurityRoles;
+
public class WebServiceMETHODMetadata extends AnnotationModel
{
private String wmOperationName;
@@ -38,7 +39,6 @@
new ArrayList<WebServicePARAMETERMetadata>();
private String wrName;
private String wrTargetNamespace;
- private SOAPBindingInfo soapBinding;
private SecurityRolesInfo securityRoles;
private String javaMethodName;
private Class javaReturnType;
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServicePARAMETERMetadata.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServicePARAMETERMetadata.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServicePARAMETERMetadata.java Fri Oct 29 06:15:13 2004
@@ -18,10 +18,11 @@
* $Header:$
*/
-import javax.jws.WebParam;
import java.lang.annotation.Annotation;
import java.util.Collection;
+import javax.jws.WebParam;
+
public class WebServicePARAMETERMetadata extends AnnotationModel
{
private String wpName;
@@ -29,7 +30,6 @@
private WebParam.Mode wpMode;
private boolean wpHeader;
private Class javaType;
- private String defaultName;
public void validate() throws ValidationException
{
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/model/WebServiceTYPEMetadata.java Fri Oct 29 06:15:13 2004
@@ -18,23 +18,6 @@
* $Header:$Factory
*/
-import org.apache.beehive.wsm.jsr181.wsdl.WSDLProcessor;
-import org.apache.xmlbeans.XmlException;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xmlsoap.schemas.wsdl.DefinitionsDocument;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebService;
-import javax.jws.security.SecurityIdentity;
-import javax.jws.security.SecurityRoles;
-import javax.jws.soap.SOAPBinding;
-import javax.jws.soap.SOAPMessageHandler;
-import javax.jws.soap.SOAPMessageHandlers;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
@@ -47,6 +30,24 @@
import java.util.List;
import java.util.Map;
+import javax.jws.HandlerChain;
+import javax.jws.WebService;
+import javax.jws.security.SecurityIdentity;
+import javax.jws.security.SecurityRoles;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.soap.SOAPMessageHandler;
+import javax.jws.soap.SOAPMessageHandlers;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.beehive.wsm.jsr181.wsdl.WSDLProcessor;
+import org.apache.xmlbeans.XmlException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xmlsoap.schemas.wsdl.DefinitionsDocument;
+
public class WebServiceTYPEMetadata extends AnnotationModel
{
private String wsName;
@@ -86,8 +87,8 @@
* @param sibClassName The fully-qualified name of the service
* implementation bean class.
* @param annotations All annotations (including @WebService) of the
- * service endpoint interface if it exists; all annotations (including
- * @WebService) of the service implementation bean otherwise.
+ * service endpoint interface if it exists; all annotations
+ * (including @WebService) of the service implementation bean otherwise.
* @param webMethods All methods that are published by the service.
* @throws Exception
*/
@@ -492,8 +493,7 @@
/**
* Checks whether the implementation bean implements all the methods
* specified in the endpointInterface.
- * @return
- * @throws
+ * @throws ValidationException
*/
public void validate() throws ValidationException
{
@@ -652,7 +652,7 @@
}
/**
- * @param siRunAs
+ * @param siValue
* The siRunAs to set.
*/
public void setSiValue(String siValue) {
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/TwoPhaseAnnotationProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/TwoPhaseAnnotationProcessor.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/TwoPhaseAnnotationProcessor.java Fri Oct 29 06:15:13 2004
@@ -18,14 +18,14 @@
* $Header:$
*/
+import java.util.Collection;
+import java.util.Set;
+
import com.sun.mirror.apt.AnnotationProcessor;
import com.sun.mirror.apt.AnnotationProcessorEnvironment;
import com.sun.mirror.declaration.AnnotationTypeDeclaration;
import com.sun.mirror.declaration.Declaration;
import org.apache.beehive.wsm.jsr181.processor.ProcessorException;
-
-import java.util.Collection;
-import java.util.Set;
/**
* The TwoPhaseAnnotationProcessor class is an abstract class that implements the APT
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WebServiceMetadataViewer.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WebServiceMetadataViewer.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WebServiceMetadataViewer.java Fri Oct 29 06:15:13 2004
@@ -18,13 +18,13 @@
* $Header:$
*/
+import java.util.Collection;
+
import org.apache.beehive.wsm.jsr181.model.SOAPBindingInfo;
import org.apache.beehive.wsm.jsr181.model.SecurityRolesInfo;
import org.apache.beehive.wsm.jsr181.model.WebServiceMETHODMetadata;
import org.apache.beehive.wsm.jsr181.model.WebServicePARAMETERMetadata;
import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
-
-import java.util.Collection;
public class WebServiceMetadataViewer {
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessor.java Fri Oct 29 06:15:13 2004
@@ -18,6 +18,14 @@
* $Header:$
*/
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
import com.sun.mirror.apt.AnnotationProcessorEnvironment;
import com.sun.mirror.declaration.AnnotationMirror;
import com.sun.mirror.declaration.AnnotationTypeDeclaration;
@@ -34,14 +42,6 @@
import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
import org.apache.beehive.wsm.jsr181.processor.ProcessorException;
-import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
public class WsmAnnotationProcessor extends TwoPhaseAnnotationProcessor
{
/**
@@ -120,7 +120,7 @@
* Check object model for implementation beans.
* @param decl
* @param ws
- * @returns
+ * @return AnnotationModel
*/
protected AnnotationModel checkObjectModel(TypeDeclaration decl, javax.jws.WebService ws)
{
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorFactory.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorFactory.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/apt/WsmAnnotationProcessorFactory.java Fri Oct 29 06:15:13 2004
@@ -18,16 +18,16 @@
* $Header:$
*/
-import com.sun.mirror.apt.AnnotationProcessor;
-import com.sun.mirror.apt.AnnotationProcessorEnvironment;
-import com.sun.mirror.apt.AnnotationProcessorFactory;
-import com.sun.mirror.declaration.AnnotationTypeDeclaration;
-
import static java.util.Arrays.asList;
import java.util.Collection;
-import static java.util.Collections.unmodifiableCollection;
import static java.util.Collections.emptySet;
+import static java.util.Collections.unmodifiableCollection;
import java.util.Set;
+
+import com.sun.mirror.apt.AnnotationProcessor;
+import com.sun.mirror.apt.AnnotationProcessorEnvironment;
+import com.sun.mirror.apt.AnnotationProcessorFactory;
+import com.sun.mirror.declaration.AnnotationTypeDeclaration;
public class WsmAnnotationProcessorFactory implements AnnotationProcessorFactory
{
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/processor/reflection/WsmReflectionAnnotationProcessor.java Fri Oct 29 06:15:13 2004
@@ -18,13 +18,6 @@
* $Header:$
*/
-import org.apache.beehive.wsm.jsr181.model.AnnotationModel;
-import org.apache.beehive.wsm.jsr181.model.WebServiceMETHODMetadata;
-import org.apache.beehive.wsm.jsr181.model.WebServicePARAMETERMetadata;
-import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
@@ -32,6 +25,14 @@
import java.util.Collection;
import java.util.List;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+import org.apache.beehive.wsm.jsr181.model.AnnotationModel;
+import org.apache.beehive.wsm.jsr181.model.WebServiceMETHODMetadata;
+import org.apache.beehive.wsm.jsr181.model.WebServicePARAMETERMetadata;
+import org.apache.beehive.wsm.jsr181.model.WebServiceTYPEMetadata;
+
public class WsmReflectionAnnotationProcessor
{
private static WsmReflectionAnnotationProcessor _instance;
@@ -53,7 +54,7 @@
/**
* Create object model from class.
- * @param clazz Service implementation bean class.
+ * @param sibClass Service implementation bean class.
* @return
*/
public AnnotationModel getObjectModel(Class sibClass)
@@ -89,13 +90,12 @@
// webMethods
Collection<WebServiceMETHODMetadata> webMethods =
new ArrayList<WebServiceMETHODMetadata>();
- String className;
+
Collection<Annotation> annotations;
if (hasServiceEndpointInterface)
{
try {
Class seiClass = Class.forName(wsAnnotation.endpointInterface());
- Collection<Method> _methods = Arrays.asList(sibClass.getMethods());
for (Method method : Arrays.asList(seiClass.getMethods()))
{
webMethods.add(getWebServiceMETHODMetadata(method));
Modified: incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/WSDLProcessor.java
==============================================================================
--- incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/WSDLProcessor.java (original)
+++ incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/jsr181/wsdl/WSDLProcessor.java Fri Oct 29 06:15:13 2004
@@ -18,6 +18,21 @@
package org.apache.beehive.wsm.jsr181.wsdl;
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.Array;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import javax.jws.WebParam;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.namespace.QName;
+
import org.apache.beehive.wsm.jsr181.model.SOAPBindingInfo;
import org.apache.beehive.wsm.jsr181.model.WebServiceMETHODMetadata;
import org.apache.beehive.wsm.jsr181.model.WebServicePARAMETERMetadata;
@@ -40,20 +55,6 @@
import org.xmlsoap.schemas.wsdl.TService;
import org.xmlsoap.schemas.wsdl.soap.TStyleChoice;
import org.xmlsoap.schemas.wsdl.soap.UseChoice;
-
-import javax.jws.WebParam;
-import javax.jws.soap.SOAPBinding;
-import javax.xml.namespace.QName;
-import java.io.File;
-import java.io.IOException;
-import java.lang.reflect.Array;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
/*******************************************************************************
*