0 Replies Latest reply on Apr 27, 2006 4:40 PM by Dong Zhang

    jstl can't read soap message consistently

    Dong Zhang Newbie

      Hi,
      I have a soap.jsp to read soap msg. But sometimes I got msg, sometime I didn't. The IIS server shows having built and sent the msg.

      soap.jsp runs on JBoss 4.0.3, here is the code
      =====================================
      <%@ taglib uri="http://jakarta.apache.org/taglibs/io-1.0" prefix="io" %>
      <%@ taglib uri="WEB-INF/tld/c.tld" prefix="c" %>

      <c:set var="soapresponse" scope="application">
      <io:soap
      url="http://xxx.xxx.xx.xx:1080/test.asmx"
      SOAPAction="http://xxx.xx.xx.xxx/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://2xx.xxx.xxx.xx/"/>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
      </io:body>
      </io:soap>
      </c:set>

      ##<c:out value="${soapresponse}"/>###
      ===============================
      sometimes, the c:out didn't print anything

      Is jar/lib changed? I tried latest also.

      Thanks for your help.
      Dong