• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

WSDL CFC send getMessage() Method

New Here ,
Apr 11, 2007 Apr 11, 2007

Copy link to clipboard

Copied

I am trying to create a cfc wsdl to be picked up by asp .net or whatever. Am I missing sending something, getMessage() method or something?

http://www.wrighter.com/cfca/xmlserv/users-works3.cfc?wsdl Current file.

<cfcomponent>
<cffunction name="getMessage" access="remote" returntype="xml">
<cfquery name="result" datasource="#request.dsn#">
SELECT Firstname
FROM Loger
</cfquery>
<cfxml variable="returnXML">
<?xml version="1.0" encoding="iso-8859-1"?>
<names>
<cfoutput query="result">
<name>#firstname#</name>
</cfoutput>
</names>
</cfxml>
<cfreturn returnXML>
</cffunction>
</cfcomponent>
TOPICS
Advanced techniques

Views

239

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 11, 2007 Apr 11, 2007

Copy link to clipboard

Copied

If I remember correctly, <cfxml> returns a CF XML document (not an XML string), which may not be usable by .NET. Try using <cfsavecontent> instead and see if that helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2007 Apr 18, 2007

Copy link to clipboard

Copied

So how can I test this to make sure .net or any other language can access this file

http://www.wrighter.com/cfca/toSendTheInfo/users-works5.cfc?wsdl It is password protected

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 23, 2007 Apr 23, 2007

Copy link to clipboard

Copied

LATEST
Just to follow up, did you find a solution for your problem?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation