Consume Third Party Service with out adding service reference and with out proxy RRS feed

  • Question

  • How many ways   can consume Third Party Web Service. 

    While  consuming the  Third Party  service  using HttpWebRequest.I am getting the error at below line.

     using (Stream stream = request.GetRequestStream())

    Exception:WebException was UnHndled.


    The remote server returned an error: (407) Proxy Authentication Required.

    How to resolve this issue or any other way can  consume third party Service.

    Thanks & Regards,



    Monday, August 22, 2016 5:13 AM


  • Hi MohanV,

    >> How many ways   can consume Third Party Web Service

    In my option, consuming web service is to send a request to web service. You could try HttpWebRequest, WebRequest or Ajax to send the request with URL.

    >> The remote server returned an error: (407) Proxy Authentication Required The remote server returned an error: (407) Proxy Authentication Required

    Based on this error message, it seems you need to provide proxy authentication. I think you could enable setting “bypass proxy server for local addresses” in IE, or disable automatic proxy detection at the request level by using a null Proxy with your request. You could refer the links below:

    # REST API question

    # HttpWebRequest (REST API) question

    Since your service is a third party service, I suggest you connect the service developer for help. They know how the service implements, and how to call service with setting properties like request URL, parameters and etc.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by MohanV Monday, August 29, 2016 7:12 AM
    Monday, August 22, 2016 7:35 AM