Clarification regarding UTL_HTTP.REQUEST_PIECES

Hi all,
I am having a java program which will keep on listening in particular port.
And i am having a stored procedure which uses the UTL_HTTP.REQUEST_PIECES package to post the message.
RES_PIECES utl_http.html_pieces;
VURL VARCHAR2(2000) := 'http://1.1.1.1:8080/FileName.htm?msg='abcd';
RES_PIECES := UTL_HTTP.REQUEST_PIECES(VURL);
But here, when the java application picks the message,it is showing that the message is posted in GET method and not in POST method.
I want the messages to be posted in POST METHOD.
Is there any other option which i need to set for this.
Please clarify.
Regards
Nathan

Actually Michael is exactly correct.Naturally ;)
Seriously Eric,
If I had to guess, I think Nathan is trying to accomplish a machine-to-machine poor man's Web Service, making use of the UTL_HTTP package. Using a <FORM method="POST"> is entirely dependent upon human interactivity...
I did one of these with PayPal, which worked quite well.
If I am right about my guess, the next logical question could be, who cares whether it is GET or POST, as long as it works? Since it is machine-to-machine, does it really matter? Of course it does, if moderate to large amounts of data need to be passed, as query strings have their limitations... In the example given by Nathan, it should matter, though.
Michael O'Neill
Publisher of the PigiWiki
clever-idea.com

