The only way I've gotten this to work is to pass it as a string

-Joe

On 8/4/05, dk @ realmagnet. com dk @ realmagnet. com <[EMAIL PROTECTED]> wrote:
> I have a webservice as follows:
> 
> 
> <cfcomponent>
> 
> <cffunction name="test" returntype="xml" access="remote">
> 
> <cfsavecontent variable="a">
> <data><name>DK</name></data>
> </cfsavecontent>
> <cfreturn xmlparse(a)>
> 
> </cffunction>
> </cfcomponent>
> 
> I am able to call it from ColdFusion but not from ASP.Net. When I try to add 
> the web reference in Visual Studio, I get this error:
> 
> "Custom tool error: Unable to import WebService/Schema. Unable to import 
> binding 'test.cfcSoapBinding' from namespace 'http://ws.mm_api'. Unable to 
> import operation 'test1'. The datatype 'Document' is missing."
> 
> Basically looks like returntype "XML" from cffunction results in the wsdl to 
> return "apachesoap: Document" (see below):
> - <wsdl:message name="test1Response">
> <wsdl: part name="test1Return" type="apachesoap: Document" />
> </wsdl:message>
> 
> The wsdl definition defines apachesoap as:
> xmlns:apachesoap = "http://xml.apache.org/xml-soap";
> 
> 
> See wsdl below.
> 
> Still .Net is not able to resolve "Document" type.
> 
> Any ideas whats happening here?? Or how I could resolve this?
> 
> Thanks,
> 
> DK
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213781
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to