Skip to content

Commit

Permalink
Incomplete - taskAdd DataProvider Support into Plugin
Browse files Browse the repository at this point in the history
completely redid the axis bindings: removed all the custom junk from the generated files

git-svn-id: https://mxunit.googlecode.com/svn/org.mxunit.eclipseplugin/trunk@1287 f92dd5c0-c831-0410-92f9-1b6876b37263
  • Loading branch information
marc.esher committed Jan 24, 2010
1 parent 5d7aa91 commit 80a6c4d
Show file tree
Hide file tree
Showing 24 changed files with 1,830 additions and 103 deletions.
25 changes: 25 additions & 0 deletions GenStubs.xml
@@ -0,0 +1,25 @@
<project name="GenStubs" basedir=".">

<target name="genStubs">
<property name="local.wsdl" value="http://localhost/mxunit/framework/RemoteFacade.cfc?wsdl"/>
<property name="generated.dir" location="generated"/>
<property name="package" value="org.mxunit.eclipseplugin.actions.bindings"/>
<path id="axis.classpath">
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</path>

<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />
<delete dir="${generated.dir}"/>
<mkdir dir="${generated.dir}"/>
<axis-wsdl2java output="${generated.dir}" testcase="true" verbose="true" url="${local.wsdl}">
<mapping namespace="http://framework.mxunit" package="${package}"/>
<mapping namespace="http://rpc.xml.coldfusion" package="${package}"/>
<mapping namespace="http://xml.apache.org/xml-soap" package="${package}"/>

</axis-wsdl2java>
</target>


</project>
@@ -0,0 +1,87 @@
/**
* CFCInvocationException.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/

package org.mxunit.eclipseplugin.actions.bindings;

public class CFCInvocationException extends org.apache.axis.AxisFault implements java.io.Serializable {
public CFCInvocationException() {
}

private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof CFCInvocationException)) return false;
CFCInvocationException other = (CFCInvocationException) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true;
__equalsCalc = null;
return _equals;
}

private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
__hashCodeCalc = false;
return _hashCode;
}

// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(CFCInvocationException.class, true);

static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://rpc.xml.coldfusion", "CFCInvocationException"));
}

/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}

/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}

/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}


/**
* Writes the exception data to the faultDetails
*/
public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException {
context.serialize(qname, null, this);
}
}
155 changes: 155 additions & 0 deletions generated/org/mxunit/eclipseplugin/actions/bindings/MapItem.java
@@ -0,0 +1,155 @@
/**
* MapItem.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/

package org.mxunit.eclipseplugin.actions.bindings;

public class MapItem implements java.io.Serializable {
private java.lang.Object key;

private java.lang.Object value;

public MapItem() {
}

public MapItem(
java.lang.Object key,
java.lang.Object value) {
this.key = key;
this.value = value;
}


/**
* Gets the key value for this MapItem.
*
* @return key
*/
public java.lang.Object getKey() {
return key;
}


/**
* Sets the key value for this MapItem.
*
* @param key
*/
public void setKey(java.lang.Object key) {
this.key = key;
}


/**
* Gets the value value for this MapItem.
*
* @return value
*/
public java.lang.Object getValue() {
return value;
}


/**
* Sets the value value for this MapItem.
*
* @param value
*/
public void setValue(java.lang.Object value) {
this.value = value;
}

private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof MapItem)) return false;
MapItem other = (MapItem) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.key==null && other.getKey()==null) ||
(this.key!=null &&
this.key.equals(other.getKey()))) &&
((this.value==null && other.getValue()==null) ||
(this.value!=null &&
this.value.equals(other.getValue())));
__equalsCalc = null;
return _equals;
}

private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getKey() != null) {
_hashCode += getKey().hashCode();
}
if (getValue() != null) {
_hashCode += getValue().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}

// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(MapItem.class, true);

static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://xml.apache.org/xml-soap", "mapItem"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("key");
elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyType"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("value");
elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyType"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}

/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}

/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}

/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}

}

0 comments on commit 80a6c4d

Please sign in to comment.