Brian Battersby wrote:

> I need to get the data back in XML format so I can parse out the individual
> elements.  For some reason, I was expecting the above response.  Now I
> didn't write the Web Service.  Do you think that the Web Service is not
> sending back the proper SOAP response?

It *is* in that XML format -- trust me, I tried it -- and you can
see it if you use "view source" :-)

Alternatively, paste this into a file -- call it soap.jsp or
whatever (and I assume you have the JSTL jars installed) --

------------------------------------------------------------------------
<%@ page contentType="text/xml" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/io-1.0"; prefix="io" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

<c:set var="result">
<io:soap
    url="http://216.143.130.38:1080/rnksoapservice.asmx";
    SOAPAction="http://216.143.130.38/GetSubjectStatusList";>
 <io:body>
  <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
    <SOAP-ENV:Body>
      <m:GetSubjectStatusList xmlns:m="http://216.143.130.38/"/>
    </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
 </io:body>
</io:soap>
</c:set>

${result}
--------------------------------------------------------------------

Open the page in Firefox and you'll see the XML displayed; you'd
normally just see the text because, served as (X)HTML, browsers
don't intrinsically understand tags like "NumConnections"...

HTH,
-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to