Initiating an HTTPS post via Oracle Forms 6i

Greetings all...
Here is my problem. I would love some advise/next steps on solving it.
We are currently using web-version of Forms 6i with the JInitiator 1.1.8.16. I have a new requirement for an existing form where it needs to initiate an HTTPS "post" (not "get") to a remote server and then receive a response of success or not and some other information that the form will then act upon. I believe this means I cannot simply use the "web.show_document" built-in because it uses the "get" method rather than the "post" method.
Although I am a veteran Forms developer, I am new to all this java stuff. It has been recommended to me that I incorportate a JavaBean into the form to call on this remote service, but I have no idea what that means -- I've never opened JDeveloper. It was also mentioned that maybe there is already a JavaBean in existence that I can just use. I don't know what details of my situation would be useful to know to determine if one exists or not. Does this possibly existing JavaBean need to know already which URL I want to go to? Will it need to know the exact parameters I want to pass or could there be a JavaBean out there to simply "call any URL using the post method" regardless of the number of parameters to send it?
I've looked through some of the forum for this question and since I'm clueless on java stuff, I didn't find anything that jumped out as an answer for me. Can someone (or many of you would be fine) clue me on the best approach? Thanx.
Shane.

Since the initial post above, I've discovered more to this situation that doesn't give me much hope of implementation.
The "response" that I get back from the remove service is simply a "redirect" telling the initiating browser to go to a URL that I have to set up. When the response comes back, the remote service will tell the browser to go to this redirected URL with the "responses" as parameters in the URL resulting in the user's browser calling this "redirect" URL with a "get" method.
Not sure what all that means to be honest, but am wanting to learn.
Shane.

