Firewall and web services

Discussion in 'ASP .Net Web Services' started by GPG, Nov 28, 2009.

  1. GPG

    GPG Guest

    I have a server behind a firewall that sends a webservice request to an
    other server placed on a different public network.
    When I get the answer, my service is not able to interpreter the data
    received and the error message dispalyed is:
    "Data source is an invalid type. It must be either an IListSource,
    IEnumerable, or IDataSource"

    The expected data is a datatable as result of a sql query.

    Same application is working fine if the firewall is not present.

    Beside the port 80, what other port should be opened to allow a correct data
    transmission?

    many thanks

    giampiero
    GPG, Nov 28, 2009
    #1
    1. Advertising

  2. GPG

    James Parker Guest

    "GPG" <> wrote in message news:heqtd5$4c7$...
    >I have a server behind a firewall that sends a webservice request to an
    >other server placed on a different public network.
    > When I get the answer, my service is not able to interpreter the data
    > received and the error message dispalyed is:
    > "Data source is an invalid type. It must be either an IListSource,
    > IEnumerable, or IDataSource"
    >
    > The expected data is a datatable as result of a sql query.
    >
    > Same application is working fine if the firewall is not present.
    >
    > Beside the port 80, what other port should be opened to allow a correct
    > data transmission?
    >
    > many thanks
    >
    > giampiero
    >


    It is possiable that the firewall and or a proxy server is modifing the
    content of the XML, or changing the headers of the responce. It might be
    worth using port 443 over an SSL connection this will stop any proxy server
    or firewalls from being able to change the responce.

    j1mb0jay

    ####################################
    http://www.dotnethelp.co.uk
    James Parker, Jan 21, 2010
    #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. Nick
    Replies:
    1
    Views:
    6,102
    Alvin Bruney - ASP.NET MVP
    Sep 12, 2005
  2. Robert Dodier
    Replies:
    6
    Views:
    2,341
    Matthias Kraft
    Sep 14, 2004
  3. Replies:
    0
    Views:
    585
  4. Sumaira Ahmad

    Curiousity- why Web Services dont work with firewall

    Sumaira Ahmad, Nov 4, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    149
    Dan Rogers
    Nov 11, 2004
  5. John
    Replies:
    4
    Views:
    413
Loading...

Share This Page