IRESS Web Services
Send feedback on this topic.
Contents
Issues when Converting from the old version
-
End Point URLs
To Use the new version of the IRESS Web Services the New End Point URLs must be used
The new End Point URLs are located at http://webservices.iress.com.au/xmldata/200304/
so for example if you wanted to access our PriceXMLReq object:
The old end point is located at http://webservices.iress.com.au/xmldata/PriceXMLReq.asp
The new end point is located at http://webservices.iress.com.au/xmldata/200304/PriceXMLReq.asp
-
SOAPAction Headers
Our SOAPAction headers now make proper user of namespaces an example of one is shown below:
<HTTPHeaders>
<soapaction>"http://webservices.iress.com.au/xmldata/200304/Logon/action/Logon.CreateSessionKey"</soapaction>
<content-type>text/xml; charset="UTF-8"</content-type>
<user-agent>SOAP Toolkit 3.0</user-agent>
<host>localhost:8080</host>
<content-length>611</content-length>
<connection>Keep-Alive</connection>
<cache-control>no-cache
<pragma>no-cache<pragma>
</HTTPHeaders>
-
XMLResponses
A slight change has also been made to the xml responses
that are returned to the user. Instead of the XMLs root node
containing <DFSXMLData-ObjectName> it now contains
<IRESSXMLData-ObjectName> an example is shown below:
Old Version
<?xml version="1.0" ?>
<DFSXMLData-PriceXMLReq>
<GetPriceQuote Security="BHP" Exchange="ASX" Options="0" AsOf="2003-07-15T15:25:29" Error="0">
<PriceQuote Exchange="ASX" LastPrice="915.000000" Movement="3.000000" AskPrice="915.000000" TradeTime="152524" SecurityStatus="32" UpdateTime="152523" MktValue="106855424.000000" TradeDate="20030715" ReportCode="R" QuoteBasis="" SecurityType="100" HighPrice="925.000000" BidVolume="68736.000000" AskVolume="19657.000000" BidFlag="32" AskFlag="32" CumVolume="13816970.000000" LowPrice="914.000000" OpenPrice="921.000000" CumValue="127006144.000000" BidNum="3.000000" AskNum="1.000000" MktVolume="11621947.000000" BidPrice="914.000000" UnadjustedLastPrice="0.000000" Trades="2056" ErrorNo="8" />
</GetPriceQuote>
</DFSXMLData-PriceXMLReq>
New Version
<?xml version="1.0" ?>
<IRESSXMLData-PriceXMLReq>
<GetPriceQuote Security="BHP" Exchange="ASX" Options="0" AsOf="2003-07-15T15:25:29" Error="0">
<PriceQuote Exchange="ASX" LastPrice="915.000000" Movement="3.000000" AskPrice="915.000000" TradeTime="152524" SecurityStatus="32" UpdateTime="152523" MktValue="106855424.000000" TradeDate="20030715" ReportCode="R" QuoteBasis="" SecurityType="100" HighPrice="925.000000" BidVolume="68736.000000" AskVolume="19657.000000" BidFlag="32" AskFlag="32" CumVolume="13816970.000000" LowPrice="914.000000" OpenPrice="921.000000" CumValue="127006144.000000" BidNum="3.000000" AskNum="1.000000" MktVolume="11621947.000000" BidPrice="914.000000" UnadjustedLastPrice="0.000000" Trades="2056" ErrorNo="8" />
</GetPriceQuote>
</IRESSXMLData-PriceXMLReq>
New PDS Feed
-
Notes on the PDS feed
As many of you may already know, the ASX has discontinued the Signal G company announcements
data feed. For IRESS Web Service clients, this means you cannot obtain any new text
headlines or their corresponding stories using the vendor code "G".
The ASX is providing PDF files as the replacement for the Signal G feed.
We have given these headlines the vendor code "PDS".
If you have been using the vendor code "G" with the IRESS Web Services methods, you will now need to use the code "PDS".
The TextHeadlinesXMLReq method GetTextHeadlines has been extended to include an additional
attribute, "URL". This URL can be used to obtain the PDF file. Note, the URL contains a
session key, which will expire after 30 minutes.
The URL is currently interactive, in that, if the user is permission for 20 minute delayed
PDF stories, a frameset is show, with the option to visit the ASX web site for a lower
quality PDF file. We intend to add a arguments to this page to disable this user
interaction, allowing the site using the web service to provide their own pages for this
situation. As an alternative, you can request text headlines which are more than 20
minutes old.
-
Example Request
<?xml version="1.0" ?>
<IRESSXMLData-TextHeadlinesXMLReq>
<GetTextHeadlines Code="bhp" Vendors="PDS" TimeFrom="2003-07-15T00:00:00" TimeTo="2003-07-15T23:00:00" RowCount="20" Options="0" AsOf="2003-07-15T16:06:49" Error="0">
<TextHeadline Code="BHP" Vendor="PDS" NoText="0" TimeStamp="2003-07-15T12:05:04.670" Headline="WPL: WA-4-L Cateret-1" MarketSensitive="Y" GMT="2003-07-15T02:05:04" NumPages="1"
URL="http://research.iress.com.au/ids/pds.asp?uid=AF72277C168CFD189D02AF46ED792A64290000008C3B411C3677E240414F00002B020000&dt=20030715&id=00370524&mp=1" />
</GetTextHeadlines>
</IRESSXMLData-TextHeadlinesXMLReq>