WSDL for ICICIDirect

#1
Hi,

Anybody know if we can get the wsdl for icicidirect so that, we can use webservice to build some easy tools to place buy/sell orders.

Thanks,
Prakash
 
#6
They may not have a WSDL.. (Their portal is slow as it is, without adding the extra load that the web services users will cause :) )

However, their buy/sell pages could be screen scraped. Since you mentioned WSDL I assume you are a programmer. If not, then ignore the following advice :)

For Example: (to buy)
1. Login.
(Watch the HTTP messages go between the browser and their server)
This will typically give you a session cookie (the ssl resolving should be handled transparently)

2. Open the Buy Page
3. Click on "View Source"
4. Check the form "Verify_order"
5. Note down all "input" elements
6. Check the values and most are static, and you can set it without even reading this page (like account number, exchange selection, etc)
Some might be dynamic (like a timestamp)
7. Get all these values as name value pair and prepare a post http command
8. Send this post message to "https://secure.icicidirect.com/trading/equity/Trading_verifyOrder.asp"
9. You will get a confirmation message
(follow the above steps to study that page as well)

And you order is placed!

If you are doing this, i would suggest you use their low bandwidth site links.. would be faster, and a cleaner html source to go through.

I could clarify anything required from this, but please donot ask me for help in implementing... Cause even though i would love to do this, i am really pressed for time these days.
 

Similar threads