Loading ...
Sorry, an error occurred while loading the content.

Using RT Soap Quote

Expand Messages
  • Rajeev Dave
    Has anyone used http://www.xmethods.net/detail.html?id=95 and the SOAP LIte VB i/f? I would like to see the Create Object call. I can successfully use example
    Message 1 of 2 , Nov 16, 2001
    • 0 Attachment
      Has anyone used
      http://www.xmethods.net/detail.html?id=95 and the SOAP
      LIte VB i/f?

      I would like to see the Create Object call. I can
      successfully use example that is shipped w/ the
      product


      __________________________________________________
      Do You Yahoo!?
      Find the one for you at Yahoo! Personals
      http://personals.yahoo.com
    • Paul Kulchenko
      Hi, Rajeev! ... probably something like this will work (untested): Set soaplite = CreateObject( SOAP.Lite ) Set hash = soaplite.hash( symbol , MSFT ) Set data
      Message 2 of 2 , Nov 19, 2001
      • 0 Attachment
        Hi, Rajeev!

        --- Rajeev Dave <rmdave@...> wrote:
        > Has anyone used
        > http://www.xmethods.net/detail.html?id=95 and the SOAP
        > LIte VB i/f?
        >
        > I would like to see the Create Object call. I can
        > successfully use example that is shipped w/ the
        > product
        probably something like this will work (untested):

        Set soaplite = CreateObject("SOAP.Lite")
        Set hash = soaplite.hash("symbol", "MSFT")
        Set data = soaplite.data.name("stockticker", hash)
        MsgBox
        soaplite.new.service("http://services.xmltoday.com/vx_engine/wsdl_publish.vep/realtime.wsdl").getRTQuote(data).stock_quote.last

        Just in case Perl code that works:

        print SOAP::Lite

        ->service('http://services.xmltoday.com/vx_engine/wsdl_publish.vep/realtime.wsdl')
        ->getRTQuote(SOAP::Data->name(stockticker => {symbol =>
        MSFT}))->{stock_quote}->{last};

        Best wishes, Paul.


        __________________________________________________
        Do You Yahoo!?
        Find the one for you at Yahoo! Personals
        http://personals.yahoo.com
      Your message has been successfully submitted and would be delivered to recipients shortly.