11gR1 - using SOAP_CLIENT as protocol to connect to worklist service fails

Hi,
We are trying to use the SOAP_CLIENT protocol to connect to the BPEL worklist service using a standalone java application.
The code to connect is:
IWorkflowServiceClient wfSvcClient = null;
IWorkflowContext wfCtx = null;
Map<CONNECTION_PROPERTY,String> properties = new HashMap<CONNECTION_PROPERTY,String>();
properties.put(CONNECTION_PROPERTY.SOAP_END_POINT_ROOT,"http://localhost:8001");
properties.put(CONNECTION_PROPERTY.SOAP_IDENTITY_PROPAGATION,"non-saml");
//properties.put(CONNECTION_PROPERTY.SECURITY_POLICY_URI,"oracle/wss10_saml_token_client_policy");
//properties.put(CONNECTION_PROPERTY.MANAGEMENT_POLICY_URI,"oracle/log_policy");
//wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT);
wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.SOAP_CLIENT,properties,null);
ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
try {
wfCtx = querySvc.authenticate("weblogic","welcome1".toCharArray(),null);
} catch (WorkflowException wfe) {
System.out.println(wfe);
We receive the following error:
\oracle.jps_11.1.1\jps-ee.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-internal.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jacc-spi.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.pki_11.1.1\oraclepki.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_core.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_cert.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.iau_11.1.1\fmw_audit.jar;C:\oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.idm_11.1.1\identitystore.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\adf-share-support.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;C:\oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar worklistclientproj.WorklistClient
21-Aug-2009 7:10:46 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: C:\JDeveloper\mywork\TestWorklistClientApp\WorklistClientProj\.\config\jps-config.xml (The system cannot find the path specified)
SEVERE: WSM-09004 Component auditing cannot be initialized.
SEVERE: WSM-09004 Component auditing cannot be initialized.
INFO: WSMAgent is initialized for category=management, function=agent.function.client, topologyNodePath=/wls/default/EJBs/default/COMPONENTs/default/WEBSERVICECLIENTs/TaskQueryService/PORTs/TaskQueryServicePort/INTERCEPTORs/, isJ2EE=false
SEVERE: java.io.FileNotFoundException: C:\JDeveloper\mywork\TestWorklistClientApp\WorklistClientProj\.\config\jps-config.xml (The system cannot find the path specified)
SEVERE: WSM-09004 Component auditing cannot be initialized.
SEVERE: WSM-09004 Component auditing cannot be initialized.
INFO: WSMAgent is initialized for category=security, function=agent.function.client, topologyNodePath=/wls/default/EJBs/default/COMPONENTs/default/WEBSERVICECLIENTs/TaskQueryService/PORTs/TaskQueryServicePort/INTERCEPTORs/, isJ2EE=false
Exception in thread "main" oracle.bpel.services.workflow.client.WorkflowServiceClientException: oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.lang.NullPointerException
     at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.getTaskDetailsById(AbstractDOMTaskQueryServiceClient.java:564)
     at worklistclientproj.WorklistClient.main(WorklistClient.java:43)
Caused by: oracle.bpel.services.workflow.client.WorkflowServiceClientException: java.lang.NullPointerException
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:212)
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.getTaskDetailsById(TaskQueryServiceSOAPClient.java:318)
     at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.getTaskDetailsById(AbstractDOMTaskQueryServiceClient.java:556)
     ... 1 more
Caused by: java.lang.NullPointerException
     at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:206)
     ... 3 more
Process exited with exit code 1.
Has anyone else successfully connected to the BPEL worklist service using the client APIs using the SOAP_CLIENT protocol?

Fixed it.
Came down to a mistake in the Group/Secret.
Finally realized that I had mis-interpretted where the VPN Group was configured.
Thought I had made the Group = CiscoVPN
by looking at
crypto isakmp key CiscoVPN address 0.0.0.0 0.0.0.0
But really the Group = EZVPN
Can see this at
crypto isakmp client configuration group EZVPN
The
%CRYPTO-6-IKMP_MODE_FAILURE: Processing of Aggressive mode failed with peer at 97.83.99.146
message ended up being a simple mismatch of the Phase 1 Group/Secret combination.

