c# Client app proxy? WebServices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alag20
    New Member
    • Apr 2007
    • 84

    c# Client app proxy? WebServices

    Hi,
    I am making a .net WSDL webservices which I aim to use to transfer files between the server and various clients.

    My issue is that some of the clients may have proxy servers running on their machines. I don't mave a lot of idea about proxies, though I have set it up in IE before. Can anyone guide me what different code do i need to call or what changes do i need to make at client end to call the webservice.

    Please help urgently - and thanks in advance.
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Add a web reference to your project.
    Add a using statement so that your code can access the web reference. Assign values to the web service request object.
    Send the request object to the web service using a web method and assign the return value to a web service response object.
    Do something based on the response object returned.
    Nathan

    Comment

    • alag20
      New Member
      • Apr 2007
      • 84

      #3
      Hi,
      I have already written a web service and a client which works fine when its not on a proxy server. But as soon as app in on proxy server, it doesnt work anymore!

      Comment

      • nateraaaa
        Recognized Expert Contributor
        • May 2007
        • 664

        #4
        Are you getting errors? We will need more information on what is not working to help you solve your problem.

        Nathan

        Comment

        • alag20
          New Member
          • Apr 2007
          • 84

          #5
          Sorry for going missing for the last few weeks as I have been away!

          I havent tried it yet but I know from past experience that you need to handle proxies for any communication over proxy network!

          Comment

          Working...