Similar Messages

  • Pls Help: View Crystal Report Via Oracle Form Builder

    Hi!!
    I want to know how to view the .rpt report (report made from Crystal Report) via Oracle Form Builder. I've to do it in my project. If you know, please tell me.
    Thanks in advance,

    I don't know how does crystal reports work, and I would guess you should ask the crystal guys to help you with this. find out if they have a command line interface that you can invoke from the host command in forms.
    We can help you do it with Oracle Reports though :-)
    http://otn.oracle.com/products/reports

  • Can a SQL SERVER table be accessed via Oracle Forms

    My boss asked me this question today. I am pretty sure the answer is "no", but thought it better to throw it out to the crowd:
    "Can a SQL SERVER table be accessed via Oracle Forms?"

    Yes, this is possible using Oracle's Transparent Gateway. Check out the My Oracle Support (formerly Metalink) document "How To Create A Form Based on SQL Server Table" (Doc ID: 564915.1) for all of the details. This document is based on Forms 10g (10.1.2.0.2) so you may need to upgrade your Forms version if you are not already at this version at a minimum.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Interactive Images via Oracle Forms

    I have succesfully migrated to Oracle 10g and I would like to incorporate images interactively via Oracle Forms. I've considered accomplishing this task by way of using SVG, but I would like to know if Oracle has a product of its own? And has anyone successfully integrated this concept via Oracle forms?

    Hi Frank,
    SVG is a very nice thin client technologie and there are a lot of good open JavaScript libraries for it.
    I wish a JavaScript API to and from Forms applets to interact with this SVG graphics ..
    The new Oracle MapViewer generates also SVG maps.
    Regards
    Friedhold

  • Large number of http posts navigating between forms

    Hi,
    i'm not really a forms person (well not since v3/4 running character mode on a mainframe!), so please be patient if I'm not providing the most useful information.
    An oracle forms 10 system that I have fallen into supporting has to me very poor performance in doing simple things like navigating between forms/tabs.
    Looking at the java console (Running Sun JRE 1.6.0_17), and turning on network tracing, I can see a much larger number of post requests than I would expect (I looked here first as initially we had an issue with every request going via a proxy server, and I wondered if we had lost the bypass proxy setting). Only a normal number of GETS though.
    Moving to one particualr detail form from a master record is generating over 300 post requests - I'v confirmed this looking at the Apache logs on the server. This is the worst one I have found, but in general the application appears to be extremely 'chatty'
    The only other system I work with which uses forms doesn't generate anything like these numbers of requests, which makes me think this isn't normal (As well as the fact this particular form is very slow to open)
    This is a third party application, so i don't have access to the source unfortunately.
    Is there anything we should look at in our setup, or is this likely to be an application coding issue? This app is a recent conversion from a forms 6 client server application (Which itself ran ok, at least this bit of the application did with no delays in navigation between screens).
    I'm happy to go back to the supplier, but it might help if I can point them into some specific directions, plus i'd like to know what's going on too!
    Regards,
    Carl

    Sounds odd. 300 Requests is by far too much. As it was a C/S application: did they do anything else except the recompile on 10g? Moving from C/S to 10g webforms seems to be easy as you just need to recompile but in fact it isn't. There are many things which didn't matter in a C/S environment but have disastrous effects once the form is deployed over the web. The synchronize built in for example. In C/S calls to synchronize wasn't that bad; But when you are using web deployed forms...each call to synchronize is a roundtrip. The usage of timers is also best kept on a low level in webforms for example.
    A good starting point for the whole do's and dont's when moving forms to the web is the forms upgrade center:
    http://www.oracle.com/technetwork/developer-tools/forms/index-095046.html
    If you don't have the source code available that's unfortune; but if you want to know what's happening behind the scenes there is the possibility to trace a forms session:
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/tracing002.htm#i1035515
    maybe this sheds some light upon what's going on.
    cheers

  • Beginner question: support to HTTP POST om Oracle AS

    Hi!
    I don't know if this is a suitable forum but since i use JDeveloper and Oracle BPEL I'll try my luck here :).
    I have a Java web application built in JDeveloper and a couple of BPEL processes.
    In these processes I use Java embedding (a piece of Java code) that opens a connection to a given URL and post a XML message to this URL. I didn't have much problems creating these processes.
    Now I have to provide a support to HTTP POST on my side. Since web application and services development are quite new to me I hope someone can point me the right way to do this. The requirements I have are: I can have a single URL to which the http POSTs will be issued.
    If I understand correctly I cant use a web service since I have to enable different types of XML posts. What are my options? Can I create some kind of listener for http POSTs? Can I create a jspx that will 'wait' for http posts and than call some of mine BPEL processes? Is there a way to create a BPEL process that 'waits' for http POSTs? Are there other options.
    I'd really appreciate any pointers on this.
    Regards,
    BB.

    Frank,
    I've tried creating a Servlet listener that implements HttpSessionListener interface. Now I have two methods, sessionCreated and sessionDestroyed but I don't know where to go next. I can't find any documentation on this issue yet.
    Should I create a jspx page with form node that has method attribute set to POST or maybe I don't even need a web page? I already have a login page that has a form with method set to POSt, will this pose any kind of troubles for me?
    I apologize for any stupid questions but as I said I have no experience in doing this and las couple of days I'm searching and reading different documentation on this topic so any more pointers would be appreciated.
    BB

  • Beginner question: support to HTTP POST at Oracle AS

    I tried same post on Application Server - General forum, but had no success.
    I have a Java web application built in JDeveloper and a couple of BPEL processes.
    In these processes I use Java embedding (a piece of Java code) that opens a connection to a given URL and post a XML message to this URL. I didn't have much problems creating these processes.
    Now I have to provide a support to HTTP POST on my side. Since web application and services development are quite new to me I hope someone can point me the right way to do this. The requirements I have are: I can have a single URL to which the http POSTs will be issued.
    If I understand correctly I cant use a web service since I have to enable different types of XML posts. What are my options? Can I create some kind of listener for http POSTs? Can I create a jspx that will 'wait' for http posts and than call some of mine BPEL processes? Is there a way to create a BPEL process that 'waits' for http POSTs? Are there other options.
    I'd really appreciate any pointers on this.
    Regards,
    BB.

    Frank,
    I've tried creating a Servlet listener that implements HttpSessionListener interface. Now I have two methods, sessionCreated and sessionDestroyed but I don't know where to go next. I can't find any documentation on this issue yet.
    Should I create a jspx page with form node that has method attribute set to POST or maybe I don't even need a web page? I already have a login page that has a form with method set to POSt, will this pose any kind of troubles for me?
    I apologize for any stupid questions but as I said I have no experience in doing this and las couple of days I'm searching and reading different documentation on this topic so any more pointers would be appreciated.
    BB

  • HTTP POST + Calling 10g forms

    If Jan's suggestion isn't suitable, you could try supplying the username in a HTTP POST, rather than as part of the URL - %username% in formsweb.cfg should still be able to pick it up.
    James

    Hmm, how are you populating the HTTP Post? In our application, we have a HTML login page with a standard HTML form, with the fields ir_username, ir_password and ir_dbalias. When the form is submitted, its 'action' is the URL required to start up the main Forms application.
    In our formsweb.cfg, we have:
    userid=%ir_username%/%ir_password%@%ir_dbalias%
    Of course, you could assemble the 3 parameters into one string in the calling HTML form and submit it as a single variable if you preferred.

  • How to redirect a workfow to another page after it initiated through a post in a form html?

    have this but it isn't work...
    <form action="/etc/workflow/instances" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="_charset_" value="utf-8"/>
                    <input type="hidden" name="model" value="/etc/workflow/models/buy-album/jcr:content/model"/>
                    <input type="hidden" name="payload" value="${currentAlbum.currentNodePath}"/>
                    <input type="hidden" name="payloadType" value="JCR_PATH"/>
                    <input type="hidden" name=":redirect" value="/content/discostore/en/homepage/discDetailPage/californication_red_hot.html" />
                    <input type="submit"/>
                </form>

    Where are you putting this code? In a Before Header section?
    I can see there are some possible compilation issues with the code. I think you'd better use:
    BEGIN
    IF APEX_UTIL.CURRENT_USER_IN_GROUP(p_group_name=> 'Customer')
    THEN
    htp.init;
    owa_util.redirect_url('f?p=&Custlogin.:1:&APP_SESSION.');
    END IF;
    END;
    Anyway, I would use branches to achieve what you need in your page. One branch for each type of user you would like to redirect... so, for example sending user to page "x" if condition above is met:
    -Condition Type=PL/SQL Expression
    -Expression=APEX_UTIL.CURRENT_USER_IN_GROUP(p_group_name=> 'Customer')
    Edited by: Kleber M on May 23, 2013 12:00 PM

  • Best approach for post-update (Oracle Forms equivalent) operations?

    Hi
    Having scanned all the available literature / blogs / forum posts I can find, I'm not sure of the correct way to proceed here, can anybody advise?
    I am planning to build a custom OAF page to update rows in a seeded Apps table.
    After any update via my page, I want to insert a message into a custom audit table, to record the event for reporting purposes. In Forms I would have used a POST-UPDATE trigger to do that, but there doesn't seem to be a direct equivalent in OAF.
    Here are the approaches I have considered
    1. Db trigger, or related approach. I don't want to do this on a seeded table.
    2. Create a pl/sql EO on the seeded table, use the pl/sql code to store the audit rows on update (this seems easiest to me ...).
    3. Use CallableStatement to create the rows in AM and call from CO (or EO?).
    4. Create java EOs for both the seeded table and the audit table, and implement the audit table update by manipulating the audit table EO.
    From all I have read, I believe #4 is the correct approach as pl/sql EOs are not recommended (except to leverage existing APIs), but it's not clear to me how to go about coding it, could somebody help me get started please?

    Gyan Darpan wrote:
    Step 1- create a Custom method in AM.
    Step 2 - Create a Eo & EOVO for the Audit table.
    Step 3- Get all the value from the page ..which u want to save inside the audit table.
    Step 4 - Once u get the value..set the same to the EOVO using setAttribute();
    Step 5 - Call this method before calling commit.
    Thanks Gyan, that's very helpful. I have a table with multiple updates, and I wasn't confident about how to identify the
    updated records to process them one by one, so after some more searching/experimentation I end up with this approach :
    1. Created an EO + EOVO for the Audit table (not sure VO actually required in this approach).
    2. Exposed the doDML method in the Seeded EO by clicking Data Manipulation Methods on the EO's 'Java' page.
    3. In the doDML method, I added code like this, which is called on every update : ( RequestsEO is the EO of the table being updated, MessagesEO is the audit table also being inserted into. )
           // Get New Message ID and instantiate a MessagesEO row.
           Number Id=Rtr.getSequenceValue("XX_MESSAGES_SEQ");
           NameValuePairs nvp = new NameValuePairs(new String[]{"LineId"},new Object[]{Id.toString()});
           MessagesEOImpl Msg = (MessagesEOImpl)getOADBTransaction().createEntityInstance("oracle.apps.xx.testaudit.server.MessagesEO",nvp);
           // Set various required fields in MessagesEO.
           Msg.setLineId(Id);
           Msg.setLineType("A");
           Msg.setSourceName("AUDITSREQ");
           Msg.setSourceId("1");
           // Build Audit message from fields in updated record.
           Number RequestId=getRequestId();
           String sRequestId=RequestId.toString();
           String sAttribute5=getAttribute5();
           Msg.setTextline("Updated Request ID [" +sRequestId + "] to [" +sAttribute5 + "].");
           // Update Request
           super.doDML(operation, e);
             I'm pretty happy with the result, but am I doing anything I "shouldn't" here?
    In particular, should I try to use VO and/or calling a method in the AM rather than coding direct in the EO?
    Thanks again
    RMH

  • Kerberos Ticket via Java to BW to access BW Querys with HTTP POST

    Hi and thanks for reading,
    im Working with 2004 and the NWDS SP10. We have a project which must show some reports from the HR system via backend and some BW Reports done with Web Application Designer 3.5.
    The user of the project application is able to select personnel numbers or org units in a tree UI element. At design time we do not know hwo many of each he might select (could be a couple of hundreds or even more).
    A URL isn't long enough to support our needs (255 characters border)
    A consultant said that we should use HTTP Post with a Form. He gave me an example like this
    <HTML>
    <BODY>
    <form name="querySelektion" action="<system name>" method="POST">
              <input type="submit" value="Formular senden" />
              <!-- Template Parameter -->
              <input name="SAP-LANGUAGE" type="hidden" value="D" />
              <input name="PAGENO" type="hidden" value="1" />
              <input name="CMD" type="hidden" value="LDOC" />
              <input name="TEMPLATE_ID" type="hidden" value="Z_TEST_AX" />
              <!-- Selektionsparameter -->
              <input name="var_name_1" type="hidden" value="H1_ORGST" /></td>
              <input name="VAR_NODE_IOBJNM_1" type="hidden" value="0ORGUNIT" />
              <input name="var_value_ext_1" type="hidden" value="50058503" />
         </form>
    </BODY>
    </HTML
    This is working beside the fact that i have to fill in my BW username and password. I translated this to Java with  the Jakarta HTTP Librarys into the following code.
    try
                HttpClient httpClient = new HttpClient();
                PostMethod post = new PostMethod("http://<system name>");
                NameValuePair[] data =
                        new NameValuePair("SAP-LANGUAGE", "D"),
                        new NameValuePair("PAGENO", "1"),
                        new NameValuePair("CMD", "LDOC"),
                        new NameValuePair("TEMPLATE_ID", "Z_TEST_AX"),
                        new NameValuePair("var_name_1", "H1_ORGST"),
                        new NameValuePair("VAR_NODE_IOBJNM_1", "0ORGUNIT"),
                        new NameValuePair("var_value_ext_1", "50058503")};
                post.setRequestBody(data);
                int iReturnCode = httpClient.executeMethod(post);
                wdContext.currentContextElement().setTextView(Integer.toString(iReturnCode ));
                post.releaseConnection();
            } catch (IOException ioe)
                wdContext.currentContextElement().setTextView(ioe.getMessage());
    All i get is an Error 401 which means "Not Authorized". The Portal (where the application is running) and the BW do both support Single Sign On and the BW System is configured in the Portal.
    I think the HTTP Post is to generic. I also think that i need to make a authorization before and post the Kereberos Ticket to the BW before.
    But how can i accomplish that? Is there a SAP HelperClass to configure or establish system connections of SSO enabled systems?
    Or is the approach with the HTTP Post in java wrong, maybe there is an easier way to do transfer a lot of personnel or orgunit numbers to the BW Query?
    Thanks in advance,
    Kai Mattern

    Since you mentioned, I now tried to modify the writeToFile method in a few ways (closing the streams, directly setting them to null...), but the "java.lang.IllegalStateException: Already connected" exception remains there
    Actually I suppose this has no effect on the originally reported cookie problem, because if I just completely remove this logwriting (+ the following URL disconnect-reconnect) from the code, the situation is the very same
    I paste my modified writeToFile method anyway, maybe you can tell what I do wrong here, and I can learn from that
        public void writeToFile ( HttpURLConnection urlConnection, String filename ) {
          try {
            BufferedReader bufferedReader = null;
            InputStreamReader inputStreamReader = null;
            // Prepare a reader to read the response from the URLConnection
            inputStreamReader = new InputStreamReader(urlConnection.getInputStream());
            bufferedReader = new BufferedReader(inputStreamReader);
            String responseLine;
            PrintStream printStream = new PrintStream(new FileOutputStream (filename));
            // Read until there is nothing left in the stream
            while ((responseLine = bufferedReader.readLine()) != null)
                printStream.println(responseLine);
            inputStreamReader.close();
            bufferedReader.close();
            inputStreamReader = null;
            bufferedReader = null;
            printStream.close();
          catch (IOException ioException) { /* Exception handling */ }
        } //writeToFile()

  • Interesting! JDeveloper deploy to remote server uses HTTP POST

    The documentation clearly mentions that the bpelc ant task only deploys to local server using a file copy. I was wondering how JDeveloper is able to deploy to remote servers. Turns out is just does a HTTP POST of multipart/form-data to upload the BPEL suitcase jar file. Given below is the trace of the POST. Of course, it is all proprietary for now and is not documented. Maybe Oracle can wrap this as a custom ant task?
    --Nizam
    POST /integration/services/deploy/deployProcess.jsp HTTP/1.1
    Host: bpel.server.com:9700
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: RPT-HTTPClient/0.3-3
    BPELDomain: default
    BPELPassword: bpel
    Accept-Language: en
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: multipart/form-data;boundary=*****
    Content-length: 10690
    Content-Disposition: form-data; name="upload";BPELDomain="default"; filename="E:\work\MyBPELWS\HelloWorld\output\bpel_HelloWorld_1.0.jar"
    PK..
    ........3................META-INF/....PK..
    ........3...#............META-INF/MANIFEST.MFManifest-Version: 1.0
    Process-GUID: MD5{9d2c0a4b850da042548cc6bdf1c04d68}
    Created-By: 1.4.2_06 (Sun Microsystems Inc.)
    Process-Id: HelloWorld
    Timestamp: 1124360790893
    Process-Class: BPEL
    Implementation-Package: bpel.p0
    Revision-Tag: 1.0
    PK..
    ........3................BPEL-INF/PK..
    ........3.\.Z............bpel.xml<?xml version="1.0" encoding="UTF-8"?>
    <BPELSuitcase guid="MD5{9d2c0a4b850da042548cc6bdf1c04d68}" timestamp="1124360790893" revision="1.0">
    <BPELProcess process-impl="bpel.p0.BPEL_BIN" src="HelloWorld.bpel" id="HelloWorld">
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">HelloWorld.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    </BPELProcess>
    </BPELSuitcase>
    PK..
    ........3[...5...5.......build.xml<?xml version="1.0" ?>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Run cxant on this file to build, package and deploy the
    HelloWorld BPEL process
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <project name="HelloWorld" default="main" basedir=".">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Name of the domain the generated BPEL suitcase will be deployed to
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="deploy" value="default" />
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    What version number should be used to tag the generated BPEL archive?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="rev" value="1.0" />
    <target name="main">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    the bpelc task compiles and package BPEL processes into versioned BPEL
    archives (bpel_...jar). See the "Programming BPEL" guide for more
    information on the options of this task.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>PK..
    ........3,.JaZ...Z.......graphics.xml<?xml version = '1.0' encoding = 'UTF-8'?>
    <graphics>
    <partnerlink_locations>
    <partnerlink name="client" x="15" y="215" side="left"/>
    </partnerlink_locations>
    <diagram popupeditor="false" centerzoom="true" validateonload="true" confirmbeforedelete="true" SELECTED_PARTNERLINK_COLOR="0,0,153" SWIMLANE_BACKGROUND="255,255,225" SWIMLANE_DIVIDER_BACKGROUND="236,233,216" GRAPH_BACKGROUND="255,255,255" SELECTED_BORDER_BACKGROUND="204,255,204" CONNECTED_PARTNERLINK_COLOR="204,204,255" CONNECTABLE_PARTNERLINK_COLOR="0,0,255" UNCONNECTED_PARTNERLINK_COLOR="192,192,192"/>
    </graphics>
    PK..
    ........3O ..............HelloService.wsdl<definitions
    targetNamespace="http://tempuri.org/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:s0="http://tempuri.org/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://tempuri.org/" location="http://localhost/HelloEnglish/Service1.asmx?WSDL"/>
    <plnk:partnerLinkType name="Service1Soap_PL">
    <plnk:role name="Service1Soap_Role">
    <plnk:portType name="s0:Service1Soap"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    PK..
    ........3.....
    ......HelloWorld.bpel<!--
    // Oracle JDeveloper BPEL Designer
    // Created: Fri Aug 05 00:05:52 IST 2005
    // Author: nizam
    // Purpose: Synchronous BPEL Process
    -->
    <process name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/HelloWorld" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:HelloWorld" myRole="HelloWorldProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:HelloWorldRequestMessage"/><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable" messageType="client:HelloWorldResponseMessage"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in HelloWorld.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from expression="concat("v1.1: Hello ", bpws:getVariableData('inputVariable','payload','/client:HelloWorldProcessRequest/client:input'))"/>
    <to variable="outputVariable" part="payload" query="/client:HelloWorldProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="outputVariable"/>
    </sequence>
    </process>PK..
    ........3.....
    ......HelloWorld.wsdl<?xml version="1.0" encoding="UTF-8"?>
    <definitions name="HelloWorld"
    targetNamespace="http://xmlns.oracle.com/HelloWorld"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/HelloWorld"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    .<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    .TYPE DEFINITION - List of services participating in this BPEL process
    .The default output of the BPEL designer uses strings as input and
    .output to the BPEL Process. But you can define or import any XML
    .Schema type and us them as part of the message types.
    .~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    .<types>
    ..<schema attributeFormDefault="qualified"
    ...elementFormDefault="qualified"
    ...targetNamespace="http://xmlns.oracle.com/HelloWorld"
    ...xmlns="http://www.w3.org/2001/XMLSchema">
    ...<element name="HelloWorldProcessRequest">
    ....<complexType>
    .....<sequence>
    ......<element name="input" type="string"/>
    .....</sequence>
    ....</complexType>
    ...</element>
    ...<element name="HelloWorldProcessResponse">
    ....<complexType>
    .....<sequence>
    ......<element name="result" type="string"/>
    .....</sequence>
    ....</complexType>
    ...</element>
    ..</schema>
    .</types>
    .<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    .MESSAGE TYPE DEFINITION - Definition of the message types used as
    .part of the port type defintions
    .~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    .<message name="HelloWorldRequestMessage">
    ..<part name="payload" element="client:HelloWorldProcessRequest"/>
    .</message>
    .<message name="HelloWorldResponseMessage">
    ..<part name="payload" element="client:HelloWorldProcessResponse"/>
    .</message>
    .<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    .PORT TYPE DEFINITION - A port type groups a set of operations into
    .a logical service unit.
    .~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    .<!-- portType implemented by the HelloWorld BPEL process -->
    .<portType name="HelloWorld">
    ..<operation name="process">
    ...<input message="client:HelloWorldRequestMessage" />
    ...<output message="client:HelloWorldResponseMessage"/>
    ..</operation>
    .</portType>
    .<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    .PARTNER LINK TYPE DEFINITION
    .~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    .<plnk:partnerLinkType name="HelloWorld">
    ..<plnk:role name="HelloWorldProvider">
    ...<plnk:portType name="client:HelloWorld"/>
    ..</plnk:role>
    .</plnk:partnerLinkType>
    </definitions>
    PK..
    ........3..............................META-INF/....PK..
    ........3...#......................+...META-INF/MANIFEST.MFPK..
    ........3..........................T...BPEL-INF/PK..
    ........3.\.Z......................{...bpel.xmlPK..
    ........3[...5...5.................i...build.xmlPK..
    ........3,.JaZ...Z.....................graphics.xmlPK..
    ........3O ........................I...HelloService.wsdlPK..
    ........3.....
    ....................HelloWorld.bpelPK..
    ........3.....
    ....................HelloWorld.wsdlPK...............&....
    *****

    If anyone is interested, I've created a custom ant taks to leverage this HTTP post for deploying the BPEL suitcase jar to remote servers. We didn't want to use FTP, as we'd have to change permissions on the files.
    To do this, I've leveraged the oracle.tip.pc.infra.deploy.DeployRemote class. You just have to pass it the path the the jar, server url (http://host:port/deploy/deployProcess.jsp), domain, and password.
    This seems to work fine for us.
    -Mike

  • Remove charset=utf-8 from HTTP POST

    I'm trying to do a HTTP POST via ABAP.  The application that I'm posting to does not like the "charset=utf-8" that is in the request.  I've been told that I need to remove it.  Does anyone know how to do this?  I'm not setting this field.  SAP is adding this charset automatically.
    Here is the request:
    POST /hapld/tos/kdwhapltos HTTP/1.1
    content-type: multipart/mixed; boundary=BOUNDARY; charset=utf-8
    content-length: 2018
    host: www.pld-certify.ups.com
    user-agent: SAP Web Application Server (1.0;700)
    accept-encoding: gzip
    sap-trace: 3
    --BOUNDARY
    Content-type: application/x-www-form-urlencoded
    Content-length: 128
    AppVersion=1.0&AcceptUPSLicenseAgreement=Yes&ResponseType=application/x-ups-pld&VersionNumber=V4R1&UserId=xxxxxx&Password=xxxxxx
    --BOUNDARY
    Content-type: application/x-ups-binary
    Content-length: 1396
    020093  2010071800000006852703500   000000002*AA296007......etc
    BOUNDARY
    Here is my code:
    CALL METHOD cl_http_client=>create
        EXPORTING
          host          = POST_HOST
          service       = '443'
          scheme        = '2'
          ssl_id        = 'ANONYM'
       proxy_host    =  wf_proxy
       proxy_service =  wf_port
        IMPORTING
          client        = http_client.
      http_client->propertytype_logon_popup = http_client->co_disabled.
      wf_user = '' .
      wf_password = '' .
      data: lv_value type string.
      CALL METHOD http_client->request->set_header_field
        EXPORTING
          name  = '~request_method'
          value = 'POST'.
      CALL METHOD http_client->request->set_header_field
        EXPORTING
          name  = '~request_protocol'
          value = 'HTTP/1.1'.
    CALL METHOD http_client->request->set_header_field( name = '~server_protocol' value = 'HTTP/1.1' ).
      CALL METHOD http_client->request->set_header_field
        EXPORTING
          name  = 'HOST'
          value = POST_HOST.
      CALL METHOD http_client->request->set_header_field
        EXPORTING
          name  = '~request_uri'
          value = POST_URI.
    CALL METHOD http_client->request->set_content_type
        EXPORTING
          content_type = 'multipart/mixed; boundary=BOUNDARY'.
    CALL METHOD http_client->REQUEST->SET_HEADER_FIELD
        EXPORTING
          NAME = 'Accept-Charset'
          VALUE = 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'.
    CALL METHOD http_client->request->SET_FORMFIELD_ENCODING
        EXPORTING
          FORMFIELD_ENCODING = http_client->request->CO_ENCODING_URL.
      CALL METHOD http_client->request->set_cdata
        EXPORTING
          data   = wf_string
          offset = 0
          length = rlength.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR wf_string1 .
      wf_string1 = http_client->response->get_cdata( ).

    Hi,
    I had a similar problem and could resolve it by using APPEND_DATA instead of APPEND_CDATA. Likewise, SET_DATA instead of SET_CDATA might solve the issue for you. The data has to be provided as binary data then.
    Regards,
    Stefan

  • Copy/Paste more than 64K from Excel to Oracle Forms

    We need to copy from Excel more than 64K of data into Oracle Forms 10g. After the copy/paste action. The data will be split and saved in the database. The data contains 6000 fields of each 14 characters.
    What we tried: Create a Long field in forms (maximum size 64K) and process the data which is in this field. But by using PLSQL the maximum size is only 32K. So currently we can only copy and process 32K at a time.
    Is there a way to process over 64K from an excelsheet via Oracle Forms 10g R2?
    Can it be done via Java and how?
    Is it possible to read the clipboard in parts of 30K blocks and paste it in the Long field block with multirecords?
    Restrictions:
    We are not allowed to do file upload and process it on the server side.
    Thanks for your help!

    Hello,
    In the form, you can use Text Items that have datatype as long, so you can strore 64K.
    I do not understand the problem with the PL/SQL, because you can pass 32Ko chunks as many as needed.
    <p>Also, see this article</p>
    Francois

  • Query execution taking longer time in Oracle form 10g !!

    Hi,
    I'm generating a report through Oracle form ( forms 10g) and its taking 3-4 hours to finish. But when I run the same report query in (Oracle 11g) database, it gets executed in less than 40 mins.
    The form takes only from and to date as input.
    I tried hardcoring the date in the Oracle Form and then the report takes only 40 mins to generate.
    I tried various approaches like changing the datatypes of form variable and correspondingly changing the query, but met with no success.
    When the report in run through the form , we can see the query getting run in backend for nearly 3 hrs !!! tats really confusing !!
    Please let me know, if anybody got any idea on this problem??

    Hi,
    Even I am facing the same problem above. I am trying to fetch results from a cursor which has subquery running over the db link and placing the results set in a csv file using client_io package. When I run the cursor directly from database (11G), it takes not more than 3-4 min to get the results back. But when I run the same cursor via oracle forms 10G, the query in local database keep on waiting for hours to get results from remote database with "SQL*Net message from dblink". Session on local database remains in active status with state as "Waiting" while the session on remote database goes inactive with state as waiting for event "SQL*Net message from client"
    This is confusing me since the same query when ran directly from backend fetches results soon.
    Please let me know if anyone can help here
    Thanks
    Garima

Maybe you are looking for

  • OWB Naming Conventions and Development Standards

    Hi all, I am developing a project in OWB. Could any one give me 'OWB Naming Conventions and Development Standards' document.

  • Session Variables DATA_TZ, DATA_DISPLAY_TZ, how to use them?

    Hello gurus Has anybody ever used DATA_TZ, DATA_DISPLAY_TZ? Where do I define the content of these 2 session variables? If done in RPD, then how do I define the initialization block logic for it? What's the idea behind? How do I apply it in the front

  • How to run the cocoa app directly after completion of downloading ?

    Hi , How to run the cocoa app directly on mac after completion of downloading ? I have a .app at server , I want to run the .app automatically after download and the .app should not save at download directories . Thanks

  • E72 not retrieving from Hotmail

    I have an E72 and it isn't retrieving emails from hotmail. I had the same issue last week for a day but now the issue is back. I have both hotmail and gmail on my phone. For some reason the gmail connects and updates but the hotmail doesn't.This is a

  • What file format to save in

    I have hundreds of photos I want to scan in on my Canoscan. When all is said and done it will probably be thousands. I'm worried about huge file formats if I save them all in TIFF format. Can I scan my photos into a portable hard drive as Jpegs at a