I can create the following document in code (basically created the same file in Java that can be used in the other product), but I don't know how to setup axis to correctly send the document as a true document type. The receiving end is using a Microsoft product (VFP with MS Toolkit 3) and does not understand what an apachesoap document is. Is there a way around this when trying to return a type document? Is there such a thing as a generic document?
Here is the XML file that I am trying to return, notice that is includes an inline xsd file. <?xml version = "1.0" encoding="UTF-8" standalone="yes"?> <VFPData> <xsd:schema id="VFPData" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:element name="VFPData" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="sample" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:sequence> <xsd:element name="character" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="10"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="currency" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:totalDigits value="19"/> <xsd:fractionDigits value="4"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="numeric" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:totalDigits value="4"/> <xsd:fractionDigits value="2"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="float" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:totalDigits value="4"/> <xsd:fractionDigits value="2"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="date" type="xsd:date" minOccurs="0"/> <xsd:element name="datetime" type="xsd:dateTime" minOccurs="0"/> <xsd:element name="double" type="xsd:double" minOccurs="0"/> <xsd:element name="integer" type="xsd:int" minOccurs="0"/> <xsd:element name="logical" type="xsd:boolean" minOccurs="0"/> <xsd:element name="memo" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="2147483647"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:choice> <xsd:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/> </xsd:complexType> </xsd:element> </xsd:schema> <sample> <character>test</character> <currency>10.2500</currency> <numeric>5.25</numeric> <float>5.25</float> <date>2004-11-18</date> <datetime>2004-11-18T21:26:05</datetime> <double>5.25</double> <integer>5</integer> <logical>true</logical> <memo>This is a test This is a test </memo> </sample> </VFPData> Thanks, Ken Lee