I have synced it up with the newest version and all functional tests run
fine for me with JDK1.3.1 on Win2000. I have also included the testrun below
? org/apache/axis/encoding/AttributeSerializationContextImpl.java
Index: org/apache/axis/encoding/ser/BeanDeserializer.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/encoding/ser/BeanDeserializer.java,v
retrieving revision 1.22
diff -u -r1.22 BeanDeserializer.java
--- org/apache/axis/encoding/ser/BeanDeserializer.java 1 May 2002 22:06:47
-0000 1.22
+++ org/apache/axis/encoding/ser/BeanDeserializer.java 6 May 2002 18:30:02
-0000
@@ -55,6 +55,8 @@
package org.apache.axis.encoding.ser;
+import org.apache.axis.MessageContext;
+import org.apache.axis.Constants;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.DeserializationContext;
import org.apache.axis.encoding.Deserializer;
@@ -72,6 +74,7 @@
import javax.xml.rpc.namespace.QName;
import java.io.Serializable;
import java.util.HashMap;
+import java.util.Iterator;
/**
* General purpose deserializer for an arbitrary java bean.
@@ -181,7 +184,7 @@
// code attempts to get the meta data from the base class.
// (this fix does not work in all cases, but is necessary to
// get comprehensive tests Animal - Cat inheritance to work).
- if (propDesc == null) {
+ if (propDesc == null) {
Class superClass = javaType;
while (superClass != null && propDesc == null) {
superClass = superClass.getSuperclass();
@@ -204,6 +207,25 @@
}
}
}
+ // try and see if this is an xsd:any namespace="##any" element
before reporting a problem
+ QName qn = null;
+ Deserializer dSer = null;
+ MessageContext messageContext = context.getMessageContext();
+ if (propDesc == null && !messageContext.isEncoded()) {
+ // try to put unknown elements into an Object property
+ propDesc = getObjectPropertyDesc(elemQName, context);
+ if (propDesc != null) {
+ dSer = context.getDeserializerForType(elemQName);
+ if (dSer == null) {
+ qn = Constants.XSD_ANYTYPE;
+ // make sure that the Element Deserializer
deserializes the current element and not the child
+
messageContext.setProperty("DeserializeCurrentElement", Boolean.TRUE);
+ } else {
+ qn = elemQName;
+ }
+ }
+ }
+
if (propDesc == null) {
// No such field
@@ -215,10 +237,14 @@
// Determine the QName for this child element.
// Look at the type attribute specified. If this fails,
// use the javaType of the property to get the type qname.
- QName qn = context.getTypeFromAttributes(namespace, localName,
attributes);
+ if (qn == null) {
+ qn = context.getTypeFromAttributes(namespace, localName,
attributes);
+ }
// get the deserializer
- Deserializer dSer = context.getDeserializerForType(qn);
+ if (dSer == null) {
+ dSer = context.getDeserializerForType(qn);
+ }
// If no deserializer, use the base DeserializerImpl.
// There may not be enough information yet to choose the
@@ -249,6 +275,17 @@
return (SOAPHandler)dSer;
}
+ public BeanPropertyDescriptor getObjectPropertyDesc(QName qname,
DeserializationContext context) {
+ for (Iterator iterator = propertyMap.values().iterator();
iterator.hasNext();) {
+ BeanPropertyDescriptor propertyDesc = (BeanPropertyDescriptor)
iterator.next();
+ // try to find xsd:any namespace="##any" property
+ if (propertyDesc.getName().equals("any") &&
propertyDesc.getType().getName().equals("java.lang.Object")) {
+ return propertyDesc;
+ }
+ }
+ return null;
+ }
+
/**
* Set the bean properties that correspond to element attributes.
*
@@ -320,6 +357,7 @@
// Success! Create an object from the string and set
// it in the bean
try {
+ dSer.onStartElement(namespace, localName, qName,
attributes, context);
Object val = ((SimpleDeserializer)dSer).
makeValue(attributes.getValue(i));
bpd.set(value, val);
Index: org/apache/axis/encoding/ser/BeanSerializer.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/encoding/ser/BeanSerializer.java,v
retrieving revision 1.29
diff -u -r1.29 BeanSerializer.java
--- org/apache/axis/encoding/ser/BeanSerializer.java 28 Apr 2002 18:10:56
-0000 1.29
+++ org/apache/axis/encoding/ser/BeanSerializer.java 6 May 2002 18:30:02 -0000
@@ -60,6 +60,7 @@
import org.apache.axis.description.FieldDesc;
import org.apache.axis.description.TypeDesc;
import org.apache.axis.encoding.SerializationContext;
+import org.apache.axis.encoding.AttributeSerializationContextImpl;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.utils.BeanPropertyDescriptor;
import org.apache.axis.utils.BeanUtils;
@@ -74,6 +75,7 @@
import javax.xml.rpc.namespace.QName;
import java.io.IOException;
import java.io.Serializable;
+import java.io.StringWriter;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import java.util.List;
@@ -125,7 +127,14 @@
// properties are actually attributes, add those to the element
// attribute list
Attributes beanAttrs = getObjectAttributes(value, attributes,
context);
- context.startElement(name, beanAttrs);
+
+ // check whether we have and xsd:any namespace="##any" type
+ boolean suppressElement = !context.getMessageContext().isEncoded() &&
+ name.getNamespaceURI().equals("") &&
+ name.getLocalPart().equals("any");
+
+ if (!suppressElement)
+ context.startElement(name, beanAttrs);
try {
// Serialize each property
@@ -133,7 +142,6 @@
String propName = propertyDescriptor[i].getName();
if (propName.equals("class"))
continue;
-
QName qname = null;
// If we have type metadata, check to see what we're doing
@@ -203,7 +211,8 @@
throw new IOException(e.toString());
}
- context.endElement();
+ if (!suppressElement)
+ context.endElement();
}
@@ -407,15 +416,7 @@
// the attribute may be more sophisticated. For
example, don't
// serialize if the attribute matches the default value.
if (propValue != null) {
- String propString = propValue.toString();
- String namespace = qname.getNamespaceURI();
- String localName = qname.getLocalPart();
-
- attrs.addAttribute(namespace,
- localName,
- context.qName2String(qname),
- "CDATA",
- propString);
+ setAttributeProperty(propValue, qname, attrs,
context);
}
}
}
@@ -426,4 +427,25 @@
return attrs;
}
+
+ private void setAttributeProperty(Object propValue,
+ QName qname,
+ AttributesImpl attrs,
+ SerializationContext context) throws
Exception {
+ StringWriter writer = new StringWriter();
+ SerializationContext attributeContext = new
AttributeSerializationContextImpl(writer, context);
+ attributeContext.serialize(qname,
+ null,
+ propValue, propValue.getClass());
+ writer.close();
+ String propString = writer.getBuffer().toString();
+ String namespace = qname.getNamespaceURI();
+ String localName = qname.getLocalPart();
+
+ attrs.addAttribute(namespace,
+ localName,
+ context.qName2String(qname),
+ "CDATA",
+ propString);
+ }
}
Index: org/apache/axis/encoding/ser/ElementDeserializer.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/encoding/ser/ElementDeserializer.java,v
retrieving revision 1.3
diff -u -r1.3 ElementDeserializer.java
--- org/apache/axis/encoding/ser/ElementDeserializer.java 25 Feb 2002
17:38:15 -0000 1.3
+++ org/apache/axis/encoding/ser/ElementDeserializer.java 6 May 2002
18:30:02 -0000
@@ -64,8 +64,9 @@
import java.util.ArrayList;
-import org.apache.axis.message.MessageElement ;
-import org.apache.axis.message.SOAPHandler ;
+import org.apache.axis.MessageContext;
+import org.apache.axis.message.MessageElement;
+import org.apache.axis.message.SOAPHandler;
import org.apache.axis.encoding.Serializer;
import org.apache.axis.encoding.SerializerFactory;
@@ -98,6 +99,13 @@
try {
MessageElement msgElem = context.getCurElement();
if ( msgElem != null ) {
+ MessageContext messageContext = context.getMessageContext();
+ Boolean currentElement = (Boolean)
messageContext.getProperty("DeserializeCurrentElement");
+ if (currentElement != null && currentElement.booleanValue()) {
+ value = msgElem.getAsDOM();
+ messageContext.setProperty("SerializeCurrentElement",
Boolean.FALSE);
+ return;
+ }
ArrayList children = msgElem.getChildren();
if ( children != null ) {
msgElem = (MessageElement) children.get(0);
Index: org/apache/axis/encoding/ser/ElementSerializer.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/encoding/ser/ElementSerializer.java,v
retrieving revision 1.2
diff -u -r1.2 ElementSerializer.java
--- org/apache/axis/encoding/ser/ElementSerializer.java 2 Feb 2002 18:06:18
-0000 1.2
+++ org/apache/axis/encoding/ser/ElementSerializer.java 6 May 2002 18:30:03
-0000
@@ -93,9 +93,16 @@
if (!(value instanceof Element))
throw new IOException(JavaUtils.getMessage("cantSerialize01"));
- context.startElement(name, attributes);
+ // suppress xsd:any namespace="##any" elements
+ boolean suppressElement =
(!context.getMessageContext().isEncoded() &&
+ name.getNamespaceURI().equals("") &&
+ name.getLocalPart().equals("any"));
+
+ if (!suppressElement)
+ context.startElement(name, attributes);
context.writeDOMElement((Element)value);
- context.endElement();
+ if (!suppressElement)
+ context.endElement();
}
public String getMechanismType() { return Constants.AXIS_SAX; }
Index: org/apache/axis/message/RPCHandler.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/message/RPCHandler.java,v
retrieving revision 1.35
diff -u -r1.35 RPCHandler.java
--- org/apache/axis/message/RPCHandler.java 23 Apr 2002 03:54:26 -0000 1.35
+++ org/apache/axis/message/RPCHandler.java 6 May 2002 18:30:03 -0000
@@ -217,6 +217,9 @@
return( (SOAPHandler) new DeserializerImpl() );
Deserializer dser;
+ if ((type == null) && (namespace != null) &&
(!namespace.equals(""))) {
+ type = qname;
+ }
if (type != null) {
dser = context.getDeserializerForType(type);
} else {
Index: org/apache/axis/utils/resources.properties
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/utils/resources.properties,v
retrieving revision 1.94
diff -u -r1.94 resources.properties
--- org/apache/axis/utils/resources.properties 1 May 2002 19:52:45 -0000 1.94
+++ org/apache/axis/utils/resources.properties 6 May 2002 18:30:03 -0000
@@ -451,6 +451,10 @@
optionTest00=emit junit testcase class for web service
optionVerbose00=print informational messages
+
+optionMaintainPortType00=generate a port type interface based on the port
type name even for literal bindings
+
+
outMsg00=Out message: {0}
params00=Parameters are: {0}
parent00=parent
Index: org/apache/axis/wsdl/WSDL2Java.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/WSDL2Java.java,v
retrieving revision 1.24
diff -u -r1.24 WSDL2Java.java
--- org/apache/axis/wsdl/WSDL2Java.java 15 Apr 2002 02:35:58 -0000 1.24
+++ org/apache/axis/wsdl/WSDL2Java.java 6 May 2002 18:30:04 -0000
@@ -106,6 +106,7 @@
protected static final int HELPER_CLASS_OPT = 'H';
protected static final int USERNAME_OPT = 'U';
protected static final int PASSWORD_OPT = 'P';
+ protected static final int MAINTAIN_PORT_TYPE_OPT = 'm';
// Scope constants
@@ -210,7 +211,11 @@
new CLOptionDescriptor("password",
CLOptionDescriptor.ARGUMENT_REQUIRED,
PASSWORD_OPT,
- JavaUtils.getMessage("optionPassword"))
+ JavaUtils.getMessage("optionPassword")),
+ new CLOptionDescriptor("maintainPortTypeInterface",
+ CLOptionDescriptor.ARGUMENT_DISALLOWED,
+ MAINTAIN_PORT_TYPE_OPT,
+ JavaUtils.getMessage("optionMaintainPortType00"))
};
/**
@@ -441,6 +446,13 @@
public void setPassword(String password) {
this.password = password;
}
+
+ /**
+ * Force literal bindings to use port type interface
+ */
+ public void setMaintainPortType() {
+ emitter.setMaintainPortType();
+ }
//
// Command line switches
//
@@ -671,6 +683,10 @@
case PASSWORD_OPT:
wsdl2java.setPassword(option.getArgument());
+ break;
+
+ case MAINTAIN_PORT_TYPE_OPT:
+ wsdl2java.setMaintainPortType();
break;
}
Index: org/apache/axis/wsdl/toJava/Emitter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java,v
retrieving revision 1.32
diff -u -r1.32 Emitter.java
--- org/apache/axis/wsdl/toJava/Emitter.java 16 Apr 2002 20:26:32 -0000 1.32
+++ org/apache/axis/wsdl/toJava/Emitter.java 6 May 2002 18:30:04 -0000
@@ -114,6 +114,8 @@
protected String currentWSDLURI = null;
protected String NStoPkgFilename = "NStoPkg.properties";
protected File NStoPkgFile = null;
+ protected boolean maintainPortType = false;
+
/**
* Default constructor.
@@ -407,6 +409,16 @@
*/
public void setOutputDir(String outputDir) {
this.outputDir = outputDir;
+ }
+
+ /**
+ * Force PortType to be used as stub interface even for doc/lit bindings
+ */
+ public void setMaintainPortType() {
+ this.maintainPortType = true;
+ }
+ public boolean getMaintainPortType() {
+ return this.maintainPortType;
}
/**
Index: org/apache/axis/wsdl/toJava/JavaImplWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaImplWriter.java,v
retrieving revision 1.16
diff -u -r1.16 JavaImplWriter.java
--- org/apache/axis/wsdl/toJava/JavaImplWriter.java 8 Apr 2002 23:18:45
-0000 1.16
+++ org/apache/axis/wsdl/toJava/JavaImplWriter.java 6 May 2002 18:30:04 -0000
@@ -114,7 +114,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String portTypeName = bEntry.hasLiteral() ?
+ String portTypeName = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName() : ptEntry.getName();
pw.print("public class " + className + " implements " +
portTypeName);
pw.println(" {");
Index: org/apache/axis/wsdl/toJava/JavaInterfaceWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaInterfaceWriter.java,v
retrieving revision 1.6
diff -u -r1.6 JavaInterfaceWriter.java
--- org/apache/axis/wsdl/toJava/JavaInterfaceWriter.java 14 Feb 2002
14:59:31 -0000 1.6
+++ org/apache/axis/wsdl/toJava/JavaInterfaceWriter.java 6 May 2002
18:30:04 -0000
@@ -89,7 +89,7 @@
// If there is literal use in this binding, then the interface
name is
// derived from the binding name, not the portType name (the
default).
- if (bEntry.hasLiteral()) {
+ if (bEntry.hasLiteral() &&!emitter.getMaintainPortType()) {
super.className = Utils.getJavaLocalName(bEntry.getName());
super.fileName = className + ".java";
}
Index: org/apache/axis/wsdl/toJava/JavaServiceIfaceWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceIfaceWriter.java,v
retrieving revision 1.1
diff -u -r1.1 JavaServiceIfaceWriter.java
--- org/apache/axis/wsdl/toJava/JavaServiceIfaceWriter.java 5 Feb 2002
16:22:40 -0000 1.1
+++ org/apache/axis/wsdl/toJava/JavaServiceIfaceWriter.java 6 May 2002
18:30:04 -0000
@@ -142,7 +142,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String bindingType = bEntry.hasLiteral() ?
+ String bindingType = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName() : ptEntry.getName();
// Write out the get<PortName> methods
Index: org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java,v
retrieving revision 1.8
diff -u -r1.8 JavaServiceImplWriter.java
--- org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java 21 Mar 2002
14:28:53 -0000 1.8
+++ org/apache/axis/wsdl/toJava/JavaServiceImplWriter.java 6 May 2002
18:30:04 -0000
@@ -152,7 +152,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String bindingType = bEntry.hasLiteral() ?
+ String bindingType = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName() : ptEntry.getName();
// getPort(Class) must return a stub for an
interface. Collect all
Index: org/apache/axis/wsdl/toJava/JavaSkelWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaSkelWriter.java,v
retrieving revision 1.21
diff -u -r1.21 JavaSkelWriter.java
--- org/apache/axis/wsdl/toJava/JavaSkelWriter.java 15 Apr 2002 02:35:58
-0000 1.21
+++ org/apache/axis/wsdl/toJava/JavaSkelWriter.java 6 May 2002 18:30:04 -0000
@@ -107,7 +107,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String portTypeName = bEntry.hasLiteral() ?
+ String portTypeName = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName () : ptEntry.getName();
boolean isRPC = true;
if (bEntry.getBindingStyle() == BindingEntry.STYLE_DOCUMENT) {
Index: org/apache/axis/wsdl/toJava/JavaStubWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaStubWriter.java,v
retrieving revision 1.55
diff -u -r1.55 JavaStubWriter.java
--- org/apache/axis/wsdl/toJava/JavaStubWriter.java 16 Apr 2002 20:26:32
-0000 1.55
+++ org/apache/axis/wsdl/toJava/JavaStubWriter.java 6 May 2002 18:30:05 -0000
@@ -110,7 +110,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String portTypeName = bEntry.hasLiteral() ?
+ String portTypeName = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName() : ptEntry.getName();
boolean isRPC = true;
if (bEntry.getBindingStyle() == BindingEntry.STYLE_DOCUMENT) {
Index: org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java,v
retrieving revision 1.22
diff -u -r1.22 JavaTestCaseWriter.java
--- org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java 1 May 2002 17:17:15
-0000 1.22
+++ org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java 6 May 2002 18:30:05
-0000
@@ -174,7 +174,7 @@
// If there is not literal use, the interface name is the
portType name.
// Otherwise it is the binding name.
- String bindingType = bEntry.hasLiteral() ?
+ String bindingType = (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) ?
bEntry.getName() : ptEntry.getName();
writeBindingAssignment(bindingType, portName);
Index: org/apache/axis/wsdl/toJava/JavaWriterFactory.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaWriterFactory.java,v
retrieving revision 1.22
diff -u -r1.22 JavaWriterFactory.java
--- org/apache/axis/wsdl/toJava/JavaWriterFactory.java 5 Apr 2002 21:24:32
-0000 1.22
+++ org/apache/axis/wsdl/toJava/JavaWriterFactory.java 6 May 2002 18:30:05
-0000
@@ -328,7 +328,7 @@
// If there IS literal use, then the SDI will be
// named after the binding name, so there is the
// possibility of a name clash.
- if (bEntry.hasLiteral()) {
+ if (bEntry.hasLiteral() &&
!emitter.getMaintainPortType()) {
entry.setName(mangleName(entry.getName(),
"_Binding"));
}
Index: org/apache/axis/wsdl/toJava/SchemaUtils.java
===================================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/wsdl/toJava/SchemaUtils.java,v
retrieving revision 1.20
diff -u -r1.20 SchemaUtils.java
--- org/apache/axis/wsdl/toJava/SchemaUtils.java 4 Apr 2002 19:17:12 -0000
1.20
+++ org/apache/axis/wsdl/toJava/SchemaUtils.java 6 May 2002 18:30:05 -0000
@@ -265,6 +265,12 @@
v.addAll(processSequenceNode(children.item(j),
symbolTable));
} else if (subNodeKind.getLocalPart().equals("group")) {
v.addAll(processGroupNode(children.item(j),
symbolTable));
+ } else if (subNodeKind.getLocalPart().equals("any")) {
+ TypeEntry type =
(TypeEntry)symbolTable.getTypeEntry(Utils.getWSDLQName(Constants.XSD_ANYTYPE),
false);
+ if (type != null) {
+ ElementDecl elem = new ElementDecl(type,
Utils.getAxisQName(new QName("","any")));
+ v.add(elem);
+ }
} else if (subNodeKind.getLocalPart().equals("element")) {
ElementDecl elem =
processChildElementNode(children.item(j),
C:\Source\Axis\update\xml-axis\java>ant functional-tests
Buildfile: build.xml
setenv:
[echo] --- Build environment for Axis ---
[echo] --- Flags (Note: If the {property name} is displayed,
[echo] then the component is not present)
[echo]
[echo] === Required Libraries ===
[echo] wsdl4j.present=true
[echo] commons-logging.present=true
[echo] log4j.present=true
[echo] tt-bytecode.present=true
[echo]
[echo] --- Optional Libraries ---
[echo] servlet.present=true
[echo] regexp.present=true
[echo] junit.present=true
[echo] activation.present=${activation.present}
[echo] mailapi.present=${mailapi.present}
[echo] attachments.present=${attachments.present}
[echo] security.present=${security.present}
[echo]
[echo] --- Property values ---
[echo] debug=on
[echo] deprecation=true
[echo] axis_nojavadocs=${env.axis_nojavadocs}
compile:
[jar] Building jar:
C:\Source\Axis\update\xml-axis\java\build\lib\axis.jar
post-compile:
samples:
[javac] Compiling 2 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[wsdl2java] WSDL2Java samples/echo/InteropTest.wsdl
[javac] Compiling 7 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[javac] Compiling 54 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
buildTest:
[echo] junit package found ...
[javac] Compiling 92 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[copy] Copying 1 file to
C:\Source\Axis\update\xml-axis\java\build\classes\test\wsdd
functional-tests:
wsdl-setup:
[copy] Copying 1 file to
C:\Source\Axis\update\xml-axis\java\build\classes
[copy] Copying 4 files to
C:\Source\Axis\update\xml-axis\java\build\work\samples
main:
[echo] Running WSDL2Java and Java2WSDL Emitters
[wsdl2java] WSDL2Java samples/addr/AddressBook.wsdl
[java2wsdl] Java2WSDL samples.userguide.example6.WidgetPrice
[wsdl2java] WSDL2Java build/work/samples/userguide/example6/WidgetPrice.wsdl
[wsdl2java] WSDL2Java test/wsdl/multibinding/multibinding.wsdl
[wsdl2java] WSDL2Java test/wsdl/multiref/MultiRefTest.wsdl
[wsdl2java] WSDL2Java test/wsdl/opStyles/opStyles.wsdl
solicitResponse is a solicit-response style operation and is unsupported.
notification is a notification style operation and is unsupported.
[wsdl2java] WSDL2Java test/wsdl/refattr/refattr.wsdl
[copy] Copying 9 files to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\roundtrip
[javac] Compiling 9 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL test.wsdl.roundtrip.RoundtripPortType
[delete] Deleting directory
C:\Source\Axis\update\xml-axis\java\build\classes\test\wsdl\roundtrip
[wsdl2java] WSDL2Java build/work/test/wsdl/roundtrip/Roundtrip.wsdl
[wsdl2java] WSDL2Java test/wsdl/sequence/SequenceTest.wsdl
[copy] Copying 1 file to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\sequence
[javac] Compiling 6 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL test.wsdl.sequence.SequenceTestPortType
[delete] Deleting directory
C:\Source\Axis\update\xml-axis\java\build\classes\test\wsdl\sequence
[wsdl2java] WSDL2Java build/work/test/wsdl/sequence/SequenceTest.wsdl
[wsdl2java] WSDL2Java test/wsdl/arrays/ArrayTest.wsdl
[wsdl2java] WSDL2Java test/wsdl/inheritance/InheritanceTest.wsdl
[copy] Copying 2 files to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\inheritance
[javac] Compiling 6 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL test.wsdl.inheritance.InheritancePortType
[delete] Deleting directory
C:\Source\Axis\update\xml-axis\java\build\classes\test\wsdl\inheritance
[wsdl2java] WSDL2Java build/work/test/wsdl/inheritance/InheritanceTest.wsdl
[javac] Compiling 6 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL test.wsdl.inheritance.Baby
[wsdl2java] WSDL2Java test/wsdl/marrays/MArrayTest.wsdl
[wsdl2java] WSDL2Java test/wsdl/marrays/MArrayTest.wsdl
[wsdl2java] WSDL2Java test/wsdl/nested/Nested.wsdl
[wsdl2java] WSDL2Java test/wsdl/datatypes/DataTypes.wsdl
[wsdl2java] WSDL2Java test/wsdl/wrapped/CityBBB.wsdl
[wsdl2java] WSDL2Java test/wsdl/_import/Import.wsdl
[wsdl2java] WSDL2Java test/wsdl/_import/Import.wsdl
[wsdl2java] WSDL2Java test/wsdl/_import/ImportMessagesXSDImport.wsdl
[wsdl2java] WSDL2Java test/wsdl/inout/inout.wsdl
[wsdl2java] WSDL2Java http://www.xmethods.net/tmodels/InteropTest.wsdl
[wsdl2java] WSDL2Java http://www.whitemesa.com/interop/InteropTest.wsdl
[wsdl2java] WSDL2Java http://www.whitemesa.com/interop/InteropTestB.wsdl
[wsdl2java] WSDL2Java http://mssoapinterop.org/stk/InteropB.wsdl
[wsdl2java] WSDL2Java http://mssoapinterop.org/stk/InteropBtyped.wsdl
[wsdl2java] WSDL2Java http://mssoapinterop.org/stk/InteropC.wsdl
[wsdl2java] WSDL2Java http://www.whitemesa.com/r3/import1.wsdl
[javac] Compiling 4 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL
test.wsdl.interop3.import1.definitions.SoapInteropImport1PortType
[wsdl2java] WSDL2Java build/work/test/wsdl/interop3/import1.wsdl
[wsdl2java] WSDL2Java http://www.whitemesa.com/r3/import2.wsdl
[javac] Compiling 4 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL
test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType
[wsdl2java] WSDL2Java build/work/test/wsdl/interop3/import2.wsdl
[wsdl2java] WSDL2Java
http://www.dolphinharbor.org/services/R3Import2/service.wsdl
[javac] Compiling 5 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[wsdl2java] WSDL2Java http://www.whitemesa.com/r3/import3.wsdl
[javac] Compiling 5 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[java2wsdl] Java2WSDL test.wsdl.interop3.import3.SoapInteropImport3PortType
[wsdl2java] WSDL2Java build/work/test/wsdl/interop3/import3.wsdl
Interop3GroupE.main:
[copy] Copying 10 files to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\groupE
[javac] Compiling 5 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[echo] test/wsdl/interop3/groupE/InteropTestDocLit is rpc/enc and
should be doc/lit
[java2wsdl] Java2WSDL test.wsdl.interop3.groupE.InteropTestDocLit
[java2wsdl] Java2WSDL test.wsdl.interop3.groupE.InteropTestRpcEnc
[java2wsdl] Java2WSDL test.wsdl.interop3.groupE.InteropTestList
[wsdl2java] WSDL2Java
build/work/test/wsdl/interop3/groupE/InteropTestDocLit.wsdl
[wsdl2java] WSDL2Java
build/work/test/wsdl/interop3/groupE/InteropTestRpcEnc.wsdl
[wsdl2java] WSDL2Java build/work/test/wsdl/interop3/groupE/InteropTestList.wsdl
[copy] Copying 4 files to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\groupE\client
[javac] Compiling 21 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
[echo] end of InteropTestSuite.main
[echo]
[wsdl2java] WSDL2Java test/wsdl/clash/clash.wsdl
[wsdl2java] WSDL2Java test/wsdl/faults/FaultService.wsdl
[wsdl2java] WSDL2Java
http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl
[wsdl2java] WSDL2Java test/wsdl/filegen/FileGen.wsdl
[wsdl2java] WSDL2Java test/wsdl/filegen/FileGen.wsdl
[wsdl2java] WSDL2Java test/wsdl/names/JavaNames.wsdl
[wsdl2java] WSDL2Java test/wsdl/types/ComprehensiveTypes.wsdl
[wsdl2java] WSDL2Java test/wsdl/parameterOrder/parameterOrder.wsdl
[wsdl2java] WSDL2Java test/wsdl/getPort/getPort.wsdl
[wsdl2java] WSDL2Java
http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL
[wsdl2java] WSDL2Java test/wsdl/qualify/qualifytest.wsdl
[copy] Copying 58 files to
C:\Source\Axis\update\xml-axis\java\build\work\test
[copy] Copying 59 files to
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl
[copy] Copying 7 files to
C:\Source\Axis\update\xml-axis\java\build\work\samples
[javac] Compiling 395 source files to
C:\Source\Axis\update\xml-axis\java\build\classes
functional-tests:
start-functional-test-tcp-server:
[echo] Starting test tcp server.
[java] - TCPListener is listening on port 8088.
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=2604,localport=8088]
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
start-functional-test-http-server:
[echo] Starting test http server.
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=2605,localport=8088]
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
junit-functional-prepare:
[mkdir] Created dir: C:\Source\Axis\update\xml-axis\java\test-reports
[mkdir] Created dir: C:\Source\Axis\update\xml-axis\java\build\jws
[copy] Copying 1 file to C:\Source\Axis\update\xml-axis\java\build\jws
[copy] Copying 1 file to C:\Source\Axis\update\xml-axis\java\build\jws
[copy] Copying 1 file to C:\Source\Axis\update\xml-axis\java\build
junit-functional:
[java] - SimpleAxisServer starting up on port 8080.
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\com\themindelectric\www\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\interop\test\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\interop\testb\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopb\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopbtyped\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopc\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\net\xmethods\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\samples\addr\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\samples\userguide\example6\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\import2\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\arrays\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\clash\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\datatypes\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\faults\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\getPort\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\inheritance\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\inout\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\absimport2\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\groupE\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import1\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import1\step6\definitions\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import2\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import2\step6\definitions\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import3\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import3\step6\definitions\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\marrays\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\multibinding\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\multiref\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\names\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\nested\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\opStyles\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\parameterOrder\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\qualify\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\refattr\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\roundtrip\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\sequence\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\types\comprehensive_service\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\wrapped\deploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\_import\deploy.wsdd
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[junit] Running samples.addr.AddressBookTestCase
[junit] - Testing address book sample.
[junit] Using proxy without session maintenance.
[junit] (queries without session should say: "ADDRESS NOT FOUND!")
[junit] >> Storing address for 'Purdue Boilermaker'
[junit] >> Querying address for 'Purdue Boilermaker'
[junit] >> Response is:
[junit] [ADDRESS NOT FOUND!]
[junit] >> Querying address for 'Purdue Boilermaker' again
[junit] >> Response is:
[junit] [ADDRESS NOT FOUND!]
[junit]
[junit]
[junit] Using proxy with session maintenance.
[junit] >> Storing address for 'Purdue Boilermaker'
[junit] >> Querying address for 'Purdue Boilermaker'
[junit] >> Response is:
[junit] - Test complete.
[junit] 1 University Drive
[junit] West Lafayette, IN 47907
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.212 sec
[junit] Phone: (765) 494-4900
[junit] >> Querying address for 'Purdue Boilermaker' again
[junit] >> Response is:
[junit] 1 University Drive
[junit] West Lafayette, IN 47907
[junit] Phone: (765) 494-4900
[junit] Running samples.userguide.example6.WidgetPriceServiceTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.061 sec
[junit] Running test.functional.FunctionalTests
[junit] - Testing echo interop sample.
[junit] - Processing file samples/echo/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] - Testing JAX-RPC GetQuote1 sample.
[junit] - Testing deployment...
[junit] - Processing file samples/stock/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] Using WSDL
[junit] XXX: 55.25
[junit] Manually
[junit] XXX: 55.25
[junit] WSDL + Reuse Call
[junit] Just a test
[junit] XXX: 55.25
[junit] - Testing undeployment...
[junit] - Processing file samples/stock/undeploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] - Testing JAX-RPC GetInfo sample.
[junit] - Testing deployment...
[junit] - Processing file samples/stock/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] IBM: IBM
[junit] ALLR: Allaire
[junit] CSCO: San Jose, CA
[junit] - Testing undeployment...
[junit] - Processing file samples/stock/undeploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] - Testing stock sample.
[junit] - Testing JWS...
[java] - Mapping Exception to AxisFault
[java] Method names do not match
[java] Body name = getQuote
[java] Service name = echo
[java] Service nameList = echo
[java] at
org.apache.axis.providers.java.RPCProvider.checkMethodName(RPCProvider.java:310)
[java] at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:207)
[java] at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:264)
[junit] - Testing deployment...
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
[junit] - Processing file samples/stock/deploy.wsdd
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
[java] at
org.apache.axis.handlers.JWSProcessor.invokeImpl(JWSProcessor.java:288)
[java] at
org.apache.axis.handlers.JWSProcessor.invoke(JWSProcessor.java:106)
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
[java] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[java] at
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:392)
[junit] - Testing service with SOAPAction: ""...
[java] at
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:853)
[junit] - Testing undeployment...
[junit] - Processing file samples/stock/undeploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] - Testing TCP transport.
[junit] - Testing deployment...
[junit] - Processing file samples/transport/deploy.wsdd
[junit] - Enter: TCPSender::invoke
[junit] - Created an insecure HTTP connection
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=2673,localport=8088]
[junit] - Exit: TCPSender::invoke
[junit] <Admin>Done processing</Admin>
[junit] - OK!
[junit] - Testing service...
[junit] - Testing TCP stock service...
[junit] - Enter: TCPSender::invoke
[junit] - Created an insecure HTTP connection
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=2674,localport=8088]
[junit] - Exit: TCPSender::invoke
[junit] - Enter: TCPSender::invoke
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=2675,localport=8088]
[junit] - Created an insecure HTTP connection
[junit] - Exit: TCPSender::invoke
[junit] - OK!
[junit] - Test complete.
[junit] - Testing transport sample.
[junit] - Testing deployment...
[junit] - Processing file samples/transport/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service with symbol IBM...
[junit] IBM: 79.96
[junit] FileReader halted.
[junit] - Testing service with symbol XXX...
[junit] XXX: 55.25
[junit] FileReader halted.
[junit] - Test complete.
[junit] - Testing bidbuy sample.
[junit] - Testing deployment...
[junit] - Processing file samples/bidbuy/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] 9000
[junit] 1 Tricorder
[junit] 3 Phasor
[junit] - Test complete.
[junit] - Testing misc sample.
[junit] - Testing service...
[junit] Request:
[junit] <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > <SOAP-ENV:Body>
[junit] <echo:Echo xmlns:echo="EchoService">
[junit] <symbol>IBM</symbol>
[junit] </echo:Echo>
[junit] </SOAP-ENV:Body></SOAP-ENV:Envelope>
[junit]
[junit] Response:
[junit] <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body>
[junit] <echo:Echo xmlns:echo="EchoService">
[junit] <symbol>IBM</symbol>
[junit] </echo:Echo>
[junit] </SOAP-ENV:Body></SOAP-ENV:Envelope>
[junit] - Test complete.
[junit] - Testing element sample.
[junit] - Testing deployment...
[junit] - Processing file samples/encoding/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] Sending : <x:hello xmlns:x="urn:foo">a string</x:hello>
[junit] Received: <x:hello xmlns:x="urn:foo">a string</x:hello>
[junit] - Testing undeployment...
[junit] - Processing file samples/encoding/undeploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] - Testing message sample.
[junit] - Testing deployment...
[junit] - Processing file samples/message/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] - Processing file samples/message/undeploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Test complete.
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 21.861 sec
[junit] Running test.import2.ImportServiceTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.161 sec
[junit] Running test.wsdl.arrays.PersonalInfoBookServiceTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.242 sec
[junit] Running test.wsdl.clash.SharedName_ServiceTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.162 sec
[junit] Running test.wsdl.clash.VerifyFilesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
[junit] Running test.wsdl.datatypes.DataTypesTestCase
[junit] sayHello: Hello World!
[junit] sayHelloName: Hello Axis
[junit] getIntArray: {0,10,20,30,40}
[junit] getMode: Off
[junit] getOrder: {323232,34.5}
[junit] getOrder[0]: {323232,34.5}
[junit] getOrder[1]: {645645,99.4}
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.252 sec
[junit] Running test.wsdl.datatypes.DataTypes_ServiceTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.212 sec
[junit] Running test.wsdl.faults.FaultServiceTestCase
[java] - Mapping Exception to AxisFault
[java]
[java] at
test.wsdl.faults.FaultServiceSoapBindingImpl.getQuote(FaultServiceSoapBindingImpl.java:13)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:229)
[java] at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:264)
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
[java] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
[java] at
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:392)
[java] at
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:853)
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.072 sec
[junit] Running test.wsdl.filegen.AllOptionTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
[junit] Running test.wsdl.filegen.FileGenTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
[junit] Running test.wsdl.getPort.GetPortTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.811 sec
[junit] Running test.wsdl.inheritance.InheritanceTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.322 sec
[junit] Running test.wsdl.inout.DetailedInoutTestCase
[junit] Tests run: 27, Failures: 0, Errors: 0, Time elapsed: 1.082 sec
[junit] Running
test.wsdl.interop3.groupE.client.InteropTestDocLitServiceTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.292 sec
[junit] Running
test.wsdl.interop3.groupE.client.InteropTestListServiceTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.202 sec
[junit] Running
test.wsdl.interop3.groupE.client.InteropTestRpcEncServiceTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.282 sec
[junit] Running test.wsdl.literal.SalesRankNPrice_ServiceTestCase
[junit] Result: 470
[junit] Result: 3,437
[junit] Result: $34.99
[junit] Result: 29.20
[junit] Result: $39.99
[junit] price: $34.99
[junit] rank: 470
[junit] price: $39.99
[junit] rank: 13,153
[junit] Amazon rank: 470
[junit] BN rank:13,153
[junit] Amazon price:$34.99
[junit] BN price:$39.99
[junit] Amazon price:$34.99
[junit] Amazon rank: 433
[junit] BN price:$39.99
[junit] BN rank:13,153
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 29.543 sec
[junit] Running test.wsdl.marrays.MArrayTestsServiceTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.783 sec
[junit] Running test.wsdl.multibinding.MbServiceTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.132 sec
[junit] Running test.wsdl.multibinding.VerifyFilesTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.14 sec
[junit] Running test.wsdl.multiref.MultiRefTestCase
[junit] - Testing multiref sample.
[junit] - Test complete.
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.322 sec
[junit] Running test.wsdl.multithread.MultithreadTestCase
[junit] Had 90 successes (of a possible 400)
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.317 sec
[junit] Running test.wsdl.names.JavaNamesServiceTestTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.101 sec
[junit] Running test.wsdl.nested.Nested2ServiceTestCase
[junit] NAME:Becker Berlin
[junit] LOGMSGNO:123456
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.141 sec
[junit] Running test.wsdl.opStyles.OpStyleServiceTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.021 sec
[junit] Running test.wsdl.opStyles.VerifyTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.13 sec
[junit] Running test.wsdl.parameterOrder.ParameterOrderServiceTestCase
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 1.302 sec
[junit] Running test.wsdl.parameterOrder.VerifyTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.251 sec
[junit] Running test.wsdl.qualify.Qualify_ServiceTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.102 sec
[junit] Running test.wsdl.refattr.RefTestServiceTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.082 sec
[junit] Running test.wsdl.roundtrip.RoundtripTestServiceTestCase
[java] - Mapping Exception to AxisFault
[java]
[java] at
test.wsdl.roundtrip.RoundtripTestSoapBindingImpl.throwInvalidTickerException(RoundtripTestSoapBindingImpl.java:675)
[java] at
test.wsdl.roundtrip.RoundtripTestSoapBindingSkeleton.throwInvalidTickerException(RoundtripTestSoapBindingSkeleton.java:490)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:229)
[java] at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:264)
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
[java] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
[java] at
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:392)
[junit] Tests run: 35, Failures: 0, Errors: 0, Time elapsed: 2.193 sec
[java] at
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:853)
[java] - Mapping Exception to AxisFault
[junit] Running test.wsdl.sequence.SequenceTestServiceTestCase
[java]
[java] at
test.wsdl.roundtrip.RoundtripTestSoapBindingImpl.throwInvalidTradeExchange(RoundtripTestSoapBindingImpl.java:685)
[java] at
test.wsdl.roundtrip.RoundtripTestSoapBindingSkeleton.throwInvalidTradeExchange(RoundtripTestSoapBindingSkeleton.java:495)
[java] at java.lang.reflect.Method.invoke(Native Method)
[java] at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:229)
[java] at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:264)
[java] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
[java] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
[java] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
[java] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
[java] at
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:392)
[java] at
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:853)
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.071 sec
[junit] Running
test.wsdl.types.comprehensive_service.TypeTestServiceTestCase
[junit] Tests run: 62, Failures: 0, Errors: 0, Time elapsed: 3.355 sec
[junit] Running test.wsdl.types.DynamicProxyTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.722 sec
[junit] Running test.wsdl.types.VerifyTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.764 sec
[junit] Running test.wsdl.wrapped.CityBBBTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.251 sec
[junit] Running test.wsdl._import.ImportServiceTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.193 sec
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\com\themindelectric\www\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\interop\test\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\interop\testb\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopb\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopbtyped\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\mssoapinterop\interopc\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\net\xmethods\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\samples\addr\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\samples\userguide\example6\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\import2\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\arrays\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\clash\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\datatypes\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\faults\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\getPort\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\inheritance\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\inout\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\absimport2\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\groupE\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import1\step6\definitions\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import1\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import2\step6\definitions\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import2\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import3\step6\definitions\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\interop3\import3\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\marrays\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\multibinding\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\multiref\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\names\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\nested\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\opStyles\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\parameterOrder\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\qualify\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\refattr\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\roundtrip\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\sequence\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\types\comprehensive_service\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\wrapped\undeploy.wsdd
[java] - Processing file
C:\Source\Axis\update\xml-axis\java\build\work\test\wsdl\_import\undeploy.wsdd
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] <Admin>Done processing</Admin>
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=3318,localport=8088]
stop-functional-test-http-server:
[echo] Stopping test http server.
[java] - AxisListener quitting.
[java] - Administration service requested to quit, quitting.
[java] - SimpleAxisServer quitting.
[java] <Admin> quitting.</Admin>
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop successfully
sent quit message.
start-functional-test-tcp-server:
[echo] Starting test tcp server.
[java] - TCPListener is listening on port 8088.
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=3321,localport=8088]
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
start-functional-test-http-server:
[echo] Starting test http server.
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=3323,localport=8088]
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStart successfully
pinged server.
junit-functional-prepare:
start-signature-signing-and-verification:
junit-functional-secure:
[java] - SimpleAxisServer starting up on port 8080.
[junit] Running test.functional.TestBidBuySample
[junit] - Testing bidbuy sample.
[junit] - Testing deployment...
[junit] - Processing file samples/bidbuy/deploy.wsdd
[junit] <Admin>Done processing</Admin>
[junit] - Testing service...
[junit] 9000
[junit] 1 Tricorder
[junit] 3 Phasor
[junit] - Test complete.
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.602 sec
[java] - TCPListener received new connection:
Socket[addr=127.0.0.1/127.0.0.1,port=3326,localport=8088]
[java] - AxisListener quitting.
stop-signature-signing-and-verification:
stop-functional-test-http-server-secure:
[echo] Stopping test http server.
[java] <Admin> quitting.</Admin>
[java] - Administration service requested to quit, quitting.
[java] - SimpleAxisServer quitting.
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop successfully
sent quit message.
BUILD SUCCESSFUL
Total time: 3 minutes 28 seconds