tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Battersby" <brian...@rnktel.com>
Subject SOAP Requests using the IO taglib
Date Wed, 04 Jan 2006 23:23:33 GMT
I am currently able to get the correct data back from our Web Service using
the following taglib data:

 

 

<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>

 

However, the data is just displayed in the HTML page as a raw string.  I
would like to store the data in a parameter in the right structure.  The
structure of the data should be as follows:

 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetSubjectStatusListResponse xmlns="http://216.143.130.38/">
      <GetSubjectStatusListResult>
        <SubjectData>
          <Dnis>long</Dnis>
          <NumConnections>int</NumConnections>
          <NumWaiting>int</NumWaiting>
        </SubjectData>
        <SubjectData>
          <Dnis>long</Dnis>
          <NumConnections>int</NumConnections>
          <NumWaiting>int</NumWaiting>
        </SubjectData>
      </GetSubjectStatusListResult>
    </GetSubjectStatusListResponse>
  </soap:Body>

</soap:Envelope>

 

How can I achieve this using the I/O taglib?

Thank you,
Brian Battersby


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message