"https" url with URLConnection

If I use URLConnection to connect to a servlet with a https url, and supposed I have the required CA public key loaded in my keystore, would that turn on ssl connection?
Thanks in advance.
=yu

after more reading... yes, it will work (Notice that for previous version of JSK1.4.2, the protocol handler should be set correctly), the URL/URLStreamHandler class will do the runtime binding for a specific protocol.
-yu

Similar Messages

  • Http URL.openConnection() - URLConnection, not HttpURLConnection

    Is there any way of calling openConnection on an http URL object, and not getting a HttpURLConnection?
    HttpURLConnection extends the URLConnection class in frequently-useful ways, for example by defaulting the Accept and Content-Type headers on requests (plus the frequently baffling getOutputStream/getErrorStream behaviour). However in some contexts, these extensions are profoundly unhelpful.
    In particular, if I'm writing test code, I want to be able to make HTTP requests with missing Content-Type or Accept headers -- that is, without the default values which HttpURLConnection adds -- and there appears to be no way to do that, short of writing my own HTTP protocol handler.
    Failing that, is there any way of deleting request headers from a HttpURLConnection? The obvious connect.setRequestProperty("header", null) doesn't do it (and isn't documented to).
    Best wishes,
    Norman

    Thanks for that. The apache.commons.net classes look useful, but I think they end up being a little too low-level. The URLConnection class does usefully abstract the boring details of the HTTP transaction -- the only problem is that HttpURLConnection tries a little too hard.
    I think my question really boils down to the following: is there a way of switching off the extra functionality/defaults in HttpURLConnection? (if so, it's insufficiently clearly documented).
    I remember submitting an RFE to this effect a while ago, but can't find the entry in the bugs database (I apparently can't search for 'submitter').

  • ACE match http url with post data

    I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?
    class-map type http loadbalance match-any L7__URL_MATCH_CLASS
    2 match http url index.php\?field=content.*

    Hi
    The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.
    Its not possible to match ? in the url.
    One option could be using secondary cookie matching in ACE.
    class-map type http loadbalance match-any xyz
    2 match http cookie secondary field cookie-value content
    Thanks
    Syed

  • Does E52 support calling HTTPS URLs with the brows...

    Hi,
    does anybody happen to know if HTTPS websites (SSL encrypted web pages) can be browsed with E52?
    On some pages i found that SSL/TLS support is reported as "no" for this handy, which i do not understand, since this is a basic feature nowadays...
    Thanks and best regards
    Alexander
    Solved!
    Go to Solution.

    Yes, you have the same OS and Opera mini is Java. I noticed that the default browser doesn't allways show all the content. That could be a problem filling in forms etc... Opera mini has no issues.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Accessing BSP File Download using HTTPS URL

    Hi,
    I'm struggling with a problem of downloading a file from a https url. I wrote a BSP App for downloading a file from a unix server.. It works fine when I use a http URL with port 8080 and does not work when I use https.!!
    Example:
    https://comms.gmsanet.co.za/supplier [ download does not work ]
    http://comms.gmsanet.co.za:8080/supplier [ download works ]
    When I try to download using https.. it does not pull the file name and path
    see code  below and suggest me if anything to be chnaged.
    In the Form Initialization method:
    event handler fr data retrieval
    DATA: i_file        type string,
          s_fields      TYPE tihttpnvp,
          s_fields_line TYPE ihttpnvp,
          multipart_form type ref to if_http_entity,
          file_upload    type xstring,
          lv_backend     type string,
          success        type string,
          entity         type ref to if_http_entity,
          file           type xstring,
          content_type   type string,
          content_filename type string,
          content_length type string,
          content_disposition type string,
          num_multiparts type i,
          i              type i value 1,
          doEcho         type string value 'X',
          value          type string,
          filename       type ZFILETAB-fileinfo,
          ext1           type string,
          ext2           type string,
          dsn            type string,
          bptype         like sy-uname,
          itab           TYPE ZFILETAB,
          itab_line      TYPE ZFILETABLINE,
          file_ext       type ZFILETABLINE,
          fileinfo       type c,
          zcount         type i.
        filename = '/NewMessge.doc'.
        content_filename = filename.
    Check the extension and assign the content type
        split filename at '.' into ext1 ext2.
        case ext2.
          when 'zip'.
            content_type = 'application/x-zip-compressed'.
          when 'doc'.
            content_type = 'application/msword'.
          when 'txt'.
            content_type = 'text/plain'.
          when 'ppt' or 'pps'.
            content_type = 'application/vnd.ms-powerpoint'.
          when 'xls' or 'exe'.
            content_type = 'application/octet-stream'.
          when 'gif'.
            content_type = 'image/gif'.
          when 'jpg' or 'jpeg'.
            content_type = 'image/pjpeg'.
          when 'htm' or 'html'.
            content_type = 'text/html'.
        endcase.
        dsn = filename.
        OPEN DATASET dsn FOR INPUT IN BINARY MODE.
        IF sy-subrc NE 0.
          zmessage = 'Error opening file'.
          navigation->set_parameter( name = 'zmessage' value = zmessage ).
          navigation->goto_page( 'downloaderror.htm' ).
          exit.
        ENDIF.
        DO.
          READ DATASET dsn INTO <b>file</b>.
          EXIT.
        ENDDO.
        CLOSE DATASET dsn.
    set response data to be the file content
      runtime->server->response->set_data( <b>file</b> ).
      runtime->server->response->set_header_field(
                                    name  = 'Content-Type'
                                    value = content_type ).
      concatenate 'attachment; filename=' filename into content_disposition.
      runtime->server->response->set_header_field(
                                    name = 'Content-Disposition'
                                    value = content_disposition ).
    set the file size in the response
      content_length = xstrlen( file ).
      runtime->server->response->set_header_field(
                                name  = 'Content-Length'
                                value = content_length ).
      runtime->server->response->delete_header_field(
                                name = 'Cache-Control' ).
      runtime->server->response->delete_header_field(
                                name = 'Expires' ).
      navigation->response_complete( ).
    Thanks
    Ajay

    Hi Brian,
    I have the same problem as Ajay Yeluguri. In http mode I can generate a download of an Excel document but when we use the portal in https it doesn't work.
    When I try to download using https it does not pull the file name and path and when I choose download I have a error message : "Internet Explorer cannot download from ..."
    I've test the point 3.2 "... including file up/download" of the BSP application IT00 and it works fine in http and https mode. My problem is not the upload but the download. And in this application the uploaded document is opened in the Internet Explorer window but I want to generate a Save as... window to download the file.
    Have you an idea what i can do to solve my problem.
    Thanks
    Yann

  • How to do Handshake with tired party(bank) HTTPS URL from SAP PI server

    Dear Expert,
    I have developed bunch of scenarios, all are synchronous ABAP proxy to HTTP_AAE with bank on PI 7.4(dual stack). Bank web server is HTTPS enabled server. Our ABAP developments are still in progress also we have few issue in connection from ECC to PI.but that is not the focus of discussion here.
    we want to do the handshake to check the connectivity with bank on their HTTPS URL from PI. Bank has provided the privet key for SSL from their server and corresponding public key they have maintained on their server. I have imported the private key under NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12->select the SSL.p12 file->import , also I have selected the option to "Use SSL" in HTTP_AAE receiver communication channel and selected the corresponding entryin  "keystore view" and "keystore entry". All these I have done in our DEV system, and we are trying to connect our PI dev to bank Dev server.
    Questions
    Is there any specific steps to do the handshake with third party HTTPS(bank in my case) server? if not, how can we just test the HTTPS connectivity by using the SSL private installed on our PI server, without running the complete scenarios. Our PI has been installed on UNIX, and "telnet https url 443" is working, as network team has opened the HTTPS port.
    We have not enabled the SSL technically on our PI server, and we have not installed any generated certificate from our PI server. Moreover, we have not made our PI url as "https:hostname:port" as we just need to communicate with bank by using their private key. Do you guys think we should enable the SSL? if yes, please explain why.
    What is the best practice to test the connection with third party having HTTPS URL? how can I just assure HTTPS communication is working fine, before testing my actual scenarios.
    Thanks for helping always.
    Regards,
    Farhan

    Hi Farhan,
    Some part of the blog is applicable for sending HTTPS request to partners/third party (Receiver SOAP Adapter).
    If banks certificates are already in trustedCA, then,  can you check if it also imported under user PIISuser under Identity management in NWA. If above 2 steps are done then i think your are good to go. But be careful when you install certificate, it should be in proper order.
    As you already mentioned, connectivity is already established and you are able to PIng/telnet from pi server, connectivity looks ok.
    While sending request, if you are getting 401 unauthorized, below might be the reason -
    1. Certificate not installed correctly or some missing steps
    2. Partner or TP is not ready to receive it, some certificate issue in there side.
    other than 401 means you are ok (As per certificate and Connectivity) - 403 and 500 errors are next stops.
    403 - error because of encoding method.
    500 - data issue.
    Regards
    Aashish Sinha

  • Problems with SAP BC to post a request to https URL

    Hello,
    in a integration scenario one of our partners wants to send a xml to our server via https.<br/>
    I tried this internal with a test business connector. I simple use the WmPublic.pub.client http service.<br/>
    I try to post a record to an https:// URL and get an error. It seems that there is some trouble with the ssl handshake. However it is working in the browser.<br/>
    The option Security -> Certificates -> Trusted Certificates -> CA Certificates Directory is 'unspecified'. Therefore no server certificate should be reject.<br/>
    <br/>
    Now I got an 'iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>
    ' error. I do not find any helpful entries in this forum. Did anyone solve this issue?<br/>
    <br/>
    Thank you,<br/>
    Nils<br/>
    <br/>
    error:<br/>
    2009-08-03 10:08:13 CEST iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure<br/>
         at iaik.security.ssl.r.f(Unknown Source)<br/>
         at iaik.security.ssl.x.b(Unknown Source)<br/>
         at iaik.security.ssl.x.a(Unknown Source)<br/>
         at iaik.security.ssl.r.d(Unknown Source)<br/>
         at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)<br/>
         at iaik.security.ssl.SSLTransport.getInputStream(Unknown Source)<br/>
         at iaik.security.ssl.SSLSocket.getInputStream(Unknown Source)<br/>
         at com.wm.net.NetURLConnection.trySSLConnect(NetURLConnection.java:691)<br/>
         at com.wm.net.NetURLConnection.httpsConnect(NetURLConnection.java:562)<br/>
         at com.wm.net.NetURLConnection.connect(NetURLConnection.java:171)<br/>
         at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:419)<br/>
         at com.wm.net.HttpContext.getOutputStream(HttpContext.java:578)<br/>
         at com.wm.net.HttpContext.getOutputStream(HttpContext.java:554)<br/>
         at com.wm.net.HttpContext.post(HttpContext.java:338)<br/>
         at pub.client.http(client.java:512)<br/>
    <br/>
    SAP BC Info:<br/>
    Software <br/>
    Product webMethods Integration Server <br/>
    Version 4.6 (Standard Encryption)    Release Notes  <br/>
    Updates BC46_CoreFix7  <br/>
    Build Number 940 + CoreFix 7 [Fixes 1-205 + SP1-3] <br/>
    SSL Standard (40-bit), Provider: IAIK 2.6 <br/>
      <br/>
    Server Environment <br/>
    Java Version 1.3.1_20 (47.0) <br/>
    Java Vendor Sun Microsystems Inc. <br/>
    Java Home /usr/jdk1.3.1_20/jre <br/>
    Java VM Version 1.3.1_20-b03 <br/>
    Java VM Info Java HotSpot(TM) Client VM (mixed mode) <br/>
    Classpath /usr/local/sapbc46/server/updates/BC46_CoreFix7.jar<br/>
    /usr/local/sapbc46/server/lib/server.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/java/lib/i18n.jar<br/>
    /usr/java/jre/lib/rt.jar<br/>
    /usr/local/sapbc46/server/lib/classes<br/>
    /usr/local/sapbc46/server/lib/client.jar<br/>
    /usr/local/sapbc46/server/lib/mail.jar<br/>
    /usr/local/sapbc46/server/lib/server.jar<br/>
    packages/SAP/code/classes<br/>
    packages/SAP/code/jars/static/inqmyxml.jar<br/>
    packages/SAP/code/jars/static/jARM.jar<br/>
    packages/SAP/code/jars/static/jCO.jar<br/>
    packages/SAP/code/jars/static/sapjco.jar<br/>
    packages/SAP/code/jars/static/sapxmltoolkit.jar<br/>
    packages/WmPartners/code/classes<br/>
    packages/WmWin32/code/classes <br/>
    OS Linux <br/>
    OS Platform i386 <br/>
    OS Version 2.6.18.8-0.13-default <br/>
    Current User sapbc <br/>
    Working Dir /usr/local/sapbc46/server<br/>

    Ok - in this case you need to include to session based SSL setup in your flow (scenario).
    The pub.security:setKeyAndChain and pub.security:clearKeyAndChain services are used to control which client certificate
    the SAP BC server presents to remote servers. You need to use these services to switch between certificates and
    certificate chains if you are not using aliases for remote servers.
    List of services to be used:
    pub.security:clearKeyAndChain
    -- Associates the default key and certificate chain with the subsequent set of invoked services.
    pub.security:setKeyAndChain
    -- Processes a digital signature to make sure that the provided data has not been modified. The signature input is the DER encoding of the PKCS#7 SignedData object.
    pub.security.pkcs7:sign
    -- Creates a PKCS7 SignedData object.
    pub.security.pkcs7:verify
    -- Processes a digital signature to make sure that the provided data has not been modified.
    pub.security.util:createMessageDigest
    -- Generates a message digest for a given message.
    pub.security.util:getCertificateInfo
    -- Retrieves information (e.g., serial number, issuer, expiration date) from a digital certificate.
    pub.security.util:loadPKCS7CertChain
    -- Converts a certificate chain that is in PKCS7 format to a list (a one-dimensional array) of byte arrays.
    Example:
    Invoke pub.client:http to send data to Company D.
    Invoke pub.security:setKeyAndChain using the key and certificate chain for Company B.
    Invoke pub.client:http to send data to Company B.
    Invoke pub.security:setKeyAndChain using the key and certificate chain for Company C.
    Invoke pub.client:http to send data to Company C.
    Invoke pub.security:clearKeyAndChain to revert back to the default key and certificate chain for Company
    Au2019s server.
    Invoke pub.client:http to send data to Company D.
    Edited by: Kai Lerch-Baier on Aug 3, 2009 1:47 PM

  • Need to post to HTTP destination with a dynamic URL

    I have a working interface that posts to a static URL using an HTTP via an SM59 connection.
    however i now need to do something similar, but use a dynamic field from the data to post as part of the url...
    so it will be something like...
    http://host.fqdn:port/path/goes/boldfield1bold/here/to/remove
    field1 being a variable in my xml.
    i guess i post to a URL with URL Address instead of HTTP destination, and i can use the header fields in adapter specific message attributes... however i do not want to send the xml....  so do i have to map just the single field to my target xml?  how do i not send the xml as it is integrated within the URL?
    how do i add the field1 within the path:   /path/goes/boldfield1bold/here/to/remove into the options within the communication channel?
    does that make sense?

    Hi Barry,
    If I understood well, and you have one part of the target URL fixed, and the other one is going to be dynamic.
    You can use, as you said, the ASMA for HTTP adapter, and in the middle of the mapping you can create a simple UDF to create the URL. But as the result of that UDF, you just return the same value that you'd map if the UDF didn't exist.
    For example you can use a funcion "setURL" and you can have 2 inputs: "url" and "companyname", but you just return "companyname" that is the value that really has to be mapped.
    I hope this helps you.
    Juan.

  • 2032 http error with hostname in the url in the Android alone

    I get 2032  error , when I send a http request to the server.I get the error only in the android phone that too when I append the url with the hostname.
    If the send the request with the Ip address, it works fine in the android, but with the host name I get the error.
    Can you help me with the error

    I've called the big guys to help you. Good luck.
    Is the problem there if you log in as "just a user" ?

  • Https with URLConnection class

    when instantiating a URL object with protocol "https", i get a MalformedURLException. However, it works fine with "http".
    anyone?

    Following is an extract from this article.
    http://java.sun.com/products/jsse/doc/guide/API_users_guide.html
    Specifying an HTTPS Protocol Implementation
    It is possible to access secure communications through the standard Java URL API. That is, you can communicate securely with an SSL-enabled web server by using the "https" URL protocol or scheme using the java.net.URL class.
    In order to be able to do this, you need to have an "https" URLStreamHandler implementation and you must add the handler's implementation package name to the list of packages which are searched by the Java URL class. This is configured via the java.protocol.handler.pkgs system property. See the java.net.URL class documentation for details.
    The JSSE 1.0.2 reference implementation provides an "https" URLStreamHandler implementation. Here is an example of how you would set the java.protocol.handler.pkgs property on the command line to indicate the JSSE 1.0.2 reference implementation's "https" URLStreamHandler:
    java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    myApp

  • SOAP receiver channel with https url

    Hi All,
    We are working on SAP PO 7.4. We have RFC to SOAP scenario. To connect with external target system we are using https url.
    We don't have any sign, encrypt requirement, do we still need to maintain certificates in Key Store as we are using https?
    Thanks
    Shivi

    No.you don't have to select that option.
    But you have to install the certificates.
    Below one can help you.
    How to Enable SSL certificate at the receiver SOAP Adapter

  • Need help with contacting HTTPS URL

    Hi,
    I am new bie to Java Security. I do not know where to start off with. Here is the requirement.
    I need to contact an HTTPS URL and this URL gives me output which is encypted data.
    I have to save this ecnrypted data into a file and I have the KEY to decrypt the data.
    I have tried several ways (all listed below) to get it working. But I am not successful. I get
    "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found"
    Can you guys give me some insight on how to proceed?
    Thanks
    Mathew
    import java.util.*;
    import java.text.*;
    import java.net.*;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.security.Permission;
    import javax.net.ssl.HttpsURLConnection;
    import java.security.*;
    import java.security.cert.*;
    import javax.net.ssl.*;
    import java.io.*;
    public class temp
         protected BufferedReader messageResponseReader;
         private static final String CERTIFICATE_TYPE = "SunX509";
         private static final String KEYSTORE_TYPE = "JKS";
         private static final String SSL_PROTOCOL = "TLS";
         private static final String CERTIFICATE_FACTORY_TYPE = "X.509";
         public static void main(String args[])
              try
                   try{
                             temp tmp = new temp();
                             String url = "https://test.mysite.com/one/perform.jsp?mode=get&check=true";
                             tmp.sendRequest(url);
                        }catch(Exception e)
                             e.printStackTrace();
              catch(Exception e){
                   e.printStackTrace();
    public String sendRequest(String urlString) throws Exception
    StringBuffer response = null;
    BufferedReader messageReader = null;
    try
                   String username = "user";
                   String password = "pwd";
                   String encoding = new sun.misc.BASE64Encoder().encode("username:password".getBytes());
                   //java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                   // Needed for validation of the server certificate
                   //System.setProperty("javax.net.ssl.trustStore","C:\\cert\\key.txt");
                   // Needed for providing a clint certificate for client authentication
                   //System.setProperty("javax.net.ssl.keyStore","C:\\cert\\key.txt");
                   //System.setProperty("javax.net.ssl.keyStorePassword","te5t1ng");
                   //System.setProperty("ssl.SocketFactory.provider", "com.sun.net.ssl.internal.ssl.Provider");
                   KeyStore ks;
                   ks = KeyStore.getInstance("JKS");
                   CertificateFactory cf = CertificateFactory.getInstance(CERTIFICATE_FACTORY_TYPE);
                   TrustManagerFactory tmf = TrustManagerFactory.getInstance(CERTIFICATE_TYPE);
                   KeyManagerFactory kmf = KeyManagerFactory.getInstance(CERTIFICATE_TYPE);
                   FileInputStream fis = new FileInputStream("C:\\cert\\key.txt");
                   BufferedInputStream bis = new BufferedInputStream(fis);
                   Collection c = cf.generateCertificates(fis);
                   Iterator i = c.iterator();
                   while (i.hasNext()) {
                   java.security.cert.Certificate cert = (java.security.cert.Certificate)i.next();
                   System.out.println(cert);
                   ks.load(null, null);
                   X509Certificate the_cert = (X509Certificate)cf.generateCertificate(bis);
                   ks.setCertificateEntry("server_cert",the_cert);
                   tmf.init(ks);
                   ks = KeyStore.getInstance(KEYSTORE_TYPE);
                   ks.load(null, null);
                   the_cert = (X509Certificate)cf.generateCertificate(new FileInputStream("key.txt"));
                   ks.setCertificateEntry("client_cert",the_cert);
                   kmf.init(ks, null);
                   SSLContext ctx = SSLContext.getInstance(SSL_PROTOCOL);
                   KeyManager[] km = kmf.getKeyManagers();
                   TrustManager[] tm = tmf.getTrustManagers();
                   ctx.init (km, tm, null);
                   HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
    urlString = urlString.replaceAll(" ","%20");
    URL url = new URL(urlString);
    //HttpsURLConnection urlCon = (HttpsURLConnection)url.openConnection();
    HttpURLConnection urlCon = (HttpURLConnection)url.openConnection();
    //com.sun.net.ssl.HttpsURLConnection urlCon = (com.sun.net.ssl.HttpsURLConnection)urlCon;
    /*urlCon.setRequestProperty("Host", url.getHost());*/
    urlCon.setDoOutput(true);
    urlCon.setDoInput(true);
    urlCon.setRequestMethod("POST");
    urlCon.setUseCaches (false);
    urlCon.setAllowUserInteraction(true);
    urlCon.setInstanceFollowRedirects(true);
    urlCon.setRequestProperty ("Authorization", "Basic " + encoding);
    //Permission permision = urlCon.getPermission();
    //System.out.println("permission name:"+permision.getName());
    urlCon.connect();
    //messageReader = new BufferedReader(new InputStreamReader(urlCon.getInputStream()));
    //response = new StringBuffer();
    //String line;
    //while((line = messageReader.readLine()) != null){
    // response.append(line);
    // response.append("\n");
    catch (Exception e) {
    e.printStackTrace();
    throw e;
    return "testing";

    sorry for the junk data.. Need to post it again

  • Http URL starts with file://

    Hi.
    I need to access the file content which is placed in the local system.
    The format of the url is:
    file://<Server Name>/<FolderName>/FileName
    example: file://pwdf1234/sample/abc,jpg
    Is there any specific criteria if the url starts with file:// or
    Should I configure in Visual administrator if the url starts with file://
    Could you please let me know.
    Regards
    Bala

    Hi Raj.
    Thanks for your reply.
    No, Im not using Link To URL
    It (the url which starts with file://) is a hyperlink.
    If you click from webdynpro UI it should navigate to the actual content.
    If it is a http url(for ex: http://www.google.com), it works but if it is a url which starts with file://
    does'nt seems to work.
    Regards
    Bala
    Edited by: Balachandar P on Dec 26, 2007 5:58 AM

  • Start a scenario with a http url

    I try to launch a scenario by using an http url witthout success. ( NullPointer exception)
    I use Tomcat 4.1 and I have deployed Matadata Navigator on it
    I send the followings parameters to the URL http://localhost:8080/oracledimn/startscen.do
    name="agent_name" value="192.168.2.12"
    name="agent_port" value="20910"
    name="master_driver" value="oracle.jdbc.driver.OracleDriver"
    name="master_url" value="jdbc:oracle:thin:@manet:1521:std9devb"
    name="master_user" value="odimait_devb"
    name="master_psw" value="d,yayCGpmzmfTBoS38I2zFS,r"
    name="work_repository" value="REF TRAVAIL INVS DEV BORDEAUX"
    name="snps_user" value="SUPERVISOR"
    name="snps_psw" value="fDyXGs0FL,8E6hRhgIVs"
    name="scen_name" value="INVS_PMSI"
    name="scen_version" value="1"
    name="context_code" value="INVS_PMSI"
    name="log_level" value="5"
    name="http_reply" value="HTML"
    I have no problem to run the scenario thru the Metadata Interface itself.
    any idea ?
    thanks for your response
    jbl

    I have found the solution :
    the scenario version was : 001, one have to keep de leadings 0

  • Difficulty with HTTPS URL monitoring using GRMG Lite

    Hello,
    I am getting error when i use GRMG lite scenario which is HTTPS URL. The error that i get is 'Reason for HTTP POST failure:No error message returned' when i start my scenario, and scenario failed. Could you please help me?
    Thanks a lot
    Venky

    Hello Venky
    I have the same problem
    Could you solve this in the meantime?
    Thank you
    Theo

Maybe you are looking for

  • Slow system!!!  Lots of pinwheeling!  EtreCheck attached

    In the last 6 months my iMac performance has completely tanked. In that time, I have had to replace the internal hard dive (done at Apple store with supported drive) and have upgraded to 10.10. I have installed Memory Clean to see if I can identify t

  • Partial clearing document reversal

    I have posted customer receipt document as partial payment.  While I am returning the document error message  - Document includes already cleared items. Reversal not possile. I have tried for FBRA with the document - Then system is showing it is not

  • Can't find a renamed file using Applescript

    Here is what I'm trying to accomplish: 1) User selects .csv file 2) Finder duplicates file and renames as a txt file 3) Microsoft Excel imports this newly made file as a pipe delimited text file with text formatting in all cells (On a Mac, Excel won'

  • Nokia Lumia 1520 overheating

    i have 1520 and it overheats, but after usage of any app after 5 min top up corner is going insane heated Moderator's note: We amended the subject so other users can easily identify and answer the concern.

  • Why is the SmoothCam (smooth cam) filter not applying to an exported clip?

    I have a clip that required some masking (which my graphics guy did on his PC). After importing the masked clip into FCP, I can't get the SmoothCam filter to apply to it. SmoothCam works great on the original shot from the camera (an MXF file), but n