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

Webservice with returntype XML not working

Explorer ,
Aug 20, 2008 Aug 20, 2008

Copy link to clipboard

Copied

I have a really basic webservice created in a CFC. It returns an XML doc. When I call it as a webservice, I get an error that it contains bad types. If I change the return type to string, it works fine.

If I call it as a CFC, it works fine and returns valid XML. What's the deal?
TOPICS
Advanced techniques

Views

290

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 ,
Aug 22, 2008 Aug 22, 2008

Copy link to clipboard

Copied

Remove the
<cfset qGetPCAList=""> at the begining

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
Explorer ,
Aug 22, 2008 Aug 22, 2008

Copy link to clipboard

Copied

LATEST
Thanks for your reply... I think that gets me closer. I'm now getting this error:

Fatal Error: URI=null Line=332: The element type "meta" must be terminated by the matching end-tag "</meta>".

Of course, there's no meta element in my code. The generated WSDL looks like this:

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