Hi,
CFMX 7 support the function return XML object type. I'm using this feature
to write a web service and return a XML object. In the other side, use a Visual
Studio.NET as a web service comsumer. It gets error like below:
=====Error Begin======
Custom tool error: Unable to import WebService/Schema.
Unable to import binding 'image_server.cfcSoapBinding'

from namespace 'http://image_server'. Unable to import operation
'Agent_Pics_From_Search'.
The datatype 'Document' is missing.
=====Error End======

It looks like the XML object causes the problem which I found out it's apache
namespace which seems to cause the problem. Could someone sugguest how to solve
this? I post the wsdl as below:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://image_server"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://image_server" xmlns:intf="http://image_server"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://rpc.xml.coldfusion"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Macromedia ColdFusion MX version 7,0,0,91690-->
<wsdl:types>
<schema targetNamespace="http://rpc.xml.coldfusion"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="CFCInvocationException">
<sequence/>
</complexType>
</schema>
</wsdl:types>

<wsdl:message name="Agent_ListRequest">

<wsdl:part name="machine_type" type="xsd:string"/>

<wsdl:part name="current_page" type="xsd:double"/>

</wsdl:message>

<wsdl:message name="Agent_ListResponse">

<wsdl:part name="Agent_ListReturn" type="apachesoap:Document"/>

</wsdl:message>

<wsdl:message name="CFCInvocationException">

<wsdl:part name="fault" type="tns1:CFCInvocationException"/>

</wsdl:message>

<wsdl:portType name="xml">

<wsdl:operation name="Agent_List" parameterOrder="machine_type
current_page">

<wsdl:input message="impl:Agent_ListRequest"
name="Agent_ListRequest"/>

<wsdl:output message="impl:Agent_ListResponse"
name="Agent_ListResponse"/>

<wsdl:fault message="impl:CFCInvocationException"
name="CFCInvocationException"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="xml.cfcSoapBinding" type="impl:xml">

<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="Agent_List">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="Agent_ListRequest">

<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://image_server" use="encoded"/>

</wsdl:input>

<wsdl:output name="Agent_ListResponse">

<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://image_server" use="encoded"/>

</wsdl:output>

<wsdl:fault name="CFCInvocationException">

<wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="CFCInvocationException" namespace="http://image_server" use="encoded"/>

</wsdl:fault>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="XML-object">

<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
Image Server CFC </wsdl:documentation>

<wsdl:port binding="impl:xml.cfcSoapBinding" name="xml.cfc">

<wsdlsoap:address
location="http://push.smackinc.com:8501/image_server/xml.cfc"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>