[Rails] Re: Send XML Document with SOAP

Arlen
Fri, 13 Jan 2006 00:14:48 -0000

here is the SOAP responce I am recieving, is there a problem with the
way it is trying to send an XML document with in the SOAP responce? It
works fine in JAVA but i am wondering if there is an issue with the way
RUBY parses the SOAP responce.


  <?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <soap:Body>
- <GetAnswerResponse xmlns="http://tempuri.org/">
  <GetAnswerResult><?xml version="1.0"
encoding="utf-16"?><VIRTUALADVISOR><ExpressionID>1868</ExpressionID><CompositeAnswer><CAID>60</CAID><Answer> <font
face="Arial" size="2"><font face="Arial"
color="#ff00ff"> <font
color="#000000">Cal Poly&#8217;s 6,000+ acre campus is located
in San
Luis Obispo, California, midway between San Francisco and Los Angeles,
making the university one of the largest campuses in the nation in terms
of physical size. <font
color="#000000">The surrounding
area boasts mild temperatures year round and offers many types of
outdoor recreation including the Pacific beaches, local mountain areas
and nearby lakes. <font
color="#000000">Some of these
areas are: Pismo Beach, Avila Beach, Morro Bay, Lake Lopez, Lake
Nacimiento, Lake San Antonio, Hearst Castle, Bishop''s Peak and Madonna
Mountain. <font
color="#000000"><a
href="http://www.ess.calpoly.edu/_admiss/visit/index.htm"
target="_self">Directions and visitor information.
</Answer></CompositeAnswer><Question> location </Question></VIRTUALADVISOR></GetAnswerResult>
  </GetAnswerResponse>
  </soap:Body>
  </soap:Envelope>

--
Posted via http://www.ruby-forum.com/.