Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7824541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:38:01+00:00 2026-06-02T08:38:01+00:00

I have set up a pass through proxy service in WSO2 ESB which connects

  • 0

I have set up a pass through proxy service in WSO2 ESB which connects to a WSO2 Data Services Server service. I would like to restrict access to this proxy service to only those I have defined. If I go to the URL of the proxy service I get a user/pass prompt which works if I manually type the credentials, but I want to make a GET call to the URL so I don’t have that credential prompt.

How can I set up the proxy/service to pass the authentication through a GET call? Is there a “best practice” way that I can do it so I can reuse it?

I’m new to WSO2 ESB and Data Services Server so any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:38:02+00:00Added an answer on June 2, 2026 at 8:38 am

    I ended up using this in C#:

    WebRequest myRequest = WebRequest.Create("https://host.domain.com:8243/services/ProductsProxy.ProductsProxyHttpEndpoint/ProductID/123456");
    
    // Set 'Preauthenticate'  property to true.  Credentials will be sent with the request.
    myRequest.PreAuthenticate = true;
    
    string UserName = "myuser";
    string Password = "myPassword";
    
    // Create a New 'NetworkCredential' object.
    NetworkCredential networkCredential = new NetworkCredential(UserName, Password);
    
    // Associate the 'NetworkCredential' object with the 'WebRequest' object.
    myRequest.Credentials = networkCredential;
    
    // Set a timeout value
    myRequest.Timeout = 100;
    
    //Trust all certificates since I'm just doing dev and don't have a cert yet.
    System.Net.ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) => true);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have WSO2 DSS set up to return data like this: <Products> <Product> <SKU>12345678910123</SKU>
I have set up 2 servers which are linked. From my LOCAL SERVER, I
I have set up a query string to pass info through to paypal and
I have a subscription to a paid HTTP proxy service, which requires login and
I have a number of Java Server Pages set up already and I would
I have created a service (Products) which accepts a ProductID value and returns data.
I have an internal proxy that fetches data from my own server and displays
I have a website with several forms that all pass the same set of
I have set up Team Foundation Server - Team Web Access SP1. I can
I have set up a Core Data model where I have two objects, say

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.