Mark Swanson wrote:
3. There are no build instructions on how to build the XmlBeans optional
component in the docs/building-axis.html document.
If anyone has such build instructions, please post.
Note: I tried to copy the Xmlbeans-2.0.0 libs into the axis-1_2_1/lib
dir. I received this when I tried to compile:
compile:
[depend] Deleted 0 out of date files in 0 seconds
[javac] Compiling 4 source files to
/home/mswanson/downloads/java/axis-1_2_1/build/classes
[javac]
/home/mswanson/downloads/java/axis-1_2_1/src/org/apache/axis/encoding/ser/xbeans/XmlBeanSerializer.java:132:
selectChildren(org.apache.xmlbeans.XmlObject,java.lang.Class) in
org.apache.axis.encoding.ser.xbeans.XmlBeanSerializer cannot be applied
to (org.xmlsoap.schemas.wsdl.TTypes,java.lang.Class)
[javac] XmlObject[] kids = selectChildren
[javac] ^
[javac]
/home/mswanson/downloads/java/axis-1_2_1/src/org/apache/axis/encoding/ser/xbeans/XmlBeanSerializer.java:142:
types org.apache.xmlbeans.XmlObject and
org.w3.x2001.xmlSchema.SchemaDocument.Schema are incompatible; both
define copy(), but with different return type
[javac] schemas[j] = (SchemaDocument.Schema)
kids[j];
[javac] ^
[javac]
/home/mswanson/downloads/java/axis-1_2_1/src/org/apache/axis/encoding/ser/xbeans/XmlBeanSerializer.java:170:
cannot resolve symbol
[javac] symbol : method newDomNode (org.apache.xmlbeans.XmlOptions)
[javac] location: interface org.xmlsoap.schemas.wsdl.TDefinitions
[javac] Node defEl = definitions.newDomNode(new
XmlOptions()
[javac] ^
[javac] 3 errors
BUILD FAILED
/home/mswanson/downloads/java/axis-1_2_1/build.xml:98: Compile failed;
see the compiler error output for details.
--
Free replacement for Exchange and Outlook (Contacts and Calendar)
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb