Is it possible to use HTTPS in HTTP recv adapter using Address type as URL

Hi All,
If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
Address type is a parameter in HTTP adapter setup .
Regards,
Reddy

Use the below code to get the reference of EntityManagerImpl and get the reference of Session from EntityManagerImpl and then you can call the Stored Procedure.
private EntityManagerImpl emImpl;
emImpl = (EntityManagerImpl)Persistence. createEntityManagerFactory("TFDModel").createEntityManager();
Session session= emImpl.getActiveSession();
StoredProcedureCall call = new StoredProcedureCall();
call.setProcedureName("CONVERT_FEET_TO_METERs");
call.addNamedInOutputArgumentValue(
"LENGTH", // procedure parameter name
new Integer(100), // in argument value
"LENGTH", // out argument field name
Integer.class // Java type corresponding to type returned by procedure
ValueReadQuery query = new ValueReadQuery();
query.setCall(call);
Integer metricLength = (Integer) session.executeQuery(query);
Regards,
Vinay

Similar Messages

  • It is possible to use a VOD HTTP Stream in an iTunes U Collection and/or Course?

    We wish to better comply with TEACH Act guidelines by using VOD (video on demand as opposed to real-time streaming) HTTP Streaming where an instructor is asserting educational fair use of copyrighted material.  The key component in TEACH guidelines is that the student not be able to retain the materials beyond the duration of the course.  Thus, VOD HTTP Streaming will meet this specification nicely and is supported across all of iOS and MacOS X.
    Thus, the question: It is possible to use a VOD HTTP Stream in an iTunes U Collection and/or Course?

    I knew about that, but my question is, if it is possible to use an europe power adapter.
    Because i dont want to a carry around an power adapter and a plugin adapter.
    I hope you understand what i mean.
    Sorry for my english
    Best.

  • Error using UTL_HTTP over HTTPS

    Hello,
    I am trying to simply connect to an HTTPS web site. I used this query to test the connection :
    select utl_http.request('https://subdomain.maindomain.com/webservice.wsdl',null, 'file:C:\MyWalletDirectory','WalletPassword') from dual;
    and I always got the following error :
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1577
    ORA-29268: HTTP client error
    ORA-06512: at line 1
    Can anybody help me with this issue ? Is it possible to have a more meaningfull message ?
    Thanks...
    LIB

    I've written a basic PL/SQL web browser template. It looks/works as follows:
    SQL> select * from TABLE( webbrowser('https://metalink.oracle.com') ) where rownum < 11;
    COLUMN_VALUE
    Setting browser configuration
    Wallet set to file:/etc/ORACLE/WALLETS/oracle/
    Proxy Server is 198.54.206.99
    Proxy URL modified to include proxy user name and password
    Proxy URL is http://verreyb:*****@198.54.206.99
    HTTP: GET https://metalink.oracle.com
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD><TITLE>Welcome to Oracle MetaLink</TITLE>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><LINK
    href="oracle.htm" rel=stylesheet>
    10 rows selected.
    The source code:
    create or replace type TStrings is table of varchar2(4000);
    create or replace function WebBrowser( url varchar2 ) return TStrings pipelined is
    -- BASIC PL/SQL WEB BROWSER TEMPLATE
    -- supports http, https and proxy servers
            -- fixed constants
            C_NO_PROXY_FOR  constant varchar2(4000) := 'localhost';
            C_WALLET        constant varchar2(4000) := 'file:/etc/ORACLE/WALLETS/oracle/';
            C_WALLET_PASS   constant varchar2(4000) := '<wallet password goes here>';
            -- Proxy settings that can be made arguments in the WebBrowser() call
            proxyServer     varchar2(20) := '198.54.206.99';
            -- not all proxy servers use authentication, but many corporate proxies do, in
            -- which case you need to specify your auth details here
            -- (make it nulls if not applicable)
            proxyUser       varchar2(50) := '<proxy username goes here>';
            proxyPass       varchar2(50) := '<proxy password goes here>';
            -- our local variables
            proxyURL        varchar2(4000);
            request         UTL_HTTP.req;
            response        UTL_HTTP.resp;
            buffer          varchar2(4000);
            endLoop         boolean;
    begin
            -- our "browser" settings
            PIPE ROW( 'Setting browser configuration' );
            UTL_HTTP.set_response_error_check( TRUE );
            UTL_HTTP.set_detailed_excp_support( TRUE );
            UTL_HTTP.set_cookie_support( TRUE );
            UTL_HTTP.set_transfer_timeout( 30 );
            UTL_HTTP.set_follow_redirect( 3 );
            UTL_HTTP.set_persistent_conn_support( TRUE );
            -- set wallet for HTTPS access
            PIPE ROW( 'Wallet set to '||C_WALLET );
            UTL_HTTP.set_wallet( C_WALLET, C_WALLET_PASS );
            -- configure for proxy access
            if proxyServer is not NULL then
                    PIPE ROW( 'Proxy Server is '||proxyServer );
                    proxyURL := 'http://'||proxyServer;
                    if (proxyUser is not NULL) and (proxyPass is not NULL) then
                            proxyURL := REPLACE( proxyURL, 'http://',  'http://'||proxyUser||':'||proxyPass||'@' );
                            PIPE ROW( 'Proxy URL modified to include proxy user name and password' );
                    end if;
                    PIPE ROW( 'Proxy URL is '|| REPLACE(proxyURL,proxyPass,'*****') );
                    UTL_HTTP.set_proxy( proxyURL, C_NO_PROXY_FOR );
            end if;
            PIPE ROW( 'HTTP: GET '||url );
            request := UTL_HTTP.begin_request( url, 'GET', UTL_HTTP.HTTP_VERSION_1_1 );
            -- set HTTP header for the GET
            UTL_HTTP.set_header( request, 'User-Agent', 'Mozilla/4.0 (compatible)' );
            -- get response to the GET from web server
            response := UTL_HTTP.get_response( request );
            -- pipe the response as rows
            endLoop := false;
            loop
                    exit when endLoop;
                    begin
                            UTL_HTTP.read_line( response, buffer, TRUE );
                            if (buffer is not null) and length(buffer)>0 then
                                    PIPE ROW( buffer );
                            end if;
                    exception when UTL_HTTP.END_OF_BODY then
                            endLoop := true;
                    end;
            end loop;
            UTL_HTTP.end_response( response );
            return;
    exception when OTHERS then
            PIPE ROW( SQLERRM );
    end;
    show errorsEdited by: Billy Verreynne on Sep 4, 2008 7:47 AM (old forum tags poorly supported by new Jive forum s/w)

  • SAP ECC Interface w/ IDOC-XML using TCP/IP, HTTP, or FTP to 3rd-Party Syst.

    I am trying to understand if the following interface options can occur (without the use of SAP PI or any other middleware):
    Option 1A: Can I process an SAP ECC outbound IDoc in XML using TCP/IP to a non-SAP 3rd party system?  Can you please explain the reason for why I can or can NOT do this.  If possible, please provide supporting documentation on how-to do this?
    Option 1B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used TCP/IP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 2A: Can I process an SAP ECC outbound IDOC in XML using HTTP to a non-SAP 3rd-party system?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 2B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used HTTP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 3A: Can I process an SAP ECC outbound IDOC in XML using FTP to a non-SAP 3rd-party system?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?
    Option 3B: Can I process an SAP ECC inbound XML-IDOC from a non-SAP calling system that used FTP?  Can you please explain the reason for why I can or can NOT do this. If possible, please provide supporting documentation on how-to do this?

    Hello Kirk  ,
    The answers for your question are:
    Option 1A: Yes you can .you can use TCP/IP but you must have a middleware component for that such as BC/JCO .
    Please see the link : [http://help.sap.com/saphelp_nw04/helpdata/EN/09/c88442a07b0e53e10000000a155106/frameset.htm]
    Option 1B: See the link above.
    Option 2A: You can use ABAP code :
    [http://help.sap.com/saphelp_nw04/helpdata/EN/e5/4d3514c11411d4ad310000e83539c3/frameset.htm]
    Option 2B: [http://help.sap.com/saphelp_nw04/helpdata/EN/90/4f3c2ec3c511d6b2b400508b6b8a93/frameset.htm]
    Option 3A: Only with ABAP code :[Reg: FTP Connection;
    Option 3B: See the link of Option 3A.
    Good Luck,
    Boaz
    Edited by: Boaz Ornan on Feb 21, 2010 4:33 PM

  • Controling IP addressed used to issue HTTP request

    Hi,
    We are looking for a way to control the IP address we use for outgoing HTTP requests so that we can choose between two IP addresses we will have on a linux server. We have a Linux server running Java/Tomcat which is making HTTP GET requests to Web servers. We want to be able to use one IP address when making requests to one Web server and use a different IP address when making requests to another server. The actual Java method we are using to get the page is connection.getInputStream(), and we get a connection with url.openConnection();
    Is it possible to control which of the server's IP addresses is used for each request, and if so, how? Is there some way we can set up the Linux server or Tomcat to make it work?
    BTW, I believe it is possible to have two IP addresses on a linux server, but I haven't looked into what's involved. Feel free to comment on this if relevant.
    Thanks!

    It is definately possible to have mutliple IP Addresses on a Linux machine.
    As far as setting the local IP Address to bind to when opening a connection, you cannot do this with the Standard HttpURLConnection, HttpsURLConnection, or URLConnection. You can do it, however, using apaches HTTPClient API.

  • Both http and https on struts in tomcat using SSL

    I want to apply both http and https as need, on a single web application on struts. My server is tomcat. I need a complete documentation. Some help me please.

    If you are terminating SSL on ACE then there is no way to do it with one policy because of ssl-proxy command. However it is possible to use same serverfarms with two VIP like this:
    access-list ACL line 10 extended permit ip any any
    rserver host TEST
      ip address 20.20.2.11
      inservice
    serverfarm host TEST
      rserver TEST
        inservice
    ssl-proxy service SSL_SERVER
      key KEY12.PEM
      cert CERT12.PEM
    class-map match-any SSL
      2 match virtual-address 10.10.2.101 tcp eq https
    class-map match-any HTTP
      2 match virtual-address 10.10.2.101 tcp eq http
    policy-map type loadbalance first-match L7_POL
       class class-default
         serverfarm TEST
    policy-map multi-match L7
       class SSL
         loadbalance vip inservice
         loadbalance policy L7_POL
         loadbalance vip icmp-reply
         ssl-proxy server SSL_SERVER
        class HTTP
        loadbalance vip inservice
        loadbalance policy L7_POL
        loadbalance vip icmp-reply
    interface vlan 210
       ip address 10.10.2.1 255.255.255.0
       service-policy input L7
       access-group input ACL
       no shutdown
    interface vlan 220
       ip address 20.20.2.1 255.255.255.0
       no shutdown
    ip route 0.0.0.0 0.0.0.0 10.90.15.1
    However, if you are not doing SSL termination on ACE and you are just doing L4 load-balancing, you will most likely need to configure SSL stickiness, which again leads to having separate policies because of the sticky serverfarms which need separate loadbalance policy lines.

  • Virtual directory when using xml db http

    Is it possible to create a virtual web directory (reachable using http) to a physical directory in my server?
    I am running apex using xml db http with oracle 11.2.
    thanks

    Apache/Lighttpd. is it a free product?Yes both of them are free.
    Please see http://www.beyondoracle.com/2008/04/05/reverse-proxying-apex-in-a-dmz/
    I personally feel that Lighttpd works better specially if there is too much Ajax involved in your application but unfortunately I did not find any tutorial ready for that. Also for starters (in this particular subject) I recommend Apache since there is enough documentation available and you can get many people who can be helpful to setup this.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Upload XML data using XSQL and HTTP Post ?

    Upload XML data using XSLQ and HTTP Post: is that possible ?
    An xsql contains an <xsql:insert-request table="aTable">
    The XML data file follows the ROWSET/ROW paradigm.
    What is the HTML form to upload the xml file to the XSQL ?
    I tried:
    <form action="myXSQL.xsql" method="POST" ENCTYPE="multipart/form-data">
    XML data file to upload: <input type="file">
    <input type="submit">
    </form>
    But the answer of myXSQL is:
    <xsql-status action="xsql:insert-request" result="No posted document to process" />
    Where is the problem ?
    Thank you.

    Hello,
    You are posting your XML file as a parameter therefore you should use the <xsql:insert-params/> tag, not the <xsql:insert-request/>. The insert-request can only handle data not posted via a parameter.
    Usage:
    <form action="myXSQL.xsql" method="GET" ENCTYPE="multipart/form-data">
    XML data file to upload: <input type="file" name="myXML">
    <input type="submit">
    </form>
    in combination with
    <xsql>
    <xsql:insert-params name="myXML" table="your table"/>
    </xsql>
    2 remarks:
    I was not able to succesfully POST the form. The answer was <xsql-status action="xsql:insert-request" result="No posted document to process" />. With GET is was succesfull.
    Second, if you use MSInternet explorer 5 or higher use could post the XML directly (not aw parameter) using an ActiveX object.
    Regards,
    Harm Verschuren

  • My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    TJBUSMC1973 wrote:
    The iPhone is working, as designed and advertised.  In this case, the user failed to educate themselves properly, either by proper research or asking the right questions, before purchasing the device.
    I understand that the OP failed to do research. But then, I wasn't replying to the OP. I was replying to Chris. I have Verizon. I can talk and use data at the same time with my Droid Maxx. Therefore, the problem is not just with the network. It would be technically possible for an iPhone to do that on Verizon/Sprint if Apple had chosen to use a different chip, such as the kind other phone manufacturers have elected to use.
    Of course, this is probably all irrelevant to the OP's issue. It was merely a point of clarification, especially for those people who are used to being able to use both voice and data at the same time on Verizon. When they switch to an iPhone, they are often surprized at the limitation.
    Best of luck.

  • Would it be possible that saved passwords would work on both http and https version of the same site as some pages are switching from http to https?

    Some sites are switching from http to https protocols and some sites run both. This creates some duality when you have saved passwords. You either save passwords for both versions of the site. And if you visit the https version for the first time you just have to go and look up the password as (personally) I don't remember all of my passwords.
    Would it be possible that unless there are different passwords for different version of the site that firefox would use the one that it has already saved?

    You will have to save the password again in case the submit URL and possibly other parameters change.
    You can try this extension:
    * Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • What is the correct way to set a web application to use HTTP or HTTPS?

    In the past I've always created an HTTP web application as the default zone. Then extended the web app, creating a new IIS website on port 443 and enabled SSL. This seems to have worked fine, but I recently read an article stating that it is not good to
    extend a web app unless absolutely necessary. So can someone tell me what the proper way is to configure a single web application to work with HTTP and HTTPS?

    Extending the web application to support both HTTP and HTTPS is a perfectly good method and in fact is the only way to have a web application support both so what you've done is fine.
    If the web application will only use HTTPS, you can set this up when you first create the web application. Specify port 443 and the SSL option (and ensure the URL has an https://) when creating the web application. You'll need to install the certificate
    in IIS once the web application has been created.
    Jason Warren
    Infrastructure Architect
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • Transaction code used to configure HTTP Adapter?.

    What transaction code we use to configure HTTP adaptor?.
    SMICM
    Is this correct?.

    Ash,
    Yes. Please see this weblog for some more help:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Just go this url and click the first one for HTTP adapter presentation:
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=http%20adapter&cat=sdn_all#
    Also check this threads:
    in SMICM-->How to Activate HTTP Services
    SMICM services
    ---Satish

  • What are the limitations of using RMI over http with EJB?

    We have a requirement for an intranet application where the majority of the clients
    (Swing clients) will be able to connect directly using either T3 or IIOP. However,
    there are a number of clients that will need to traverse a firewall.
    We could use SOAP, but I dont want to lose the value that RMI gives us (clustering,
    security, statefullness support etc). I am thinking of using RMI over http - which
    Weblogic supports.
    I have been trying to find some documentation on the topic - but havent succeded
    so far. What I would like to understand is: What limitations I would have using
    RMI over http. Do I lose anything (apart from performance) using http?
    Regards,
    Nick

    You will have to enable tunneling on the server side and I have not heard of any
    complaints of using it.
    Shiva.
    Nick Minutello wrote:
    In fact, we are not using applets - and its not an internet application. We are
    using Java Webstart and Swing on our intranet (the problem of the size of the
    weblogic.jar is a pain - but well known)
    The question for me is; Apart from performance, are there any limitations to using
    RMI over http?
    Can we also use JMS over http?
    -Nick
    Shiva Paranandi <[email protected]> wrote:
    "Old wine new bottle".
    The biggest problem with the approach of Applets like
    stuff connecting to weblogic is the size of the classes that need to
    be supplied to the
    users. The applets/swing would need a lot of weblogic classes which you
    need to
    supply as jar file. This file can be in the order of MBs depending on
    the
    weblogic version. we had a similar kind of problem and migrated the applets
    to use
    servlets instead of directly invoking ejbs or jms topics etc. Having
    the applets
    connect
    to servlets you would still benefit from the features of clustering etc.
    and added to
    that
    you would reduce the number of remote calls.
    Shiva.
    Nick Minutello wrote:
    We have a requirement for an intranet application where the majorityof the clients
    (Swing clients) will be able to connect directly using either T3 orIIOP. However,
    there are a number of clients that will need to traverse a firewall.
    We could use SOAP, but I dont want to lose the value that RMI givesus (clustering,
    security, statefullness support etc). I am thinking of using RMI overhttp - which
    Weblogic supports.
    I have been trying to find some documentation on the topic - but haventsucceded
    so far. What I would like to understand is: What limitations I wouldhave using
    RMI over http. Do I lose anything (apart from performance) using http?
    Regards,
    Nick

  • What's Http Channel and how to use it?

    Hello, there:
    I heard if people use Swing applets as front end GUI instead of JSP, they need to use sth called Http Channel for the communication b/w applet and servlet, I don't know too much about it neither I could too much info from the net.
    Anyone can tell me about it? Some examples are better,
    appreciating your help!
    Sway

    I don't know much about Http Channel (never heard of it before), but normally people use HttpURLConnection.
    API:
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLConnection.htmlTips:
    http://www.javaworld.com/javaworld/jw-03-2001/jw-0323-traps.htmlAlso look at HttpClient by the Jakarta Commons people:
    http://jakarta.apache.org/commons/httpclient/
    Hello, there:
    I heard if people use Swing applets as front end GUI
    instead of JSP, they need to use sth called Http
    Channel for the communication b/w applet and servlet,
    I don't know too much about it neither I could too
    much info from the net.
    Anyone can tell me about it? Some examples are
    better,
    appreciating your help!
    Sway

  • HTTP call in a workflow using GetFolderByServerRelativeUrl returns Forbidden

    This is using Office365 SPO with a 2013 workflow being created in the 2013 Designer.
    We are trying to make a workflow (whose steps will later on be part of a larger) that simply does an HTTP GET call. We have a url variable set to https://xxxxx.sharepoint.com/sites/xxxx/_api/web/GetFolderByServerRelativeUrl('/sites/xxx/xxx')/files, headers
    Accept and Content-Type set to "application/json;odata=verbose" and Authorization as an empty string. In the call action the RequestType is GET, RequestHeaders has those values, and the ResponseContent/Headers are set to empty dictionaries with a
    ResponseStatusCode variable as an empty string. When the workflow is run the ResponseStatusCode is given a value of Forbidden. When the Authorization header part is missing it returns Unauthorized as per normal.
    Navigating to the web url shows the feed page with the correct number of file entries. However, the entries all contain 0 info in the response (I'm guessing that has to do with it being a url call instead of an actual REST call).
    Any ideas? This is making my and another employee's foreheads the same flatness as our desks.
    Note: Both of us are still fairly new as SP was tossed on our laps w/o any warning. So if it looks like any of this is a horrible way please say so, nicely ;)

    Hi Tanwedar,
    Thanks for posting your issue, Kindly browse the below mentioned URL to create workflow step by step using Designer 2013
    http://dinushaonline.blogspot.in/2014/07/sharepoint-2013-workflow-check-if.html
    I hope this is helpful to you. If this works, Please mark it as
    Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog :
    http://sharepoint-community.net/profile/DharmendraSingh

Maybe you are looking for

  • Key Figure calculation in Abap is not working correctly - Overlooping

    Hi, I wrote a logic to calculate the ratio of key figure but it is not working correctly For example I have a requirement to split 1 Product into Several new Products and also the Net Amount will be splitted to these several new products as well. The

  • 3rd Gen iPod with current iTunes

    I write to inquire about how to best reorganize this 3rd generation iPod to accommodate podcast material in folders other than those for music.  The included image shows that the organization options are limited as the "consolidate files" option is t

  • Do we have INCLUDE=JAVA CLASS AND INCLUDE=JAVA SOURCE OPTION IN DATA PUMP

    Hi All , Can any one please tell me , how to import only java class and java source from datapump export file. Include=java class or include=java source is not working .. Thanks in advance, Sanjeev.

  • XML data (image and accompanying filename)?

    Hi, I just recently viewed some video tuts and read some Flex material so I'm a little more comfortable with all of its syntaxes and such. However one thing that eludes me when I tried to do this on my own was calling an XML file in mxml and having F

  • How are parameters based on %ROWTYPE checked?

    Hi there, (Oracle DB 11g) Please consider the following sample code: CREATE table t1(c1 number, c2 DATE); CREATE table t2(c1 number, c2 DATE); CREATE OR REPLACE PROCEDURE p (p1 IN t1%ROWTYPE) IS BEGIN NULL; END; DECLARE v t2%ROWTYPE; -- please note,