Web Service returning dataset for ASP Classic?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James

    Web Service returning dataset for ASP Classic?

    I need to create a C# web service that returns a recordset for an ASP classic
    applicaiton to consume. My problem is that so far the only thing that I have
    found I can return is a dataset using ADO.NET and of course ASP classic uses
    ADO and doesn't understand a dataset. Any suggestions??
  • Marina

    #2
    Re: Web Service returning dataset for ASP Classic?

    I would return XML, since that is pretty universal.

    "James" <James@discussi ons.microsoft.c om> wrote in message
    news:4BDF73B5-54CE-4B64-8355-2E47DA2B6E8E@mi crosoft.com...[color=blue]
    >I need to create a C# web service that returns a recordset for an ASP
    >classic
    > applicaiton to consume. My problem is that so far the only thing that I
    > have
    > found I can return is a dataset using ADO.NET and of course ASP classic
    > uses
    > ADO and doesn't understand a dataset. Any suggestions??[/color]


    Comment

    • James

      #3
      Re: Web Service returning dataset for ASP Classic?

      Thank you for the suggestion. I have looked at that a bit and as far as I can
      tell it is quite a bit of work for ASP classic to read an XML file.

      My web service is parsing a long string from a mainframe cobol program into
      a recordset (may be 0 to many records) and then returning that recordset to
      the asp application.

      One thing we are considering is putting the call to the mainframe in the ASP
      application and doing the parsing there but I would like to keep that logic
      out of ASP.

      "Marina" wrote:
      [color=blue]
      > I would return XML, since that is pretty universal.
      >
      > "James" <James@discussi ons.microsoft.c om> wrote in message
      > news:4BDF73B5-54CE-4B64-8355-2E47DA2B6E8E@mi crosoft.com...[color=green]
      > >I need to create a C# web service that returns a recordset for an ASP
      > >classic
      > > applicaiton to consume. My problem is that so far the only thing that I
      > > have
      > > found I can return is a dataset using ADO.NET and of course ASP classic
      > > uses
      > > ADO and doesn't understand a dataset. Any suggestions??[/color]
      >
      >
      >[/color]

      Comment

      • Marina

        #4
        Re: Web Service returning dataset for ASP Classic?

        It must have an XML DOM parser. ASP should be capable of parsing XML, that
        seems like a pretty basic thing.

        "James" <James@discussi ons.microsoft.c om> wrote in message
        news:EAA30A58-65F6-4772-8952-9D4EED2C9148@mi crosoft.com...[color=blue]
        > Thank you for the suggestion. I have looked at that a bit and as far as I
        > can
        > tell it is quite a bit of work for ASP classic to read an XML file.
        >
        > My web service is parsing a long string from a mainframe cobol program
        > into
        > a recordset (may be 0 to many records) and then returning that recordset
        > to
        > the asp application.
        >
        > One thing we are considering is putting the call to the mainframe in the
        > ASP
        > application and doing the parsing there but I would like to keep that
        > logic
        > out of ASP.
        >
        > "Marina" wrote:
        >[color=green]
        >> I would return XML, since that is pretty universal.
        >>
        >> "James" <James@discussi ons.microsoft.c om> wrote in message
        >> news:4BDF73B5-54CE-4B64-8355-2E47DA2B6E8E@mi crosoft.com...[color=darkred]
        >> >I need to create a C# web service that returns a recordset for an ASP
        >> >classic
        >> > applicaiton to consume. My problem is that so far the only thing that I
        >> > have
        >> > found I can return is a dataset using ADO.NET and of course ASP classic
        >> > uses
        >> > ADO and doesn't understand a dataset. Any suggestions??[/color]
        >>
        >>
        >>[/color][/color]


        Comment

        Working...