You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2004/12/16 13:21:52 UTC
svn commit: r122548 - in webservices/axis/trunk/java/dev/scratch/prototype2/src: java/org/apache/axis/client java/org/apache/axis/description java/org/apache/axis/impl/description java/org/apache/axis/impl/transport/http java/org/apache/axis/transport java/org/apache/axis/wsdl/wsdltowom java/org/apache/wsdl java/org/apache/wsdl/impl java/org/apache/wsdl/util test/org/apache/wsdl
Author: hemapani
Date: Thu Dec 16 04:21:46 2004
New Revision: 122548
URL: http://svn.apache.org/viewcvs?view=rev&rev=122548
Log:
removing more author tags and commneting
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java
webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/client/Call.java Thu Dec 16 04:21:46 2004
@@ -165,6 +165,35 @@
}
}
+ public void completeAsyncCall(OMElement in, URL url, final CallBack callback) throws AxisFault {
+ try {
+ final URLConnection urlConnect = url.openConnection();
+ final AxisEngine engine = new AxisEngine(registry);
+ urlConnect.setDoOutput(true);
+
+ SOAPEnvelope env = OMFactory.newInstance().getDefaultEnvelope();
+
+ env.getBody().addChild(in);
+
+ MessageContext msgctx = new MessageContext(registry);
+ msgctx.setEnvelope(env);
+
+ OutputStream out = urlConnect.getOutputStream();
+ msgctx.setProperty(MessageContext.TRANSPORT_DATA, out);
+ msgctx.setProperty(MessageContext.TRANSPORT_TYPE, TransportSenderLocator.TRANSPORT_HTTP);
+ msgctx.setProperty(MessageContext.REQUEST_URL, url);
+
+ engine.send(msgctx);
+ //TODO
+ //Corelater.corealte(msgID,callback);
+ //e.g. TransportReciverFactory.startReciverIfNotYetStrated();
+ throw new UnsupportedOperationException();
+ } catch (OMException e) {
+ throw AxisFault.makeFault(e);
+ } catch (IOException e) {
+ throw AxisFault.makeFault(e);
+ }
+ }
private MessageContext createIncomingMessageContext(InputStream in, AxisEngine engine) throws AxisFault {
MessageContext msgContext;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisGlobal.java Thu Dec 16 04:21:46 2004
@@ -16,23 +16,44 @@
package org.apache.axis.description;
import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Vector;
+
+import javax.xml.namespace.QName;
import org.apache.axis.engine.AxisFault;
import org.apache.axis.impl.description.ParameterIncludeImpl;
import org.apache.axis.impl.description.PhasesIncludeImpl;
/**
- * @author Srinath Perera(hemapani@opensource.lk)
+ * <p>This holds the information shown in the global scope. The information are all
+ * that not goes in to the Transport or a Service. This has two types of Info. </p>
+ * <ol>
+ * <li>parameters<li>
+ * <li>ordered phases<li>
+ * <li>names of modules that are ref by the server.xml file, real modues are in the
+ * Registry.<li>
+ * <ol>
+ * <p>Note: handlers in the server.xml file are not suported for M1, only way to put a
+ * global handler is via a modules</p>
*/
public class AxisGlobal implements ParameterInclude,PhasesInclude {
protected ParameterInclude paramInclude;
protected PhasesInclude phasesInclude;
+ protected Vector modules;
public AxisGlobal(){
paramInclude = new ParameterIncludeImpl();
phasesInclude = new PhasesIncludeImpl();
}
+ public void addModule(QName moduleref) {
+ modules.add(moduleref);
+ }
+ public Collection getModules() {
+ return modules;
+ }
+
public Parameter getParameter(String name) {
return paramInclude.getParameter(name);
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisModule.java Thu Dec 16 04:21:46 2004
@@ -21,10 +21,16 @@
import org.apache.axis.impl.description.ParameterIncludeImpl;
/**
- * @author chathura@opensource.lk
- *
+ * <p>This holds the information about a Module. </p>
+ * <ol>
+ * <li>parameters<li>
+ * <li>handlers<li>
+ * <ol>
+ * <p>Handler are registered once they are avlible but they avalibe to all services if server.xml
+ * has a module ref="." or avalible to a single service if service.xml have module ref=".."</p>
*/
public class AxisModule implements FlowInclude,ParameterInclude{
+
private QName name;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisOperation.java Thu Dec 16 04:21:46 2004
@@ -16,21 +16,8 @@
package org.apache.axis.description;
import org.apache.wsdl.WSDLOperation;
-
/**
- * @author chathura@opensource.lk
- *
+ * for the time been operation can have only the parameters
*/
public interface AxisOperation extends WSDLOperation,ParameterInclude {
-// public Flow getInFlow();
-//
-// public void setInflow(Flow inFlow);
-//
-// public Flow getOutFlow();
-//
-// public void setOutFlow(Flow outFlow);
-//
-// public Flow getFaultFlow();
-//
-// public void setFaultFlow();
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisService.java Thu Dec 16 04:21:46 2004
@@ -24,8 +24,7 @@
import org.apache.wsdl.WSDLService;
/**
- * @author chathura@opensource.lk
- *
+ * <p>represent a implemented web service</p>
*/
public interface AxisService extends WSDLService,ParameterInclude,FlowInclude,PhasesInclude {
//modules
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/AxisTransport.java Thu Dec 16 04:21:46 2004
@@ -24,7 +24,7 @@
import org.apache.axis.impl.description.PhasesIncludeImpl;
/**
- * @author Srinath Perera(hemapani@opensource.lk)
+ * Represents a transport deployed in AXis2
*/
public class AxisTransport implements ParameterInclude,PhasesInclude {
protected ParameterInclude paramInclude;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/FlowInclude.java Thu Dec 16 04:21:46 2004
@@ -16,9 +16,6 @@
package org.apache.axis.description;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public interface FlowInclude {
//Flow include
public Flow getInFlow();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/HandlerMetaData.java Thu Dec 16 04:21:46 2004
@@ -21,7 +21,7 @@
import org.apache.axis.impl.description.ParameterIncludeImpl;
/**
- * @author Srinath Perera(hemapani@opensource.lk)
+ * represent the deployment information about the handler
*/
public class HandlerMetaData implements ParameterInclude{
private ParameterInclude parameterInclude;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/ParameterInclude.java Thu Dec 16 04:21:46 2004
@@ -16,9 +16,6 @@
package org.apache.axis.description;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public interface ParameterInclude {
//parameters
public void addParameter(Parameter param);
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/description/PhaseRule.java Thu Dec 16 04:21:46 2004
@@ -15,9 +15,6 @@
*/
package org.apache.axis.description;
-/**
- * @author Deepal Jayasinghe
- */
public class PhaseRule {
//can be either name of phase or handler
private String before;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowImpl.java Thu Dec 16 04:21:46 2004
@@ -21,9 +21,6 @@
import org.apache.axis.description.Flow;
import org.apache.axis.description.HandlerMetaData;
-/**
- * @author hemapani@opensource.lk
- */
public class FlowImpl implements Flow {
protected Vector list = null;
public FlowImpl(){
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/FlowIncludeImpl.java Thu Dec 16 04:21:46 2004
@@ -18,9 +18,6 @@
import org.apache.axis.description.Flow;
import org.apache.axis.description.FlowInclude;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class FlowIncludeImpl implements FlowInclude{
private Flow in;
private Flow out;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterImpl.java Thu Dec 16 04:21:46 2004
@@ -17,12 +17,6 @@
import org.apache.axis.description.Parameter;
-
-
-
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class ParameterImpl implements Parameter {
private String name;
private String value;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/ParameterIncludeImpl.java Thu Dec 16 04:21:46 2004
@@ -20,9 +20,6 @@
import org.apache.axis.description.Parameter;
import org.apache.axis.description.ParameterInclude;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class ParameterIncludeImpl implements ParameterInclude {
protected HashMap parmeters;
public ParameterIncludeImpl(){
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisOperationImpl.java Thu Dec 16 04:21:46 2004
@@ -29,9 +29,6 @@
import org.apache.wsdl.WSDLProperty;
import org.apache.wsdl.impl.WSDLOperationImpl;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class SimpleAxisOperationImpl implements AxisOperation {
protected WSDLOperation wsdlOperation;
protected ParameterInclude parameters;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/description/SimpleAxisServiceImpl.java Thu Dec 16 04:21:46 2004
@@ -38,9 +38,6 @@
import org.apache.wsdl.WSDLService;
import org.apache.wsdl.impl.WSDLServiceImpl;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class SimpleAxisServiceImpl implements AxisService {
protected PhasesInclude phaseInclude;
protected WSDLService wsdlService;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/impl/transport/http/SimpleHTTPReceiver.java Thu Dec 16 04:21:46 2004
@@ -16,7 +16,18 @@
package org.apache.axis.impl.transport.http;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
+
import org.apache.axis.context.MessageContext;
+import org.apache.axis.deployment.DeploymentEngine;
+import org.apache.axis.deployment.DeploymentException;
import org.apache.axis.engine.AxisEngine;
import org.apache.axis.engine.AxisFault;
import org.apache.axis.engine.EngineRegistry;
@@ -25,18 +36,11 @@
import org.apache.axis.impl.llom.builder.StAXSOAPModelBuilder;
import org.apache.axis.om.OMFactory;
import org.apache.axis.om.SOAPEnvelope;
+import org.apache.axis.phaseresolver.PhaseException;
import org.apache.axis.transport.AbstractTransportReceiver;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamException;
-import javax.xml.stream.XMLStreamReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.OutputStream;
-
public class SimpleHTTPReceiver extends AbstractTransportReceiver implements Runnable {
protected static Log log =
@@ -142,6 +146,24 @@
*/
public SimpleHTTPReceiver(AxisEngine myAxisServer) {
super(myAxisServer);
+
+
+
+
+ }
+
+ public SimpleHTTPReceiver(String dir) throws AxisFault {
+ try {
+ DeploymentEngine deploymentEngine = new DeploymentEngine(dir);
+ EngineRegistry er = deploymentEngine.start();
+ this.engine = new AxisEngine(er);
+ } catch (PhaseException e) {
+ throw AxisFault.makeFault(e);
+ } catch (DeploymentException e) {
+ throw AxisFault.makeFault(e);
+ } catch (XMLStreamException e) {
+ throw AxisFault.makeFault(e);
+ }
}
/**
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/transport/AbstractTransportReceiver.java Thu Dec 16 04:21:46 2004
@@ -56,6 +56,9 @@
this.engine = myAxisServer;
}
+
+ public AbstractTransportReceiver() {
+ }
/**
* stop the server if not already told to.
@@ -85,6 +88,9 @@
break;
}
if (socket != null) {
+ if(engine == null){
+ throw new AxisFault("Engine Must be null");
+ }
MessageContext msgContext = parseTheTransport(engine, socket.getInputStream());
storeOutputInfo(msgContext, socket.getOutputStream());
engine.receive(msgContext);
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/Parser.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.axis.wsdl.wsdltowom;
-/**
- * @author chathura@opensource.lk
- *
- */
public class Parser {
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilder.java Thu Dec 16 04:21:46 2004
@@ -21,10 +21,6 @@
import org.apache.wsdl.WSDLDefinitions;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WOMBuilder {
public WSDLDefinitions build(InputStream in)throws WSDLException;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WOMBuilderFactory.java Thu Dec 16 04:21:46 2004
@@ -26,10 +26,6 @@
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WOMBuilderFactory {
private static final int WSDL11 = 1;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL1ToWOMBuilder.java Thu Dec 16 04:21:46 2004
@@ -30,10 +30,6 @@
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDL1ToWOMBuilder implements WOMBuilder {
public WSDLDefinitions build(InputStream in)throws WSDLException{
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL2ToWOMBuilder.java Thu Dec 16 04:21:46 2004
@@ -21,10 +21,6 @@
import org.apache.wsdl.WSDLDefinitions;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDL2ToWOMBuilder implements WOMBuilder{
public WSDLDefinitions build(InputStream in ) throws WSDLException{
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDL4JtoWOMPump.java Thu Dec 16 04:21:46 2004
@@ -23,10 +23,6 @@
import org.apache.wsdl.WSDLDefinitions;
import org.apache.wsdl.WSDLInterface;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDL4JtoWOMPump {
public void pump(WSDLDefinitions wsdlDefinitiios, Definition wsdl4jDefinition){
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/axis/wsdl/wsdltowom/WSDLPump.java Thu Dec 16 04:21:46 2004
@@ -44,10 +44,6 @@
import org.apache.wsdl.impl.WSDLProcessingException;
import org.apache.wsdl.impl.WSDLServiceImpl;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLPump {
private WSDLDefinitions womDefinition;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/Component.java Thu Dec 16 04:21:46 2004
@@ -17,10 +17,6 @@
import java.util.HashMap;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface Component {
/**
* Returns the properties that are specific to this WSDL Component.
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/ExtensibleComponent.java Thu Dec 16 04:21:46 2004
@@ -18,10 +18,6 @@
import java.util.List;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface ExtensibleComponent extends Component{
/**
* Will add a <code>WSDLFeature</code> to the feature list.
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/FaultReference.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.wsdl;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface FaultReference extends Component{
/**
* Returns the direction of the Fault according the MEP
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/MessageReference.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.wsdl;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface MessageReference extends ExtensibleComponent{
public String getDirection();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLBinding.java Thu Dec 16 04:21:46 2004
@@ -21,10 +21,6 @@
import javax.xml.namespace.QName;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLBinding extends ExtensibleComponent{
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLConstants.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.wsdl;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLConstants {
public static final String WSDL2_0_NAMESPACE =
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLDefinitions.java Thu Dec 16 04:21:46 2004
@@ -20,10 +20,6 @@
import javax.xml.namespace.QName;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLDefinitions extends Component{
/**
* Returns a Map of <code>WSDLBindings</code> Objects keyed by the <code>QName</code>
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLEndpoint.java Thu Dec 16 04:21:46 2004
@@ -17,11 +17,6 @@
import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLEndpoint extends Component{
public WSDLBinding getBinding();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFault.java Thu Dec 16 04:21:46 2004
@@ -17,10 +17,6 @@
import org.w3c.dom.Element;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLFault extends Component{
public Element getElement();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLFeature.java Thu Dec 16 04:21:46 2004
@@ -16,10 +16,6 @@
package org.apache.wsdl;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLFeature extends Component{
public String getName();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLInterface.java Thu Dec 16 04:21:46 2004
@@ -21,10 +21,6 @@
import javax.xml.namespace.QName;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLInterface extends ExtensibleComponent{
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLOperation.java Thu Dec 16 04:21:46 2004
@@ -19,13 +19,7 @@
import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- *
- */
-public interface WSDLOperation extends ExtensibleComponent{
-
+public interface WSDLOperation extends ExtensibleComponent {
public List getInfaults();
@@ -61,5 +55,4 @@
public String getTargetnemespace();
-
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLProperty.java Thu Dec 16 04:21:46 2004
@@ -15,11 +15,6 @@
*/
package org.apache.wsdl;
-
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLProperty extends Component{
public Object getConstraint();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/WSDLService.java Thu Dec 16 04:21:46 2004
@@ -19,11 +19,6 @@
import javax.xml.namespace.QName;
-
-/**
- * @author chathura@opensource.lk
- *
- */
public interface WSDLService extends Component{
public HashMap getEndpoints();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ComponentImpl.java Thu Dec 16 04:21:46 2004
@@ -20,13 +20,6 @@
import org.apache.wsdl.Component;
import org.apache.wsdl.WSDLConstants;
-
-
-
-/**
- * @author Chathura Herath
- *
- */
public class ComponentImpl implements WSDLConstants, Component{
protected HashMap componentProperties = new HashMap();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/ExtensibleComponentImpl.java Thu Dec 16 04:21:46 2004
@@ -22,10 +22,6 @@
import org.apache.wsdl.WSDLFeature;
import org.apache.wsdl.WSDLProperty;
-/**
- * @author chathura@opensource.lk
- *
- */
public class ExtensibleComponentImpl extends ComponentImpl implements ExtensibleComponent {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/FaultReferenceImpl.java Thu Dec 16 04:21:46 2004
@@ -17,10 +17,6 @@
import org.apache.wsdl.FaultReference;
-/**
- * @author chathura@opensource.lk
- *
- */
public class FaultReferenceImpl extends ComponentImpl implements FaultReference {
//TODO make it a QNAME
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/MessageReferenceImpl.java Thu Dec 16 04:21:46 2004
@@ -18,10 +18,6 @@
import org.apache.wsdl.MessageReference;
-/**
- * @author Chathura Herath
- *
- */
public class MessageReferenceImpl extends ExtensibleComponentImpl implements MessageReference {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WDSLPropertyImpl.java Thu Dec 16 04:21:46 2004
@@ -17,13 +17,7 @@
import org.apache.wsdl.WSDLProperty;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WDSLPropertyImpl extends ComponentImpl implements WSDLProperty {
-
-
private String uri;
//TODO replace with the data binding object structure
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLBindingImpl.java Thu Dec 16 04:21:46 2004
@@ -23,55 +23,48 @@
import org.apache.wsdl.WSDLBinding;
import org.apache.wsdl.WSDLInterface;
-/**
- * @author chathura@opensource.lk
- *
- */
-public class WSDLBindingImpl extends ExtensibleComponentImpl implements WSDLBinding {
-
- private QName name;
-
- private URI targetNameSpace;
-
- private WSDLInterface boundInterface;
-
- private List faults;
-
- private List operations;
-
-
-
-
-
-
- public WSDLInterface getBoundInterface() {
- return boundInterface;
- }
- public void setBoundInterface(WSDLInterface boundInterface) {
- this.boundInterface = boundInterface;
- }
- public List getFaults() {
- return faults;
- }
- public void setFaults(List faults) {
- this.faults = faults;
- }
- public QName getName() {
- return name;
- }
- public void setName(QName name) {
- this.name = name;
- }
- public List getOperations() {
- return operations;
- }
- public void setOperations(List operations) {
- this.operations = operations;
- }
- public URI getTargetNameSpace() {
- return targetNameSpace;
- }
- public void setTargetNameSpace(URI targetNameSpace) {
- this.targetNameSpace = targetNameSpace;
- }
+public class WSDLBindingImpl
+ extends ExtensibleComponentImpl
+ implements WSDLBinding {
+
+ private QName name;
+
+ private URI targetNameSpace;
+
+ private WSDLInterface boundInterface;
+
+ private List faults;
+
+ private List operations;
+
+ public WSDLInterface getBoundInterface() {
+ return boundInterface;
+ }
+ public void setBoundInterface(WSDLInterface boundInterface) {
+ this.boundInterface = boundInterface;
+ }
+ public List getFaults() {
+ return faults;
+ }
+ public void setFaults(List faults) {
+ this.faults = faults;
+ }
+ public QName getName() {
+ return name;
+ }
+ public void setName(QName name) {
+ this.name = name;
+ }
+ public List getOperations() {
+ return operations;
+ }
+ public void setOperations(List operations) {
+ this.operations = operations;
+ }
+ public URI getTargetNameSpace() {
+ return targetNameSpace;
+ }
+ public void setTargetNameSpace(URI targetNameSpace) {
+ this.targetNameSpace = targetNameSpace;
+ }
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLDefinitionsImpl.java Thu Dec 16 04:21:46 2004
@@ -27,10 +27,6 @@
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLDefinitionsImpl extends ComponentImpl implements WSDLDefinitions {
/**
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLEndpointImpl.java Thu Dec 16 04:21:46 2004
@@ -20,12 +20,6 @@
import org.apache.wsdl.WSDLBinding;
import org.apache.wsdl.WSDLEndpoint;
-
-
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLEndpointImpl extends ComponentImpl implements WSDLEndpoint {
private QName name;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFaultImpl.java Thu Dec 16 04:21:46 2004
@@ -18,10 +18,6 @@
import org.apache.wsdl.WSDLFault;
import org.w3c.dom.Element;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLFaultImpl extends ComponentImpl implements WSDLFault {
//TODO its a NCName so parse it. and this is required
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLFeatureImpl.java Thu Dec 16 04:21:46 2004
@@ -17,10 +17,6 @@
import org.apache.wsdl.WSDLFeature;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLFeatureImpl extends ComponentImpl implements WSDLFeature {
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLInterfaceImpl.java Thu Dec 16 04:21:46 2004
@@ -22,210 +22,212 @@
import javax.xml.namespace.QName;
-
import org.apache.wsdl.WSDLInterface;
import org.apache.wsdl.WSDLOperation;
+public class WSDLInterfaceImpl
+ extends ExtensibleComponentImpl
+ implements WSDLInterface {
+
+ private QName name;
+
+ private HashMap superInterfaces = new HashMap();
+
+ private List faults = new LinkedList();
+
+ private HashMap operations = new HashMap();
+ private String styleDefault;
+ public HashMap getDefinedOperations() {
+
+ return this.operations;
+
+ }
+ /**
+ * Will return a map of all this <code>WSDLOperation</code>s that
+ * are defined and inherited from super interfaces.
+ */
+ public HashMap getAllOperations() {
+
+ HashMap all = (HashMap) this.operations.clone();
+
+ if (this.superInterfaces.size() == 0) {
+ return all;
+ } else {
+ Iterator superIterator = this.superInterfaces.values().iterator();
+ Iterator operationIterator;
+ WSDLInterface superInterface;
+ WSDLOperation superInterfaceOperation;
+ Iterator thisIterator = all.values().iterator();
+ WSDLOperation thisOperation;
+ boolean tobeAdded = false;
+ while (superIterator.hasNext()) {
+ superInterface = (WSDLInterface) superIterator.next();
+ operationIterator =
+ superInterface.getAllOperations().values().iterator();
+ while (operationIterator.hasNext()) {
+ superInterfaceOperation =
+ (WSDLOperation) operationIterator.next();
+ tobeAdded = true;
+ while (thisIterator.hasNext()) {
+ thisOperation = (WSDLOperation) thisIterator.next();
+
+ if (thisOperation.getName()
+ == superInterfaceOperation.getName()
+ && !tobeAdded) {
+ if (thisOperation
+ .getTargetnemespace()
+ .equals(
+ superInterfaceOperation
+ .getTargetnemespace())) {
+ //Both are the same Operation; the one inherited and
+ //the one that is already in the map(may or maynot be inherited)
+ tobeAdded = false;
+ } else {
+ //same name but target namespces dont match
+ //TODO Think this is an error
+ throw new WSDLProcessingException(
+ "The Interface "
+ + this.getName()
+ + " has more than one Operation that has the same name but not the same interface ");
+ }
+ }
+ }
+ if (tobeAdded) {
+ //This one is not in the list already developped
+ all.put(
+ superInterfaceOperation.getName(),
+ superInterfaceOperation);
+ }
+
+ }
+ }
+ return all;
+
+ }
+ }
+ /**
+ * @return
+ */
+ public List getFaults() {
+ return faults;
+ }
+
+ /**
+ * @return
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * @return
+ */
+ public HashMap getOperations() {
+ return operations;
+ }
+
+ /**
+ * Retruns the <code>WSDLOperation</code>
+ */
+ public WSDLOperation getOperation(String nCName) {
+ Object temp = this.operations.get(nCName);
+ if (null == temp)
+ throw new WSDLProcessingException(
+ "No Operation found with the QName with ncname/ ncname with "
+ + nCName);
+ return (WSDLOperation) temp;
+ }
+
+ /**
+ * @return
+ */
+ public HashMap getSuperInterfaces() {
+ return superInterfaces;
+ }
-/**
- * @author Chathura Herath
- *
- */
-public class WSDLInterfaceImpl extends ExtensibleComponentImpl implements WSDLInterface {
-
-
- private QName name;
-
-
- private HashMap superInterfaces = new HashMap();
-
- private List faults = new LinkedList();
-
- private HashMap operations = new HashMap();
-
-
-
- private String styleDefault;
-
-
-
-
-
-
- public HashMap getDefinedOperations(){
-
- return this.operations;
-
- }
- /**
- * Will return a map of all this <code>WSDLOperation</code>s that
- * are defined and inherited from super interfaces.
- */
- public HashMap getAllOperations(){
-
- HashMap all = (HashMap)this.operations.clone();
-
-
- if(this.superInterfaces.size() ==0 ){
- return all;
- }else{
- Iterator superIterator = this.superInterfaces.values().iterator();
- Iterator operationIterator;
- WSDLInterface superInterface;
- WSDLOperation superInterfaceOperation;
- Iterator thisIterator = all.values().iterator();
- WSDLOperation thisOperation;
- boolean tobeAdded = false;
- while(superIterator.hasNext()){
- superInterface = (WSDLInterface)superIterator.next();
- operationIterator = superInterface.getAllOperations().values().iterator();
- while(operationIterator.hasNext()){
- superInterfaceOperation = (WSDLOperation)operationIterator.next();
- tobeAdded = true;
- while(thisIterator.hasNext()){
- thisOperation = (WSDLOperation)thisIterator.next();
-
- if(thisOperation.getName() == superInterfaceOperation.getName() && !tobeAdded){
- if(thisOperation.getTargetnemespace().equals(superInterfaceOperation.getTargetnemespace())){
- //Both are the same Operation; the one inherited and
- //the one that is already in the map(may or maynot be inherited)
- tobeAdded = false;
- }
- else{
- //same name but target namespces dont match
- //TODO Think this is an error
- throw new WSDLProcessingException("The Interface " +this.getName() +" has more than one Operation that has the same name but not the same interface ");
- }
- }
- }
- if(tobeAdded){
- //This one is not in the list already developped
- all.put(superInterfaceOperation.getName(), superInterfaceOperation);
- }
-
- }
- }
- return all;
-
- }
- }
-
- /**
- * @return
- */
- public List getFaults() {
- return faults;
- }
-
- /**
- * @return
- */
- public QName getName() {
- return name;
- }
-
- /**
- * @return
- */
- public HashMap getOperations() {
- return operations;
- }
-
- /**
- * Retruns the <code>WSDLOperation</code>
- */
- public WSDLOperation getOperation(String nCName){
- Object temp = this.operations.get(nCName);
- if(null == temp) throw new WSDLProcessingException("No Operation found with the QName with ncname/ ncname with "+nCName);
- return (WSDLOperation)temp;
- }
-
- /**
- * @return
- */
- public HashMap getSuperInterfaces() {
- return superInterfaces;
- }
-
- public WSDLInterface getSuperInterface(QName qName){
- return (WSDLInterface)this.superInterfaces.get(qName);
- }
-
- /**
- * The Targetnamespace is that of the namespace URI of the QName of
- * this component.
- * @return URI as a String if the name is set otherwise will return null.
- */
- public String getTargetnamespace() {
- if(null == this.name) return null;
-
- return this.name.getNamespaceURI();
- }
-
- /**
- * @param list
- */
- public void setFaults(List list) {
- faults = list;
- }
-
- /**
- * @param qName
- */
- public void setName(QName qName) {
- name = qName;
- }
-
- /**
- * @param list
- */
- public void setOperations(HashMap list) {
- operations = list;
- }
-
-
- /**
- * The operation is added by its ncname. If operation is null
- * it will not be added. If the Operation name is null a
- * <code>WSDLProcessingException</code> will be thrown.
- * @param nCName
- * @param operation
- */
- public void setOperation(WSDLOperation operation){
- if(null == operation) return ;
-
- if(null == operation.getName()) throw new WSDLProcessingException("The Operation name cannot be null (required)");
- this.operations.put(operation.getName(), operation);
- }
-
- /**
- * @param list
- */
- public void setSuperInterfaces(HashMap list) {
- superInterfaces = list;
- }
-
- /**
- * The Inteface will be added to the list of super interfaces keyed with
- * the QName.
- * @param qName The QName of the Inteface
- * @param interfaceComponent WSDLInterface Object
- */
- public void addSuperInterface(QName qName, WSDLInterface interfaceComponent){
- this.superInterfaces.put(qName, interfaceComponent);
- }
-
- /**
- * Will return the StyleDefault if exist , otherwise will return null
- * @return
- */
+ public WSDLInterface getSuperInterface(QName qName) {
+ return (WSDLInterface) this.superInterfaces.get(qName);
+ }
+
+ /**
+ * The Targetnamespace is that of the namespace URI of the QName of
+ * this component.
+ * @return URI as a String if the name is set otherwise will return null.
+ */
+ public String getTargetnamespace() {
+ if (null == this.name)
+ return null;
+
+ return this.name.getNamespaceURI();
+ }
+
+ /**
+ * @param list
+ */
+ public void setFaults(List list) {
+ faults = list;
+ }
+
+ /**
+ * @param qName
+ */
+ public void setName(QName qName) {
+ name = qName;
+ }
+
+ /**
+ * @param list
+ */
+ public void setOperations(HashMap list) {
+ operations = list;
+ }
+
+ /**
+ * The operation is added by its ncname. If operation is null
+ * it will not be added. If the Operation name is null a
+ * <code>WSDLProcessingException</code> will be thrown.
+ * @param nCName
+ * @param operation
+ */
+ public void setOperation(WSDLOperation operation) {
+ if (null == operation)
+ return;
+
+ if (null == operation.getName())
+ throw new WSDLProcessingException("The Operation name cannot be null (required)");
+ this.operations.put(operation.getName(), operation);
+ }
+
+ /**
+ * @param list
+ */
+ public void setSuperInterfaces(HashMap list) {
+ superInterfaces = list;
+ }
+
+ /**
+ * The Inteface will be added to the list of super interfaces keyed with
+ * the QName.
+ * @param qName The QName of the Inteface
+ * @param interfaceComponent WSDLInterface Object
+ */
+ public void addSuperInterface(
+ QName qName,
+ WSDLInterface interfaceComponent) {
+ this.superInterfaces.put(qName, interfaceComponent);
+ }
+
+ /**
+ * Will return the StyleDefault if exist , otherwise will return null
+ * @return
+ */
public String getStyleDefault() {
return styleDefault;
}
-
+
public void setStyleDefault(String styleDefault) {
this.styleDefault = styleDefault;
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLOperationImpl.java Thu Dec 16 04:21:46 2004
@@ -23,10 +23,6 @@
import org.apache.wsdl.MessageReference;
import org.apache.wsdl.WSDLOperation;
-/**
- * @author Chathura Herath
- *
- */
public class WSDLOperationImpl extends ExtensibleComponentImpl implements WSDLOperation {
private QName name;
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLProcessingException.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.wsdl.impl;
-/**
- * @author chathura@opensource.lk
- *
- */
public class WSDLProcessingException extends RuntimeException {
public WSDLProcessingException(String message){
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/impl/WSDLServiceImpl.java Thu Dec 16 04:21:46 2004
@@ -23,55 +23,50 @@
import org.apache.wsdl.WSDLInterface;
import org.apache.wsdl.WSDLService;
-
-/**
- * @author chathura@opensource.lk
- *
- */
-public class WSDLServiceImpl extends ComponentImpl implements WSDLService {
+public class WSDLServiceImpl extends ComponentImpl implements WSDLService {
/**
* The QName that identifies the Service. This namespace of the QName
* should be the target namespace defined in the Definitions component.
*/
private QName name;
-
-
+
/**
* The Interface that this Service is an instance of.
*/
private WSDLInterface serviceInterface;
-
+
/**
*
*/
private HashMap endpoints;
-
-
+
public HashMap getEndpoints() {
return endpoints;
}
public void setEndpoints(HashMap endpoints) {
this.endpoints = endpoints;
}
-
+
/**
* Will add a WSDLEndpoint object to the WOM keyed with NCName;
*/
- public void setEndpoint(WSDLEndpoint endpoint, String nCName){
+ public void setEndpoint(WSDLEndpoint endpoint, String nCName) {
this.endpoints.put(nCName, endpoint);
}
-
+
/**
- * Endpoint will be retrived by its NCName.
- * @param nCName NCName of the Service
- * @return WSDLService Object or will throw an WSDLProcessingException in the case of object not found.
- */
- public WSDLService getEndpoint(String nCName){
- WSDLService temp = (WSDLService)this.endpoints.get(nCName);
- if(null == temp) throw new WSDLProcessingException("Service not found for NCName "+nCName);
- return temp;
- }
+ * Endpoint will be retrived by its NCName.
+ * @param nCName NCName of the Service
+ * @return WSDLService Object or will throw an WSDLProcessingException in the case of object not found.
+ */
+ public WSDLService getEndpoint(String nCName) {
+ WSDLService temp = (WSDLService) this.endpoints.get(nCName);
+ if (null == temp)
+ throw new WSDLProcessingException(
+ "Service not found for NCName " + nCName);
+ return temp;
+ }
public QName getName() {
return name;
}
@@ -84,11 +79,12 @@
* @return Target Namespace as a <code>String</code>
*/
public String getNamespace() {
- if(null == this.name) throw new WSDLProcessingException("Target Namespace not set and the Service Name is null");
-
- return this.name.getNamespaceURI();
+ if (null == this.name)
+ throw new WSDLProcessingException("Target Namespace not set and the Service Name is null");
+
+ return this.name.getNamespaceURI();
}
-
+
public WSDLInterface getServiceInterface() {
return serviceInterface;
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Style.java Thu Dec 16 04:21:46 2004
@@ -15,10 +15,6 @@
*/
package org.apache.wsdl.util;
-/**
- * @author chathura@opensource.lk
- *
- */
public interface Style {
}
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/java/org/apache/wsdl/util/Utils.java Thu Dec 16 04:21:46 2004
@@ -25,9 +25,6 @@
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
-/**
- * @author Srinath Perera(hemapani@opensource.lk)
- */
public class Utils {
public static Document newDocument(InputStream in) throws ParserConfigurationException, SAXException, IOException{
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java
Url: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java?view=diff&rev=122548&p1=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java&r1=122547&p2=webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java&r2=122548
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/test/org/apache/wsdl/InterfaceTest.java Thu Dec 16 04:21:46 2004
@@ -23,10 +23,6 @@
import org.apache.wsdl.impl.WSDLInterfaceImpl;
import org.apache.wsdl.impl.WSDLOperationImpl;
-/**
- * @author chathura@opensource.lk
- *
- */
public class InterfaceTest extends AbstractTestCase {
public InterfaceTest(String testName) {
super(testName);