Similar Messages

  • Connection to license service failed; license service address is not valid...

    Connection to license service failed; license service address is not valid, or license service is stopped (or does not respond), ConnectToCompanyReturn = -131 in ConnectToCompany()
    This is the error I received from an addon.  It works running it on the server where the SAP license is but as soon as a SAP client starts and the addon tries to connect I receive the error but I don't understand there's no different about the SAP code given to connect an addon.
    Here's the method in which it fails
    private int ConnectToCompany()
        int ConnectToCompanyReturn = 0;
        // // Establish the connection to the company database.
        ConnectToCompanyReturn = oCompany.Connect();
        if (ConnectToCompanyReturn != 0)
            string Message = oCompany.GetLastErrorDescription() + ", ConnectToCompanyReturn = " + ConnectToCompanyReturn.ToString() + " in ConnectToCompany()";
            System.Windows.Forms.MessageBox.Show(Message);
            System.Threading.Thread.CurrentThread.Abort();
        return ConnectToCompanyReturn;
    It just hangs on the ConnectToCompanyReturn = oCompany.Connect();
    I did addons for about 8 years.  This is the first time I see an addon not connecting like that.  Any ideas ?
    SAP 9 PL09 Hotfix 1
    The SAP client works fine,  Coresuit addon connects all right so I'm lost here !

    Here's the code used in the addon which is the same since 2005 followed by the code that calls these methods from the constructor.  These methods are called the same way.
    private bool SetApplication()
        //  Use an SboGuiApi object to establish connection
        //  with the SAP Business One application and return an
        //  initialized appliction object
        string sConnectionString = "";
        SAPbouiCOM.SboGuiApi SboGuiApi = null;
        try
            if (System.Diagnostics.Debugger.IsAttached && System.Environment.GetCommandLineArgs().Length < 2)
                System.Windows.Forms.MessageBox.Show("SAP isn't running or you're trying to debug in Release mode...");
                return false;
            SboGuiApi = new SAPbouiCOM.SboGuiApi();
            //  By following the steps specified above, the following
            //  statment should be suficient for either development or run mode
            sConnectionString = System.Environment.GetCommandLineArgs().GetValue(1).ToString().Trim();
            // Connect to a running SBO Application
            SboGuiApi.Connect(sConnectionString);
            //  Get an initialized application object
            SBO_Application = SboGuiApi.GetApplication(-1);
            return true;
        catch (Exception ex)
            throw new Exception(ex.Message);
    private int SetConnectionContext()
        int setConnectionContextReturn = 0;
        try
            string sCookie = null;
            string sConnectionContext = null;
            // First initialize the Company object
            oCompany = new SAPbobsCOM.Company();
            // Acquire the connection context cookie from the DI API.
            sCookie = oCompany.GetContextCookie();
            // Retrieve the connection context string from the UI API using the
            // acquired cookie.
            sConnectionContext = SBO_Application.Company.GetConnectionContext(sCookie);
            // Before setting the SBO Login Context make sure the company is not
            // connected
            if (oCompany.Connected == true)
                oCompany.Disconnect();
            // Set the connection context information to the DI API.
            setConnectionContextReturn = oCompany.SetSboLoginContext(sConnectionContext);
            return setConnectionContextReturn;
        catch (Exception ex)
            throw new Exception(ex.Message);
    private int ConnectToCompany()
        int Result = 0;
        // Establish the connection to the company database.
        Result = oCompany.Connect();
        if (Result != 0)
            string Message = oCompany.GetLastErrorDescription() + ", ConnectToCompanyReturn = " + Result.ToString();
            System.Windows.Forms.MessageBox.Show(Message);
            System.Threading.Thread.CurrentThread.Abort();
        return Result;
    This is in the Constructor
    public Addon()
        //  set SBO_Application with an initialized application object
        SetApplication();
        SetFilters();
        if ((SetConnectionContext() == 0))
            if (ConnectToCompany() == 0)
                SBO_Application.AppEvent += new SAPbouiCOM._IApplicationEvents_AppEventEventHandler(SBO_Application_AppEvent);
                SBO_Application.MenuEvent += new SAPbouiCOM._IApplicationEvents_MenuEventEventHandler(SBO_Application_MenuEvent);
                SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler(SBO_Application_ItemEvent);
                SBO_Application.FormDataEvent += new _IApplicationEvents_FormDataEventEventHandler(SBO_Application_FormDataEvent);
            if (SBO_Application.Language == BoLanguages.ln_French)
                SBO_Application.StatusBar.SetText("Addon Wizard de prix activé...", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success);
            else
                SBO_Application.StatusBar.SetText("Addon Price Wizard actived...", BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Success);

  • "Cannot get mail, connection to the service failed". why and how do I repair it?

    "Cannot get mail, connection to the service failed". why and how do I repair it?

    Thanks. However...these links are to basic troubleshooting.  Good stuff, except I -- like it seems others -- have multiple email accounts coming into their iPhones (my case, iPhone 5 running latest version of iOS) that until this past Friday evening (September 12, 2014).... worked perfectly, then just all stopped.
    In my case, I also lost access to an internet forum I frequent multiple times daily.  All worked fine, until things abruptly stopped working the evening of September 12.
    Seems like anything with a stored login/password got hosed.
    I went into the profiles to make sure my passwords were still there (thought they may have somehow gotten wiped out), but they were there.  I re-entered them just in case, no change.
    Now just this morning, Sunday September 14, two emails from the same (employer) email account have trickled in.  But nothing from the others (gmail, yahoo mail).
    Spouse is having same issue on an iPhone 5.

  • EIS connection  with Shared services failed.

    HI All,
    I m using EIS for data load ,and getting error while test connection with Shared service. while its connectiong with essbase with default user "admin"
    Error :
    java runtime environmant may not be set appropriately on the server machine...0[main] INFO httpclient.HttpMethodDirector - Failure authentication with BASIC 'weblogic server@Servername:58080 EIEINIT failed. Eleinit:java.lang.Exception: Login to EIE on Server thru CSS Token failed.'
    Please suggest.
    Thank you.

    As per my knowledge , shared services support from EIS has been removed from 9.3 on.

  • Cannot get mail, connection to the service failed after iOS7

    After upgrading to iOS7, I am getting repeated "Cannot Get Mail:  The connection to the server failed." message everytime I open the email.  I click OK and after it goes away, I do get email later.  But it happens everytime now.  Reset the iPad but still happening.  Do I have to hard reset the darn thing?  Any ideas?

    Don't hard reset.
    Instead, go to Settings/Mail, Contacts, Calendars and the to Accounts. Note the settings for your iPad, then delete the account - and then reenter the information. Make sure it's 100% correct.
    Many, many people - myself included - had to reenter email settings after the iOS7 update.

  • A question regarding using a JDBC class to connect with cloud service database

    Hello,
    I am currently working on a small scale cloud service report where the company I chose is obviously Oracle. My question is regarding the cloud service in the following way. I was doing my report with the free trial until it just came to me that
    why not to do a small one class program with my netBeans or Eclipse that uses JDBC but I am not sure what username, password and the url to use in the connection to retrieve, manipulate and store values. Can somebody help me please if this is possible or not?
    edit: Anyone please? I have a deadline in 15.8. and could create something great until then if I get the anwser in few days

    To correct my question, I already have the oracle account and I created the cloud service trial account with database and java section.

  • Adobe Connect Enterprise Server service fails at startup

    New to Adobe forums so please excuse if this is not the correct place for this topic.  I am attempting to migrate database content from a production DB to a test DB and make it accessable by the test server.  I did successfully tranfer all table records using SSIS but overwrote some of the server specific records.  I also copied the "content" folder over to the test server as well.  I went back and manually adjusted the records to reflect the test servers configuration but the service never fully starts and begins to restart repeatedly.  I did restart the DB instance, Adobe and Flash services, and finally restarted the OS with no luck.  The following exception is being generated:        
    Exception occurred in startup.
    [05-26 08:47:56] brze (c) <status code="too-much-data"/>
    [05-26 08:47:56] brze (c) com.macromedia.airspeed.StatusException$TooMuchData: <status code="too-much-data"/>
    [05-26 08:47:56] brze (c) at com.macromedia.airspeed.Rows.getRow(Rows.java:57)
    [05-26 08:47:56] brze (c) at com.macromedia.airspeed.db.DBStatement.getRow(DBStatement.java:238)
    [05-26 08:47:56] brze (c) at com.macromedia.airspeed.dal.DAL.registerHost(DAL.java:270)
    [05-26 08:47:56] brze (c) at com.macromedia.airspeed.main.Main.run(Main.java:385)
    Would appreciate any pointers before I scrap the DB and go through a restore.  Oh, yes the test server was functioning before I migrated the content.
    Thanks

    Unfortunately, that was one of the first things we verified and increased to 10 gig and then 100 gig with no change.  Ultimately, the error/issue was caused by improper login information (userID and password).  Once this was aligned, the services started without issue.  So, the error message was not meaningful.   Now we have other issues related to content corruption/DB synch but that will require a new thread.
    Thanks for the advice,
    Lee

  • DTW connection to license service failed

    Hi all
    Please advise any solution for this attached error message?
    Kedalene

    Hi,
    Please check SAP note point 1:
    865191 - DTW Troubleshooting Guide
    Thanks & Regards,
    Nagarajan

  • SmartView 11.1.2 Can't Connect to Shared Services

    I have posted this thread on the essbase forum, also...
    I have installed 11.1.2 on Windows 2008 (64bit) in stand-alone mode. I also have Excel 2007 installed on the same machine. I took all of the default ports when setting up the server instance. I installed SmartView(32bit) on the same machine with no errors. When I try to connect to "Shared Connctions" through the SmartView home window, I keep receiveing an error message: "Connection to Shared Services failed Error Message: 'Cannot connect to provider. The server name could not be resolved.' I have tried replacing the server name with it's physical IP address,; I have tried all of the typical ports; but cannot seem to resolve the problem. My URL reads as follows: "http://testsys:13080/workspace/SmartViewProviders' I have a 11.1.1.3 instance on another server works fine, but the URL is a bit different (http://server:13080/aps/SmartView). I have tested and confirmed that all of the shared services are up and running and can be accessed from either EAS console or a web browser. Any help would be appreciated.

    Have you installed and APS (Analytic Provider Server) on your system..??
    As I know, to connecting to Essbase using Smartview, we need to install the APS on our system.
    Regards,
    VieN

  • SQL Developer connect to RAC12c (Basic) failed with ORA-01017 invalid username/password; logon denied

    I'm using scan in hostname to connect as Basic that failed ORA-01017.  I'm using the same credential system to logon from sqlplus and is fine.
    Any ideas?

    Essentially all you have said is: help me, I have a problem.
    1. full version of sql developer being used
    2. full version of Java SDK being used
    3. full version of JDBC jar file being used
    4. full details on the connection information being used
    5. full version of the Oracle client being used
    6. confirm that both your sql*plus and sql developer connections were made from the SAME machine
    A Basic connection uses the thin driver while sql*plus is using OCI

  • SmartView Connection to Shared Services Error

    I have installed 11.1.2 on Windows 2008 (64bit) in stand-alone mode. I also have Excel 2007 installed on the same machine. I took all of the default ports when setting up the server instance. I installed SmartView(32bit) on the same machine with no errors. When I try to connect to "Shared Connctions" through the SmartView home window, I keep receiveing an error message: "Connection to Shared Services failed Error Message: 'Cannot connect to provider. The server name could not be resolved.' I have tried replacing the server name with it's physical IP address,; I have tried all of the typical ports; but cannot seem to resolve the problem. My URL reads as follows: "http://testsys:13080/workspace/SmartViewProviders' I have a 11.1.1.3 instance on another server works fine, but the URL is a bit different (http://server:13080/aps/SmartView). Any help would be appreciated.

    Did you assign your Hyperion Provider Services URL?
    I am guessing that 11.1.2 hasn't changed that much from 11.1.1.3.
    In 11.1.1.3, it's under Options and is in the lower right hand side of the Options form.
    When you have that set, and then click the Connect button in the Data Source Manager, and then Connect to Provider Services, what happens?
    You should see: Oracle BI Server, Oracle Essbase, and Oracle Planning. Do you get that far?
    Regards,
    Cameron Lackpour

  • I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp.

    I would like to know how i can share my music using an UPnp protocole. I have an Imac but when i'm chosing the option share my file i can connect my mac to another network reader . it seems that the protocole used is not UPnp. I need this to be in UPnp. does somebody can help ?

    Google "upnp mac"

  • I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705. E

    I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705.
    Everytime I restart the computer now I get a open with window.
    When I select Notepad and open it I get
    0x54c  Noswal\.android\adb_usb.******
    How do i undo that.
    If it helps the Article ID:474705 this says at one point
    3. Open a shell prompt and enter the following command: echo "0x54c" >> $HOME/.android/adb_usb.******.
    I gues that's what's creating the problem.
    Please help.

    Hi elishacuthbert.
    Try disabling the start-up items in your computer to troubleshoot the issue. Follow the steps mentioned below:
    Right click on the Taskbar > Task Manager > Start-up > Select the applications > Disable.
    Note: If my post answers your question, please mark it as an "Accepted Solution."

  • Unable to connect to the Exchange server using HTTP/HTTPS protocol.

    hi,
    i try to connect microsoft exchange server, but it give me
    error
    Unable to connect to the Exchange server using HTTP/HTTPS
    protocol.
    my code is pasted below............
    <!--- connection parameters --->
    <cfparam name="user1" default="uHRH">
    <cfparam name="user2" default="uHRH">
    <cfparam name="password" default="uHRH">
    <cfparam name="exchangeServerIP" default="192.168.0.1">
    <cftry>
    <!--- Open a connection to the exchange server by
    specifying the required user credentials --->
    <cfexchangeConnection
    action="open"
    username ="#user1#"
    password="#password#"
    server="#exchangeServerIP#"
    <!--- protocol = "http"--->
    connection="conn1">
    <cfoutput>Connection to exchange server
    "#exchangeServerIP#" established</cfoutput>
    <!--- Close connection to exchange server --->
    <CFExchangeConnection
    action="close"
    connection="conn1">
    <cfoutput>Connection to exchange server
    "#exchangeServerIP#" terminated</cfoutput>
    <!--- Error Information --->
    <cfcatch type="any">
    <cfoutput>#cfcatch.message#</cfoutput>
    </cfcatch>
    </cftry>
    if any one know how to solve this error?

    Hi,
    The "<cfexchangeConnection>" tag supports both "HTTP"
    and "HTTPS" connection.. So Please make sure the username has the
    "Outlook Web Access".
    Also try removing the <!--- protocol = "http"--->
    comment which you placed inside the "<cfexchangeConnection>"
    tag.

  • Problems using https protocol to connect to open a web site

    Hi,
    I am trying to connect to a web site from my java programme. When I try connecting using htpp protocol, I am able to open the web page then I am giving the username,password to login into that web site..its working fine.
    But, When I try connecting using https protocol connection, I am not getting the page opened and after some time I am getting below error
    Exception in thread "main" org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: Connection timed out: connect
         at org.apache.xmlrpc.client.XmlRpcCommonsTransport.writeRequest(XmlRpcCommonsTransport.java:244)
         at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
         at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:115)
         at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
         at com.wipro.bugc.Test1.call(Test1.java:94)
         at com.wipro.bugc.Test1.main(Test1.java:124)
    Caused by: java.net.ConnectException: Connection timed out: connect
    Can anyone please suggest or give sample code to work with https web sites in java.
    I will have to use only https protocol to open any browser as my server only opens the web pages using https protocol
    Thanks in advance

    Hi,
    Thank you for your immediate reply. Please find the below code for your infomationa and please let me know where I am wrong..
    Below is the example we used to connect to "rojects.maemo.org" site and end up with the error I mentioned in the previous topic.
    package com.wipro.bugc;
    import java.net.Authenticator;
    import java.net.URL;
    import java.security.cert.X509Certificate;
    import java.util.HashMap;
    import java.util.Map;
    import javax.net.ssl.HostnameVerifier;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.SSLSession;
    import javax.net.ssl.TrustManager;
    import javax.net.ssl.X509TrustManager;
    import org.apache.http.HttpEntity;
    import org.apache.http.HttpHost;
    import org.apache.http.HttpResponse;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.NTCredentials;
    import org.apache.http.auth.UsernamePasswordCredentials;
    import org.apache.http.client.HttpClient;
    import org.apache.http.client.methods.HttpGet;
    import org.apache.http.impl.client.DefaultHttpClient;
    import org.apache.http.protocol.BasicHttpContext;
    import org.apache.http.protocol.HttpContext;
    import org.apache.xmlrpc.client.XmlRpcClient;
    import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
    import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
    public class Test1 {
        private static void install() throws Exception {
            // Create a trust manager that does not validate certificate chains
            TrustManager[] trustAllCerts = new TrustManager[] {
                new X509TrustManager() {
                    public X509Certificate[] getAcceptedIssuers() {
                        return null;
                    public void checkClientTrusted(X509Certificate[] certs, String authType) {
                        // Trust always
                    public void checkServerTrusted(X509Certificate[] certs, String authType) {
                        // Trust always
            // Install the all-trusting trust manager
            SSLContext sc = SSLContext.getInstance("SSL");
            // Create empty HostnameVerifier
            HostnameVerifier hv = new HostnameVerifier() {
                public boolean verify(String arg0, SSLSession arg1) {
                        return true;
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
            HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
            HttpsURLConnection.setDefaultHostnameVerifier(hv);
        public static void call(String url) throws Exception {
             HttpClient httpClient = new HttpClient();
             httpClient.setHttpConnectionFactoryTimeout(600000000);
            httpClient.getParams().setAuthenticationPreemptive(false);
           Credentials defaultcreds = new UsernamePasswordCredentials("username", "password");
           httpClient.getState().setCredentials(new AuthScope("projects.maemo.org", 443, AuthScope.ANY_REALM), defaultcreds);     
              HttpHost targetHost = new HttpHost("projects.maemo.org", -1, "https");
              System.setProperty("proxySet", "true");
              System.setProperty("http.proxyHost", "xxxx.com");
              System.setProperty("http.proxyPort", "xxxx");
              Authenticator proxyAuthenticator = new HttpAuthenticateProxy(
                        "username", "password");
              Authenticator.setDefault(proxyAuthenticator);
              XmlRpcClient rpcClient = new XmlRpcClient();
              XmlRpcCommonsTransportFactory factory = new XmlRpcCommonsTransportFactory(
                        rpcClient);
              factory.setHttpClient(httpClient);
              rpcClient.setTransportFactory(factory);
            XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
            config.setServerURL(new URL(url));
            config.setEnabledForExtensions(true);
              config.setEnabledForExceptions(true);           
              config.setBasicUserName("username");
              config.setBasicPassword("password");
              rpcClient.setConfig(config);      
              Map<String, String> loginMap = new HashMap<String, String>();
              String bugzillaUserName = "username";
              String bugzillaPassword = "password";
              loginMap.put("login", bugzillaUserName);
              loginMap.put("password", bugzillaPassword);
              Object loginResult = rpcClient.execute("User.login",new Object[] { loginMap });
              System.out.println("loginResult.toString() "
                        + loginResult.toString());
        public static void main(String[] args) throws Exception {
            String url = "https://projects.maemo.org/bugzilla_sandbox/xmlrpc.cgi";
            Test1.install();
            Test1.call(url);
            System.out.println("Finished.");
    }

Maybe you are looking for

  • Services for Object in VF02 & VF03

    Hi All, Attaching a document through "Attachment list" option by the "Services for Object" icon in VF02. however some options are grayed out. Please read through for the explanation of the problem. 1) Go to transaction VF02. 2) Input a billing docume

  • I hate my MacBook Pro. What now?

    I ordered it in August and have tried really hard to like it. I'm not saying it's the machine, so please no rude comments - It just does not meet my personal needs. There are things I really like but overall the deal breaker is that I cannot bulk nam

  • Problem with PCK 7.1 SP07 JCA Sample Adapter

    Hello! I have a Problem with the JCA Sample Adapter in the PCK 7.1 SP07. I will test the Configuration ( http://help.sap.com/saphelp_nwpi71/helpdata/en/f7/0c2441509fa831e10000000a1550b0/content.htm ) . But the receiver channel has a Massage processin

  • I want to network two Macs...

    I have been having a lot of trouble with this and I know it must be a simple process. I have a PowerBook G4 and an iMac G5 that I want to network over an airport network. Back in the day, I knew how to do it on OS 9, but this hasn't worked for me. I

  • Linking BW report outputs  with VC story board output

    Hi Everyone, I have a scenario where I have display list of report names in VC output screen and I have to link these texts with few BW report outputs. This can be achieved in WAD using HTML coding by linking the report's URL, how can we do the same