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

cfquery wsdl

New Here ,
Nov 07, 2008 Nov 07, 2008
What am I missing here? I'm trying to have coldfusion run a query (which works) and then return it to a remote script. All my webservice stuff works, I'm just not sure how to send the result back.

What is the return type here? I'd like to return it as an array .
209
Translate
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

correct answers 1 Correct answer

LEGEND , Nov 07, 2008 Nov 07, 2008
username=bagus wrote:
>
> What is the return type here? I'd like to return it as an array .
>

Then your return type would be 'array'. But you will have to convert
the query record set into an array of your choice. Simple functions and
|or loops can easily be utilized to do this.

Otherwise you can set the return type as 'query' which is translated by
most web service consumers as some type of specialized array|hash
array|structure complex variable.
Translate
LEGEND ,
Nov 07, 2008 Nov 07, 2008
LATEST
username=bagus wrote:
>
> What is the return type here? I'd like to return it as an array .
>

Then your return type would be 'array'. But you will have to convert
the query record set into an array of your choice. Simple functions and
|or loops can easily be utilized to do this.

Otherwise you can set the return type as 'query' which is translated by
most web service consumers as some type of specialized array|hash
array|structure complex variable.
Translate
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