API for Proxy Server Connection

Hi,
can anybody tell me any API for Proxy Server Connection in java EXCLUDING
httpclient(apache) and setting system setting and making a urlconnection.

hey thanx for replying
Firstly i clear my requirement
I want some other way of connecting to Proxy Server Irrespective of Httpclient and setting system properties and then making url Connection ,these ways are clear to me .
I found one API HTTPClient (not belonging to apache Httpclient) its different
u check this at
http://www.innovation.ch/java/HTTPClient/api/index-all.html#_S_
But the problem is this API Does't support NTLM
i tried to found higher version of this API but i did't get .
API should support :
1. NTML
2.JDK 1.4
3.SOCKS (not necessary)
4.HTTP protocol (other like FTP ... not necessary)

Similar Messages

  • Using ACE for proxy server load balancing

    Hello groups,
    I wanted to know your experiences of using ACE for proxy server load balancing.
    I want to load balance to a pool of proxy servers. Note: load-balancing should be based on the HTTP URL (i can't use source or dest. ip address) so that
    a certain domain always gets "cached/forwarded" to the same proxy server. I don't really want to put matching
    criteria in the configuration (such as /a* to S1, /b* to S2, /c* to S3,etc..), but have this hash calculated automatically.
    Can the ACE compute its own hash based on the number of "online" proxy servers ? ie. when 4 servers are online, distribute domains between 1,2,3,4 evenly.
    Should server 4 fail, recalculate hash so that the load of S4 gets distributed across the other 3 evenly. Also load-balancing domains of S1 ,S2 and S3 should not change if S4 fails.....
    regards,
    Geert

    This is done with the following predictor command:
    Scimitar1/Admin# conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Scimitar1/Admin(config)# serverfarm Proxy
    Scimitar1/Admin(config-sfarm-host)# predictor hash ?
      address         Configure 'hash address' Predictor algorithms
      content         Configure 'hash http content' Predictor algorithms
      cookie          Configure 'hash cookie' Predictor algorithms
      header          Configure 'hash header' Predictor algorithm
      layer4-payload  Configure 'hash layer4-payload' Predictor algorithms
      url             Configure 'hash url' Predictor algorithm
    Scimitar1/Admin(config-sfarm-host)# predictor hash url
    It does hash the url and the result takes into account the number of active proxies dynamically.
    This command has been designed for this kind of scenario that you describe.
    Gilles.

  • Command for proxy server /power suppliesinformation

    Hi All,
    I want to know the proxy server for my solaris 9 machine..in windows we check internet connection we can see the proxy server setting.
    i want a command to see how many power supplies are connected to a sun solaris machine.
    Thanks,
    Pavi

    I used my SunSolve account id directly to where the URL on the page normally take you.
    wget http-user=XXXXXXX  http-passwd=YYYYY http://sunsolve.sun.com/private-cgi/pdown
    load.pl?target=120469-01&method=hs -O 120469-01.zip
    Get the xref via:
    wget http-user=XXXXXX http-passwd=YYYYYY http://sunsolve.sun.com/private-cgi/pdown
    load.pl?target=patchdiag.xref
    I've had to change this various times when Sun makes site changes though.
    I thought I had an example with Perl LWP somewhere that takes the xref over http and creates a file handle out of it suitable for a (<while_file>) type of loop. Can't find that one though, must have scrapped it for some reason. If I come across it, I'll post it for ya.
    I would think it wouldn't be to difficult to turn an xref file into something that smpatch -x could take and let it go get everything.

  • Client-Proxy-Server:  Connection refused

    I was meddling with a client-proxy-server toy program.
    Pardon my poor code construction. I have never had any previous knowledge in this field.
    I have created  a client side program with my main that handles IO serially.
    ProxY consists of 2 unscynchronized threads each interacts with client and server respectively.
    Packet exchange within ProxY is relayed using a PacketBuffer object.
    Server consist of a single threaded service. Below is the code for my main.
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Scanner;
    public class TestProxy
         public static void main(String[] args) throws IOException
              final int SERVER_PORT = 19989;
              final int PROXY_PORT = 19988;
              ServerSocket proxyServerSoc = new ServerSocket(PROXY_PORT);
              Socket proxyClientSoc = new Socket("127.0.0.9",SERVER_PORT); //127.0.0.9 is server IP
              Server serv = new Server(SERVER_PORT);                             //Server started
              ProxY prox = new ProxY(proxyClientSoc, proxyServerSoc);            //proxy started
              //Start Client side;
              Socket toProxy = new Socket("127.0.0.1", PROXY_PORT);
              InputStream in = toProxy.getInputStream();
              OutputStream out = toProxy.getOutputStream();
              Scanner keyboard = new Scanner(System.in);
              String input;
              while(true)
                   System.out.println("Enter data  : ");
                   input = keyboard.nextLine();
                   if(input.equals("exit")) break;
                   System.out.println("data in BYTE: "+input.getBytes());
                   System.out.println("Sending data to server ...");
                   out.write(input.getBytes());
                   try{
                        Thread.sleep(100);
                   catch(InterruptedException e)
                        e.printStackTrace();
                   System.out.println("Received from server :" + in.toString());
    }Compilation is a success, but there is a runtime error...
    When i attempt to run the program for the first time(tried on XP, Vista, 7, jdk1.6), windows prompts for network permission.
    Before i can [edit]unblock[edit] it, my console window shows following error
    C:\java\proxy>javac *.java
    C:\java\proxy>java TestProxy
    Exception in thread "main" java.net.ConnectException: Connection refused: connec
    t
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(Unknown Source)
            at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
            at java.net.PlainSocketImpl.connect(Unknown Source)
            at java.net.SocksSocketImpl.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at TestProxy.main(TestProxy.java:15)
    C:\java\proxy>Can someone advise me where might i be possibly wrong?
    Edited by: J-Ideas on Mar 10, 2010 10:50 PM

                   out.write(input.getBytes());
                   try{
                        Thread.sleep(100);
                   catch(InterruptedException e)
                        e.printStackTrace();
                   }What's that for?
                   System.out.println("Received from server :" + in.toString());No no no. 'in' is an input stream. in.toString() is just a string representation of that object. It certainly isn't anything received from the server. If you want to receive data from the server you must call one of the in.read() methods.
    When i attempt to run the program for the first time(tried on XP, Vista, 7, jdk1.6), windows prompts for network permission.
    Before i can [edit]unblock[edit] it, my console window shows following errorYou should separate your program into three: server, proxy, and client, each with their own main() methods, so you can deal with these problems one at a time.

  • Need XML APIs for finding server status details

    Hi,
    Can any one help me with the XML API format for finding server status details like Admin State,Avail State,Assoc State,etc.
    Thanks and Regards
    -Prateek

    Here is a very basic example.  I pulled out all the extra error trapping / logging.  I have been building a module that simplifies  most of this .. will produce simple Dumper output for what you are generally looking to do.
    The below example will connect to a default UCSM emulator ( http://developer.cisco.com/web/unifiedcomputing/start ) .. just change IP to match.  If you want a significantly more detailed information ( hierarchical ) ... change inHierarchical="false" to  inHierarchical="true".
    Let me know if you want something more specific.
    #!/usr/local/bin/perl
    use strict;
    use warnings;
    use Data::Dumper;
    use LWP::UserAgent;
    use HTTP::Request::Common;
    use XML::Simple;
    use POSIX;
    $Data::Dumper::Purity = 1;
    $Data::Dumper::Useqq = 1;
    ### Configurables
    my $ucsm = "10.#.#.#";
    my $user = "config";
    my $pass = "config";
    my $proto = "http";
    my $cookie;
    my $xml = XML::Simple->new();
    my $xml_blade = XML::Simple->new(ForceArray => ['computeBlade']);
    ## Setup User Agent
    my $ContentType = "application/x-www-form-urlencode";
    my $userAgent = LWP::UserAgent->new(agent => 'perl post');
    $userAgent->timeout(5);
    &connect;
    my $blades = &getblade;
    print Dumper $blades;
    &disconnect;
    ### Subroutines
    sub connect {
       my $message = q();
       print 'http://'.$ucsm.'/nuova\n';
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml->XMLin($response->content);
       $cookie = $xml_ref->{outCookie};
    sub getblade {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);
       my $xml_ref = $xml_blade->XMLin($response->content, keyattr => []);
       return $xml_ref->{outConfigs};
    sub disconnect {
       my $message = q();
       my $response = $userAgent->request(POST $proto.'://'.$ucsm.'/nuova', Content_Type => $ContentType, Content => $message);

  • ITunes 10.6 and proxy server connection

    Hello,
    I was using iTunes, in a network enviroment with a proxy server, since yesterday when I updated it to 10.6 version.
    Troubles began...
    My IE settings about proxy server are correct, and my network admin did not change anything in out proxy configuration. Thus, I checked IE proxy settings, and they are ok (http://support.apple.com/kb/TS1470). Restared my PC, but iTunes after the login to my proxy server (NOT with appleid of course but with my network account - and it's works, I'm sure about it) cannot go on, with a 12002 error.
    So, IMHO iTunes 10.6 proxy support is broken...

    Ok...here's a workaround for Windows based computers.  Not an ideal solution but it works. For those of you on a corporate network, I highly suggest you get this approved before you implement it.
    You will need to download and install Cntlm Authentication Proxy. The link is...
    http://sourceforge.net/projects/cntlm/files/
    Once installed...find the cntlm.ini file located in the c:\Program Files or c:\Program Files(x86) folder and open it with notepad. Modify the following lines to match your network/proxy configuration...
    Username    
    Domain        
    Password
    Proxy
    Once you save the cntlm.ini file go to Services and start the Cntlm Authentication Proxy service...or you could simply restart the computer.
    The last step is to configure your browser to use the following address as a proxy server...
    127.0.0.1 port 3128 (3128 is the default listening port used by cntlm and can be changed in the cntlm.ini file)
    As I said, this is not an ideal solution as your network username and password are stored in the cntlm.ini file as clear text and if you ever change your network password you will need to change the cntlm.ini file as well. This is also why I suggest that those of you on corporate networks get approval for this before you install since this is a potential security risk. But this does resolve the proxy authentication pop up issue with iTunes and for anyone attempting to use Dropbox and having similar proxy issues this solution works for Dropbox as well.

  • Web service client behind a proxy server connecting to web service over SSL

    Hi Friends,
    A web service is exposed by an external system over SSL. We are behind a proxy server and are trying to get connected to web service over SSL. <p>
    We are getting the following error on the test browser of workshop<p><p>
    External Service Failure: FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters.<p><p>
    the whole trace is <p>
    <p>JDIProxy attached
    <Sep 24, 2005 9:27:25 AM EDT> <Warning> <WLW> <000000> <Id=creditCheckCtrl:salesExpertServiceControl; Method=creditcheckcontr
    ol.SalesExpertServiceControl.doCreditVerification(); Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:javax.net.ssl.SSLHandshakeException
    String:FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters
    Detail:
    END SERVICE FAULT>
    <Sep 24, 2005 9:27:26 AM EDT> <Warning> <WLW> <000000> <Id=creditCheckCtrl; Method=creditcheckcontrol.CreditCheck.testCreditC
    heck(); Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:javax.net.ssl.SSLHandshakeException
    String:FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters
    Detail:
    END SERVICE FAULT [ServiceException]>
    <Sep 24, 2005 9:27:26 AM EDT> <Warning> <WLW> <000000> <Id=top-level; Method=processes.CreditCheck_wf.$__clientRequest(); Fai
    lure=com.bea.wli.bpm.runtime.UnhandledProcessException: Unhandled process exception [ServiceException]>
    <Sep 24, 2005 9:27:26 AM EDT> <Error> <WLW> <000000> <Failure=com.bea.wli.bpm.runtime.UnhandledProcessException: Unhandled pr
    ocess exception [ServiceException]><p>
    I am not able to make out what could be possibly wrong. Please let me know if you guys have any ideas about how to resolve it.
    Thanks
    Sridhar

    did you resolve this problem. I am looking at the same issue. If you did I would really appreciate your response.
    Thanks.

  • I upgraded to 8.0 and browser says its configured for proxy server and will not load pages. I dont run through a proxy

    I have had firefox since this computer was new and never had an issue. when I was prompted to update to 8.0 I thought nothing of it... but since it updated I get the error screen with: '''The proxy server is refusing connections'''
    Firefox is configured to use a proxy server that is refusing connections.
    Check the proxy settings to make sure that they are correct.
    Contact your network administrator to make sure the proxy server is
    working.

    Check the connection settings.
    *Tools > Options > Advanced : Network : Connection > Settings
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
    See "Firefox connection settings":
    *https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can

  • Looking for a server connection and hangs when I take my air home

    Everytime I open motion on my new Air it seeks a server connection and then comes back with "can't find 10.10.1.101".  It then hangs again for a few minutes with the same message. It tries a third time again with the same message and then gives up and allows me to work unimpeded.
    I trashed prefs and can't find anyway else to un-make this desire to attach itself to my work server. Any ideas out there?

    The easiest and best way is using 1) - change the SMTP server used for your work email account when at home.
    I assume you must use the SMTP server for your work account to send messages with your personal account when at work?
    There is a collection of AppleScripts available called Mail Scripts you can download at this link.
    http://homepage.mac.com/aamann/Mail_Scripts.html
    The script you want to use from the collection of scripts is Change SMTP Server (Mail) to switch between different already defined SMTP servers or define a new one. This is especially useful if you are using your computer in more than one location and have to switch servers for several accounts at once.
    Thunderbird includes a setting for changing the default SMTP server used for all accounts but this must be selected/changed by location which is not much or any different.

  • Cannot use browser asking to contact for proxy server

    cannot go to any web pages asking to contact you for proxy server

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy"
    See "Firefox connection settings":
    * [[Firefox cannot load websites but other programs can]]

  • Windwows activation URLs for proxy server

    Hi,
    I need to know what Microsoft's URLs I have to enable/enter in PROXY to make Windows activation work?
    If I enter *Microsoft.com it works. Without this entry I get 0x80072f8f.
    Thanks.
    Michael.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Hi,
    You can configure the proxy server to disable Basic authentication.
    Also, you can configure your proxy server to exclude the URLs for the certificate revocation lists (CRLs) from the requirement for Basic authentication.
    http://go.microsoft.com/
    https://sls.microsoft.com/
    https://sls.microsoft.com:443
    http://crl.microsoft.com/pki/crl/products/MicrosoftRootAuthority.crl
    http://crl.microsoft.com/pki/crl/products/MicrosoftProductSecureCommunications.crl
    http://www.microsoft.com/pki/crl/products/MicrosoftProductSecureCommunications.crl
    http://crl.microsoft.com/pki/crl/products/MicrosoftProductSecureServer.crl
    http://www.microsoft.com/pki/crl/products/MicrosoftProductSecureServer.crl
    https://activation.sls.microsoft.com
    http://support.microsoft.com/kb/921471
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Creative Cloud is asking for proxy server username and password - what is this?

    how do I find out the proxy server username and password

    Krisw30568123 do you utilize an authenticating proxy server?  If so then you will need to enter the proper credentials to access the Internet.

  • HTTP proxy server connection error

    My iPhone4S can't connect well to 3G, only works properly with WIFI connection. When i try to navegate with safari or other apps, HTTP proxy error is shown. I only receive notifications, but when i try to open the specify app: server error. Its weird, because for instance, whatsapp and mail clients like sparrow works properly with 3G. I can update my mail and send whatsapp, but i cant receive or send any attachments.
    I've tried to reset my iphone, and reset my network configuration, but the problem is still there.
    Thanks everyone!

    I had this problem. It started when I took my unlocked iPhone from Australia on a Telstra SIM to the U.S. and put in a Straight Talk SIM. I used unlockit.co.nz to generate a new APN for my phone while on Straight Talk, which worked fine.
    However, upon coming back to Australia and reinserting my Telstra SIM, I couldn't access HTTP. My VPN would start over 3G and I could get push notifications and data in some apps, but anything that used HTTP, including Safari, would give me the proxy error or a network timeout error. Wifi worked perfectly.
    I called Telstra and they said it wasn't them. I was sitting on hold with Apple Care when I thought to try inserting my colleague's Telstra SIM into my phone and, voila, it worked perfectly. I hung up and called Telstra back to complain but while on hold I put my own old Telstra SIM back in only to find that I had fixed my problem.
    So try inserting a known, working SIM from the same carrier and see if that fixes your problem. Stopping into one of their stores may be the answer if you don't have any other SIMs handy.
    I suspect that somewhere in the iPhone an HTTP proxy for 3G setting was set and stuck, and trying a new SIM erased that setting.

  • How do I stop server from looking for proxy server at 127.0.0.1?

    My system log is getting clogged with continuous attempts by the system to connect with 127.0.0.1, what I believe is a proxy address, with an error message router connection failed, broken pipe.
    I'm using a Mac Mini running OS X 10.6 server with a Time Capsule / Airport Extreme base station.
    I don't know why this service is running and I'd like to stop it if it's not necessary.
    Jim

    My system log is getting clogged with continuous attempts by the system to connect with 127.0.0.1, what I believe is a proxy address, with an error message router connection failed, broken pipe.
    I'm using a Mac Mini running OS X 10.6 server with a Time Capsule / Airport Extreme base station.
    I don't know why this service is running and I'd like to stop it if it's not necessary.
    Jim

  • How to delete meeting through API for Using Adobe Connect 8 Web Services

    Using Adobe Connect 8 Web Services support "Create meetings" API to create a Adobe Connect meeting.
    But I can't find "Delete meeting" API similar to delete meeting,Could you tell me how to delete meeting through API.
    Thanks!

    You must have used sco-create to create meeting. To delete a meeting, use sco-delete API call.
    Find its documentation here.

Maybe you are looking for