Yes, I see the same thing when I view the source, it is a WDDX pocket. It is
the way CF is sending the XML to the browser as XML encapsulated in WDDX.
You can always write the XML to a file and then you get straight XML. Why
this would be  problem for your application?

TK
  -----Original Message-----
  From: Christopher Dempsey [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 02, 2004 4:48 PM
  To: CF-Talk
  Subject: RE: Returning XML via webservice, cont

  Tom,

  The displayed output is correct, but when I view the source, I see the
  <wddx> tags.  Is that the same with you?

  Chris

  On Wed, 2 Jun 2004, Tom Kitta wrote:

  > I tryed the links you supplied and I got what I expected. Can you send
me
  > what you get as your browser response? Maybe you need to clear browser
cache
  > or something. I looked at the XML raw and one returned by your CFC call
and
  > they are the same minus the formatting of the actual XML (mine doesn't
have
  > the line feeds). Check it out and tell me whatever it works now, if it
works
  > for me it should for you, right?
  >
  > TK
  >   -----Original Message-----
  >   From: Christopher Dempsey [mailto:[EMAIL PROTECTED]
  >   Sent: Wednesday, June 02, 2004 1:33 PM
  >   To: CF-Talk
  >   Subject: RE: Returning XML via webservice, cont
  >
  >
  >   Tom,
  >
  >   I tried what you recommended,
  >
  >   I have tried your method below, and it didn't work quite right.  It
still
  >   returns a WDDX packet, but now all of the XML is escaped.  The XML
file is
  >   at http://www.graddiv.ucsb.edu/ssoNavigation.xml and I am calling the
  >   below code with
http://www.graddiv.ucsb.edu/sso.cfc?method=getNavigation
  >
  >   Here is the code now.  I tried it without using the closing /> and it
had
  >   no effect.
  >
  >   <cffunction name="getNavigation" access="remote"
  >     returntype="any" displayname="Get SSO navigation XML document"
  >     hint="This method retrieves an XML document used for SSO navigation
  > bar."
  >     output="false">
  >       <cffile action="" file="D:\inetpub\wwwroot\ssoNavigation.xml"
  > variable="myString" />
  >     <cfreturn toString(myString) />
  >   </cffunction>
  >
  >   Totally bizarre.  Also tried restarting the CF service and clearing
the
  >   browser cache, no effect.
  >
  >   Thanks,
  >
  >   Chri
  >
  >
  >
  >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to