Similar Messages

  • Utl_http.request_pieces Exception

    Hi
    oracle 10g
    I am trying to construct a report server request url dynamically and call utl_http.request_peices to execute the url to run the report from my package. The URL string that is constructed by the package, runs sucessfully if I run the URL from the browser, but the utl_http.request_peices call bombs with utl_http.request_failed exception. When I used utl_http.get_detialed_sqlerrm to display the error this is what I found
    http requestfailedORA-06553: PLS-103: Encountered the symbol "=" when expecting one of the following: etc
    My url string is of type
    http://<myserver>/reports/rwservlet?SRCN9659pdf_tst2&DESNAME<mypath>/<myrename>_2485_LeakId_1_20080714141944.pdf&OUTPUTIMAGEFORMAT=JPEG&p_sonris_inspection_line_id=2485&p_lr_seq_num=1
    I stepped thru, added awatch and copied the url_str variable and executed the same in the browser. It ran successfully. But fails with the above mentioned error with utl_http.request_pieces call.
    Any ideas?
    Thanks

    Had the same issue again... Problem was I was trying to run the procedure in DEBUG mode in Toad. That caused this weird error. Ran the procedure from the editor in a plsql anon block and it ran fine...
    ....?

  • Clarification regarding Shadow Table

    Hi All,
    Clarification regarding Shadow Table. FKK_GPSHAD is a shadow table that belongs to Business Partner. The doubts that i have is
    What is Shadow Table?
    What is the purpose of Shadow table?
    Is it correct way to update Shadow table Manually(Not using any BAPi etc....)?
    Is any BAPI available to update The above mentioned Shadow table.
    Thanks in Advance..

    Reclustering InfoCubes:
    With reclustering, the InfoCube fact tables are always completely converted. The system createsshadow tables with a new clustering schema and copies all of the data from the original tables into the shadow tables. As soon as the data is copied, the system creates indexes and the original table replaces the shadow table. After the reclustering request has been successfully completed, both fact tables exist in their original state (name of shadow table) as well as in their modified state with the new clustering schema (name of original table).
    You can only use reclustering for InfoCubes. Reclustering deactivates the active aggregates of the InfoCubes; they are reactivated after the conversion.
    Reclustering DataStore Objects
    Reclustering completely converts the active table of the DataStore object. The system creates a shadow table with a new clustering schema and copies all of the data from the original table into the shadow table. As soon as the data is copied, the system creates indexes and the original table replaces the shadow table. After the reclustering request has been successfully completed, both active tables exist in their original state (name of shadow table) as well as in their modified state with the new clustering schema (name of original table).
    You can only use reclustering for standard DataStore objects and DataStore objects for direct update. You cannot use reclustering for write-optimized DataStore objects. User-defined multidimensional clustering is not available for write-optimized DataStore objects.
    Pls chk this thread:
    Shadow Table?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/47/5cf74153b6ca17e10000000a155106/content.htm
    Hope this helps,
    Reward points...

  • ORA-29261: bad argument using UTL_HTTP.REQUEST_PIECES

    I am running Oracle 10gR2.
    I keep getting ORA-29261: bad argument when setting the proxy either by the UTL_HTTP.SET_PROXY or UTL_HTTP.REQUEST_PIECES code. I have searched this forum and found no resolutions. I have set this proxy in the browser and it works fine. The following are excerpts of my code:
    Begin
       utl_http.set_proxy('http://myproxy/theProxyFile');
    End;The error is:
    ORA-29261: bad argument
    ORA-06512: at "SYS.UTL_HTTP", line 22
    ORA-06512: at "SYS.UTL_HTTP", line 888
    ORA-06512: at line 2
    I get the same error when trying to set the proxy via UTL_HTTP.REQUEST_PIECES.
    Thanks in advance,
    Becky
    Edited by: Becky Eisen on Aug 8, 2011 10:15 AM
    Edited by: Becky Eisen on Aug 8, 2011 10:21 AM

    After submitting this, I realized that I needed to look in the Proxy file for the actual proxy! Duh.

  • Needs Clarification Regarding Listener.ora file

    I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    I can understand every entry in this file accept the following
    *(SID_DESC =*
    *(SID_NAME = PLSExtProc)*
    *(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
    *(PROGRAM = extproc)*
    *(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
    Although rest of entries refer to network services(Database name) and host address and protocol etc.
    what these above refere to.
    Please clarify me in this.
    Regards,
    D.Abbasi

    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
    Sample create External Procedure:
    http://surachartopun.com/2008/07/create-and-run-sample-external.html

  • Some clarifications regarding Aironet settings

    Hi,
    i need some clarifications regarding configuring Aironet stand-alone AP (in this case AIR-LAP1131AG).
    Under Security->SSID Manager:
    what is the purpose of Network ID?
    Under Guest Mode/Infrastructure SSID Settings - what is the purpose of Set Infrastructure SSID?
    and Force Infrastructure Devices to associate only to this SSID?
    Cheers,

    Assign a Service Set Identifier (SSID) to each VLAN configured on the AP. SSIDs enable endpoints to select the wireless VLAN they will use for sending and receiving traffic. These wireless VLANs and SSIDs map to wired VLANs. For voice endpoints, this mapping ensures priority queuing treatment and access to the voice VLAN on the wired network
    For further information click this link,
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/4x/42nstrct.html#wp1098806

  • Needs Clarification Regarding Segments and Datafiles

    Hi,
    I want clarification regarding Segments, Datafiles and extents.
    As we know that A segment is made of one or more extents and extents are composed of one or more datablocks in the HD.
    Since all data are store in Datafiles which are composed of extents and datablocks. I want to know weather a table(Segment) can span to multiple datafiles or in a sigle datafile.
    Regards,
    D.Abbasi

    And an easy way to check it by yourself :
    SQL> create tablespace abbasi_tbs
      2  datafile 'E:\ORADATA\DEMO111P\abbasi_01.dbf' size 1m autoextend off,
      3           'E:\ORADATA\DEMO111P\abbasi_02.dbf' size 1m autoextend off;
    Tablespace created.
    SQL> create table abbasi_tbl (id number)
      2  tablespace abbasi_tbs;
    Table created.
    SQL> insert into abbasi_tbl
      2  select rownum as rn
      3  from   dual
      4  connect by level <=10000;
    10000 rows created.
    SQL> commit;
    Commit complete.
    SQL> select distinct file_id
      2  from   dba_extents
      3  where  segment_name ='ABBASI_TBL';
       FILE_ID
             6
             7
    or...
    SQL> select distinct DBMS_ROWID.ROWID_RELATIVE_FNO(rowid)
      2  from   abbasi_tbl;
    DBMS_ROWID.ROWID_RELATIVE_FNO(ROWID)
                                       6
                                       7
    SQL> select file_name from dba_data_files where file_id in (6,7);
    FILE_NAME
    E:\ORADATA\DEMO111P\ABBASI_01.DBF
    E:\ORADATA\DEMO111P\ABBASI_02.DBF
    SQL>Nicolas.
    added the ROWID function usage
    Edited by: N. Gasparotto on Jun 21, 2009 11:02 AM

  • Need clarification regarding select query

    Hi,
    I need a little clarification regrding a Select senario
    I want to select data from table which have been minupulated between a certian date like between 1-DEC-10 to 31-DEC-10 and note that table does not have any time/date column. I've applied the following query to do this.
    select * from TABLE_NAME where sysdate between to_date('01-DEC-10') AND to_date('31-DEC-10');
    Would it work fine because I've tried it against a table and it returned me nothing however DML occur between time period.
    Regards,
    Abbasi

    Abbasi wrote:
    Hi,
    I need a little clarification regrding a Select senario
    I want to select data from table which have been minupulated between a certian date like between 1-DEC-10 to 31-DEC-10 and note that table does not have any time/date column. I've applied the following query to do this.
    select * from TABLE_NAME where sysdate between to_date('01-DEC-10') AND to_date('31-DEC-10');
    Would it work fine because I've tried it against a table and it returned me nothing however DML occur between time period.
    Regards,
    AbbasiAFAIK without log mining and auditing this is not possible.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm

  • Clarifications regarding Logistics Invoice Verification

    Hi SAP Gurus,
    I just wanted to confirm with you something that I noticed regarding the behavior of SAP MM LIV:
    1. It seems that for purchase orders with Account Assignment, you can change the Account Assignment Category in the LIV process. Say for example, I had a PO line item charged to a Cost Center; however, upon LIV, I can change the charging to say an Asset instead. I was just wondering why would SAP allow such transaction/s to happen? Wouldn't it compromise the integrity of the whole document trail (PO account assignment is different from the LIV)?
    2. Is there a way to edit the Account Assignment for a Purchase Order line item even if that item has been fully received and invoiced? I checked with the standard test system that I have at the moment and I observed that you can still edit the other PO details (quantity, price) even though the PO line item has been fully GR'ed and LIV'ed. However, the Account Assignment field is set to Display only. I checked the field selection for purchase orders and found no connection (the Account Assignment field is set to optional for all relevant factors)
    Hope to hear from you soon!
    Best regards,
    DeLo

    Hi Delo,
    Please find answers to your queries below in bold.
    1. I was just wondering why would SAP allow such transaction/s to happen? Wouldn't it compromise the integrity of the whole document trail (PO account assignment is different from the LIV)?  -
    There could be some business scenarios in some organisations, where in Procurement team uses generic cost centre (header), which is specific to particular department or group, to procure. But at the time of Invoice Receipt, AP team knows exact cost centre or order, etc  to post the amounts. To cover these kind of scenarios, SAP probably has provided the option to change acount assignment.
    2. Is there a way to edit the Account Assignment for a Purchase Order line item even if that item has been fully received and invoiced? -
    These field changes at various levels can be configured via t-code OME9.
    a) IR Changeable - This field if selected will allow to change the account assignment of a purchase order item at the time of invoice receipt.
    b) Acct. assg. changeable - This field is selected will allow to change account assignment for an item following goods receipt or invoice receipt.         
    Hope this clarifies your queries.
    -Ravi

  • Clarification Regarding Asset Accounting Chart of Depreciation Copy

    Hi,
    We have a company code called ACT
    For that we have a chart of depreciation assigned is ACT
    Number Ranges are 1000000-1999999 (For Example)
    Now we configured one more company code called RNC by Copying ACT company code and other settings from ACT company code only.
    Clarification required - In Asset Accounting for Company code RNC we are plannint to assign chart of depreciation ACT as it is.
    If we do like that - System will take the number ranges from the above ACT number ranges 1000000-1999999 ? or else system will take 1000000-1999999  number ranges from RNC company code? This is my doubt?
    I think system will share the 1000000-1999999  number ranges in Asset accounting for both company codes ACT & RNC as we are using Same ACT chart of depreciation for Both company codes.
    If we assign Same chart of Depreciation to both ACT and RNC company codes - Is it necessary to do any other configuration or no need to do any?
    Kindly clarify my doubt
    Thanks
    Supriya

    Hello,
    Make sure that the both the company codes are in a single country before assigning the same chart of depreciation.
    The number range of assets are defined at company code level. Meaning that you can have the same asset number in different company codes. The system will not share the number ranges across company codes.
    Regards,
    Ravi

  • Clarification regarding GO LIVE

    Dear all,
    I need a Clarification required regarding GO LIVE PRODUCTION server
    The client wants to upload available opening data in SAP and work parallel in both existing ERP and SAP as well.
    At the end of 2nd Qtr, They want to compare data in both the systems and want to reset the data in SAP for any differences in data.
    For example we can reset the stock through physical inventory process.
    Like wise can we reset the G/L account balances in SAP so that the client can continue only with SAP there after?
    Balance sheet will be taken in existing system for 1st 6 months and in SAP for next 6 months.
    Is this practice RECOMMENDED or do we have to set up new production client for the next six months?
    Please suggest.
    Thanks & Regards,
    AR

    Hi,
    The client needs a benchmark to understand the transactions in SAP goes well.
    At the end of the Quarter they would take balance sheet in both the SAP system and the Legacy system and compare them.
    If both of these match, thats great..
    If there are any differences, they would then need to understand why these differences are.
    Inorder to balance both of these, they would need to pass journal entries into the respective ledgers..
    The main problem would be for them to post the documents in both of the systems parallely.
    Hope your doubt is cleared.
    Cheers
    Raghu

  • Just needed some clarification regarding the Viewer Builder and actually publishing your App...

    If someone could let me know if my understanding is correct, that'd be a huge help... So I've designed my publication in InDesign and exported the .zip file from the Folio Producer. I've created all of my certificates/splash screens/icons. Lastly, I just recently went through the steps of the Viewer Builder. I'm now at the stage of this process that requires me to purchase the $395 single edition so that I can enter the serial number in the last stage of the Viewer Builder. Now, to my knowledge, once I get the serial number, Viewer Builder will then give me access to an .ipa file and a .zip file. The .ipa file is for me to test on my iPad, and the .zip would be used to distribute to the App Store. I guess this is where I get confused... Let's say after I test the .ipa on my iPad, I don't like some part of my publication. I know how to update my own documents obviously, and I understand that I would have to export another .zip file from the Folio Producer, in turn requiring me to edit the exported folio link in the Viewer Builder. If I had to do that, would I need to purchase another single edition serial number since the original App was edited? Or would the same serial number apply since I'm editing that same App in the Viewer Builder? My next question is somewhat similar. Let's say all of the information is up to date and I go ahead and publish the App to the App Store. However, maybe a month later or some time in the future, I needed to update a phone number or email address--some little detail like that. Again, I understand that I'd have to update the export link in the Viewer Builder, but would I then need to create a new app since my app was already published? Would I then have to purchase another $395 single edition serial number just so that I can update my information? This seems to be the only thing in this whole process that I could use some clarification on so that I don't run into any surprises in the future. Any help would be great, thanks!

    Hi Joshua,
    When you have purchased the serial, you can rebuild your app with your updated content, as long as you use the same bundleID (applicationID), that is tied to your Apple mobile provisioning profile. The serial number is valid for a one year period.
    After you have submitted your app to Apple and it has been approved, please read: http://forums.adobe.com/message/4172167#4172167
    With kind regards,
    Klaasjan Tukker
    Adobe Systems

  • Clarification Regarding Logical System Names

    HI all,
    I read the blogs regarding Logical System Name, even I am having the some problems in my system.
    For PI system client is 100.
          R/3 System Client is 100 is created.
    IN PI when I checked the sale->basic setting-> LOgical Settings-> Assign Logical Systems
    I found there is only one client 100, and it is having the same logical system name as 'PICLNT100'.
    In SLD one Business System is created for Client 100 and having the Logical System Name is 'PICLNT100'.
    When I checking in the R/3 system that logical system Name ('PICLNT100')  is not there  and for r/3 client 100 having the different logical system name.
    IN ID when I found the Goto ID->File Buinsess system and Menu ->Services->Adapter Specific Identifiers->Logical Ssytem,
    It is different from the SLD logical System Name.
    How Can I know in PI, that Logical System is belongs to r/3 or PI client 100,
    when I running the sceanrio it is giving error as ATTRIBUTE_INV_SND_SERV while doing the file to Idoc scenario.
    How I have to maintain the logical system names in this case?
    please help me in this.
    Regards,
    Sree

    hi.
    each r3 system has his own SLN (PI,BI,ECC,etc). this name identify each R3 sytem.
    http://help.sap.com/saphelp_nw04/helpdata/en/78/217dc151ce11d189570000e829fbbd/frameset.htm
    IN ID when I found the Goto ID->File Buinsess system and Menu ->Services->Adapter Specific Identifiers->Logical Ssytem,
    to export data of your R3 system to SLD, just do it from TCODE RZ70 in your r3 system, not PI.
    once you configure it all data from r3 system is exported to SLD.
    if the SLN does not match in Adapter Specific Identifiers->Logical Ssytem, edit the Bussines System (press in the little pencil) go to Adapter Specific Identifiers->Logical Ssytem and prees in the little hand icon. in the SLN in not refresh, go to menu enviroment--> CLEAR SLD DELTA CACHE. and repeat the steps before.
    each time you send data to an R3 system and the sender system is a legacy. in your receiver communication channel>header mapping>sender system--> select the PI Bussines system and try again.
    hope its helps
    Rodrigo
    PD: rewards points if useful

  • Clarification regarding Parked MM Invoices

    Hi SAP MM Gurus,
    I just want to further my understanding regarding SAPs behavior on parked MM invoices. A parked MM invoice generates a corresponding parked FI accounting document which only shows the vendor line item. Would you happen to know the intent as to why it was designed this way? Is there a way of displaying all the simulated entries in the FI document created for the parked MM invoice?
    Your immediate response/s are highly appreciated.
    Best regards,
    DeLo

    Hi,
    1. As for my experience, we use park invoice as one step in the proess of Invoice verification, for eg.. accountant will park it first; then the Chief accountant will check once again. If everything is fine, he will post this invoice. This is to reduce the incorrect for invoice posting, and authorisation issue also.
    2. As it is just a park invoice, so no where to display as u ask.
    Best regards,
    Hong

  • Clarification Regarding SOAP adapter

    Hi,
       When we use webservice. do we need to go for BUSINESS SERVICE or Third Party BUSINESS SYSTEM. Please anybody can me help me regarding this.
    Thanks,
    dhanush.

    Hi,
    Go thru this blog.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1 by Shabarish Vijayakumar
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 by Shabarish Vijayakumar
    trouble shooting rfc/soap -
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 - search this to find all abt various parameters
    Hope it helps..
    Kumar.S

Maybe you are looking for

  • How do I Disable protection on an entire website instead of just one page?

    "Firefox has blocked content that isn't secure" How do I allow it? In this article- https://support.mozilla.org/en-US/kb/how-does-content-isnt-secure-affect-my-safety?as=u&utm_source=inproduct#firefox:mac:fx28 It tells you how to bypass the protectio

  • Migration Assistant in Mavericks not listing Users

    I thought I would experiment with using Migration Assistant on my two MBPs since I will be helping someone tomorrow transfer their data from an old iMac to a new one. I have a Mavericks MBP and a Mountain Lion MBP and connected them together via ethe

  • Velocity Template that contains XML

    I have found an annoying issue with .vm velocity template files that contain XML within JDeveloper 10.1.3.0.4 (SU3). The .vm file is being picked up as an XML file and XML validation is failing due to the velocity commands. This is stopping me buildi

  • Update Country of Origin in Inbound Delivery(SHipping Notification)

    Hi All: I am using GN_DELIVERY_CREATE function module to create inbound shipping notification, in that i am updated the coo in SPE_HERKL field of the internal table XKOMDLGN for each item. This CoO is update in each item of the inbound shipping notif

  • Cannot open image direct from external hard drive in Elements 9

    I have recently upgraded from Elements 8 to 9 and when I search for an image in my external hard drive (where all my photos are stored!) I used to be able to double click on it and it opened in E8. When I try this in E9 I get a message: 'Photo image