Consume Web Services and output to file

Discussion in 'ASP .Net Web Services' started by etl, Feb 10, 2006.

  1. etl

    etl Guest

    I would like to find out whether we can consume the web service and output
    it to file. Basically saving it as an xml.
    What I am trying to achieve is to read the xml file for later use on other
    web pages. It is to reduce the amount of traffic to the database. Does
    anyone have sample codes on how to achieve this or point me to the resources
    on the net?

    Thanks

    ET
     
    etl, Feb 10, 2006
    #1
    1. Advertising

  2. etl

    Simon Hart Guest

    You need to create your own overridden SoapExtension class and
    SoapExtensionAttribute class, then append the SOAP attribute to the
    [WebMethod] attribute.

    Lookup SOAP Extensions on MSDN for more information.

    Cheers
    Simon Hart.

    "etl" <> wrote in message
    news:...
    >I would like to find out whether we can consume the web service and output
    >it to file. Basically saving it as an xml.
    > What I am trying to achieve is to read the xml file for later use on other
    > web pages. It is to reduce the amount of traffic to the database. Does
    > anyone have sample codes on how to achieve this or point me to the
    > resources on the net?
    >
    > Thanks
    >
    > ET
    >
     
    Simon Hart, Feb 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saumendra
    Replies:
    0
    Views:
    1,269
    Saumendra
    Jun 24, 2003
  2. Michael Hatmaker
    Replies:
    2
    Views:
    670
    Michael Hatmaker
    Sep 15, 2004
  3. Vijay
    Replies:
    0
    Views:
    231
    Vijay
    May 12, 2004
  4. Michael Hatmaker

    Problems getting Python client (SOAPpy) to consume .NET web services

    Michael Hatmaker, Sep 13, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    353
    Michael Hatmaker
    Sep 15, 2004
  5. dgleeson422111

    consume local web service -ok consume remote service - Not OK

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    1,663
    dgleeson422111
    Jan 31, 2010
Loading...

Share This Page