Logging the XML payload in Oracle Sales Cloud

How can xml payloads for inbound and outbound web service call be logged in Oracle Sales Cloud?
We need to capture the xml payloads as part of web service calls (inbound/outbound) and store it on server/objects.
Is it possible to achieve this and if so how can this be done?
Thanks,
Abhishek

For outbound invocations from Sales Cloud, how are you invoking the web services today?
If you are using groovy scripts to invoke, you can using a println after the invocation and view the messages through the "Runtime logging" feature.
This should work if you want to view the payload for debugging purposes
However, I also see that you need to store the response. Are you trying to implement auditing?

Similar Messages

  • Error Handling in Oracle Sales Cloud

    Is there a best practice guide/document for error handling in Oracle Sales Cloud?
    For example: Error handling in groovy scripts, business processes.
    Can someone provide a starting point to this topic?
    Thanks,
    Abhishek

    Hi.
    Please review this short video showing you the online logging feature for Application Composer - Groovy. It's very simple and gives you a basic debug capability.
    https://www.youtube.com/watch?v=RcyeKQY2ZGo&index=35&list=PL1ZiAfFIniZf_Uu4qTcp5IZYdFOm9K5o3
    Kind regards,
    Richard
    FA Developer Relations

  • There is someone who pass in certification Oracle sales cloud? What to study?

    Hello,
    My name is Rafael and i need a help,
    I will do the test for Oracle sales cloud, but i need to know what to study?
    And how tips i must to follow.
    thankyou.

    Hi.
    Please review this short video showing you the online logging feature for Application Composer - Groovy. It's very simple and gives you a basic debug capability.
    https://www.youtube.com/watch?v=RcyeKQY2ZGo&index=35&list=PL1ZiAfFIniZf_Uu4qTcp5IZYdFOm9K5o3
    Kind regards,
    Richard
    FA Developer Relations

  • Splitting the XML Payload in BPEL

    Hi
    <Sales order>
    <order>
    <orderno>1200</orderno>
    <ordered details>testing</ordered details>
    </order>
    <order>
    <orderno>1201</orderno>
    <ordered details>testing2</ordered details>
    </order>
    </sales order>
    i need to split the XML payload and send the different request.
    Example 5 sales order details are there in the XML payload. i need to send 5 different request.
    Can you anyone guide me using BPEL.
    Thanks Rahul

    http://clemensblog.blogspot.com/2006/03/bpel-looping-over-arrays-collections.html
    http://oraclebpelindepth.blogspot.com/2008/09/arrays-in-bpel_21.html
    with the while loop you can loop over your orders in the array, and for every order do for example the invoke to your other service

  • In PI how do I convert the XML payload (input) to a text file and send out

    I am extracting data from SAP and sending thru XI / PI to a file (non-sap system).
    On the receiving end, I need the file to be a text file, with one row for each "FTZ_Row concatenated_data" tag in the input.  It needs to be just a plain text file with no XML tags.
    Currently the file gets one record which matches exactly to the XML payload below.
    I want it to create a file that looks like this :
               CONCATENATED DATA 1
               CONCATENATED DATA 2
                012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12
    here is the payload going thru XI
      <?xml version="1.0" encoding="utf-8" ?>
    - <n0:FTZ_Concatenated_Row xmlns:n0="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" xmlns:prx="urn:sap.com:proxy:FI0:/1SAI/TAS0C0412CDBC3E782D0219:700:2008/06/25">
      <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
      <FTZ_Row concatenated_data="CONCATENATED DATA 2" />
      <FTZ_Row concatenated_data="012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12" />
      </n0:FTZ_Concatenated_Row>
    thanks
    jay

    thanks for the input but I am still having issues - I get an empty file when I use the content conversion option.
    My payload coming into XI is :
            <?xml version="1.0" encoding="utf-8" ?>
    - <n0:FTZ_Concatenated_Row xmlns:n0="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" xmlns:prx="urn:sap.com:proxy:FI0:/1SAI/TAS0C0412CDBC3E782D0219:700:2008/06/25">
    <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
    <FTZ_Row concatenated_data="CONCATENATED DATA 2" />
    <FTZ_Row concatenated_data="012345678912345678MAKTX-TEST LB 123123123123 01/02/2009 Z001WCHA9876543210.12" />
    </n0:FTZ_Concatenated_Row>
    Here is the layout of my data type - I am using the same for input & output
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone" targetNamespace="http://intel.com/xi/INTEL_PROCUREMENT/ForeignTradeZone">
       <xsd:complexType name="FTZ_Concatenated_Row">
          <xsd:sequence>
             <xsd:element name="FTZ_Row" maxOccurs="unbounded">
                <xsd:complexType>
                   <xsd:attribute name="concatenated_data" type="xsd:string" />
                </xsd:complexType>
             </xsd:element>
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I mapped these items :  FTZ_Concatenated_Row & FTZ_Row & concatenated_data
    I set up my content convesion with :
      recordset structure   FTZ_Row
    FTZ_Row.fieldSeparator     #
    FTZ_Row.endSeparator     'nl'
    I am not sure why the following row looks like this ??
        <FTZ_Row concatenated_data="CONCATENATED DATA 1" />
    I thought FTZ_Row would be one tag and "concatenated_data" would be another one.
    any help would be appreciated.
    I have read many entries/blogs/etc in SDN but and tried many different setups, but nothing is working.
    thanks

  • Getting BAM Error: BAM-06008: The XML payload is invalid; extra contents we

    Hi All,
    Version: 11.1.1.4
    We are getting the BAM Error: "BAM-06008: The XML payload is invalid; extra contents were found" after I added a another field to a BAM Object. I can see the new field in BAM and I can also see it when I pull up and map to a BAM adapter in my SOA composite. However, when I have the process send a payload with the newly added field it fails with the above error. However, if I add a new data object in BAM with the field it works fine. What would be causing BAM to think that the newly added field should be in payload?
    Any suggestions would be greatly appreciated.
    --S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If the layout of the data object changes then you need to restart BAM server for changes to take effect. Also make sure, your mapper file isn't adding extra elements than expected.
    Thanks
    Jahangir Pasha

  • BAM-06008: The XML payload is invalid; extra contents were found.

    Hi All,
    Version:11.1.1.6
    We are getting the BAM Error: "BAM-06008: The XML payload is invalid; extra contents were found" after I added a another field to a BAM Object.I have added that extra field to corresponding data objects .wsdl file as well as in the .xsd. I can see the new field in the BAM DO. However, when I used to send a payload with the newly added field it fails with the above error. However, if I add a new data object in BAM with the field it works fine.
    Why  am  I getting this error?
    Thanks,
    Rahul

    I have followed the following steps:-
    1.Make entry of new field in ".wsdl" file which is in the BAM folder.
    2.Make entry of new filed in ".xsd" file.
    3.Make appropriate mappings in ".xsl" file corresponding to the sensor's action.
    Initially i was only restarting BAM and was facing above mentioned error. After restarting SOA as well as BAM server, it started working.

  • How to get the XML Payload of called process from calling process?

    I have two SOA processes say process A and process B.
    Process B is called by process A.In process A I, am using the getRequestMessage() method in Java code to get the XML payload of process A.
    But i want the XML payload of process B in process A.How can i achieve it?

    Doug,
              I used the property loader method but I could not load the limits of any sub sequence call calling an external sequence file.
    I took the FlowRate_test.seq example from the NI Example folder "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI". I created a sequence called PumpTest.seq in the same folder path. I then moved the Pump Test step from the FlowRate_test.seq to the PumpTest.seq. Now created a sequence call in the FlowRate_test.seq and called the PumpTest.Seq as the module path. When I execute the FlowRate_test.seq , I get the error as shown below:
    Attached is the Flowrate_Test.seq and the PumpTest.seq which should be there in the folder path "C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Examples\PropertyLoader\LoadingLimits\LimitsFromExcelFile\UsingCVI".
    Let me know whether I am doing something wrong in this method. 
    My idea is to alter the runstate variable High and Low of Pump Test in the PumpTest.seq and then run the Flowrate_Test.seq.
    Attachments:
    PumpTest.seq ‏6 KB
    FlowRate_test.seq ‏11 KB

  • Unable to transform EDI document to XML payload in Oracle B2B inbound op

    Hi,
    In our current project we would be implementing Oracle B2B.So I am doing simple POC on Oracle B2B inbound operation for a EDI document for a project requirement.Facing issue if Transformation option selected in Oracle B2B console. Would really appreciate if you guys give me some pointer..
    Below is short desacription of POC:
    1) Created ECS file for Purchase Order(EDI_X12 Standard, 850, Version : 4010) in Spec Builder 6.6.0
    2) Created corresponding XSD and dummy test EDI data file(.dat) in Spec Builder 6.6.0
    3) In Oracle B2B Console, created Document Type and Document Definition
    4) Created 2 Trading Partners : Our Organisation(Host) and MyPartner(Remote)
    5) My Partner is Sender and Our Organisation is Receiver
    6) Linked Document Type to both Trading Partners
    7) Created a Listening Channel
    8) Protocol of Listening Channel is Generic File
    9) Mentioned Folder Path and File Type : %From PARTY%_%TO PARTY%_%DOCUMENT TYPE NAME_%DOCUMENT REVISION%.dat
    10) Agrrement validated and deployed
    11)Checked option Transformation for Agreement
    12) In SOA Composite created a simple Asynchronous BPEL process
    13) BPEL process using a B2B Adapter is subscribed to Document Type(Purchase Order) operatioon Receive and Mode Default
    14) Using a simple Assiign activity to map payload
    15) BPEL then inoke a File Adapter service to write sme XML payload(picked from B2B fatre EDI transformed to XML) to a file
    Issue Faced:
    1) B2B could make oput Sender and Receiver Trading Partners
    2) B2B could make out the Agrrement
    3) B2B is picking up EDI file
    4) If Agreemnet has Transformation option selected, then B2B is givinng below Error:
    [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILzvC2E0Va_xLp2iW1EzqZ_0000pg,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc
    at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
    5) It is unable to transfer EDI payload to XML
    6) Checked payload in Wire Message : still showing EDI payload
    7) Due to this BPEL is facing issue since it is expecting XML payload
    8) In BPEL it is givimng Error: Index Out Of bound.. I guess may be due to EDI payload
    9) If transformation option unchecked in Agreement in B2B console then B2B working good but BPEl failing
    Options Tried:
    1) I Exported Repository,then purged design time data and Reimported and restarted Server and tested..not working
    2) I also created a Parser Scehma for Blank EDI document(that option I found in Spec Builder 6.6.0==>New Document-->Parser Schema(Blank EDI Document) and then placed that Parser Schema file(ECS file) in folder :
    C:\Oracle\Middleware\Weblogic\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\config\schema
    and added an entry in XERegistry.xml
    <Item Name="SchemaFile">${XERoot}/config/schema/Spec2</Item>
    but not working..
    3) Checked namespace in XSd and WSDl for BPEL,they are correct
    Getting no clue how to resolve..Need help...
    Thank you...

    Log File :(Weblogic JDK pointing to 32 bit)
    [2012-01-01T01:32:01.818+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;[[
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
    java.lang.UnsatisfiedLinkError: com.edifecs.xengine.xeobjects.XEHelper.createN2XNative()Lcom/edifecs/xengine/xeobjects/XEDataProc;
         at com.edifecs.xengine.xeobjects.XEHelper.createN2XNative(Native Method)
         at com.edifecs.xengine.xeobjects.XEHelper.createN2X(Unknown Source)
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processIncomingDocument(EDIDocumentPlugin.java:1112)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2348)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.834+05:30] [AdminServer] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@182461f] [userId: <anonymous>] [ecid: 0000JILhj4XE0Va_xLp2iW1EzqZ_00002J,0] [APP: soa-infra] [dcid: 162dbcacafdb4641:19e705e4:13495b34174:-7fd3-0000000000000070] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0[[
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:2746)
         at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1533)
    [2012-01-01T01:32:01.846+05:30]
    ]]

  • HOW TO: Use the XML parser in Oracle 8.1.7

    I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.

    You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
    Both of these are included in XDK for Java at:
    http://otn.oracle.com/tech/xml/xdk_java
    The following document could also help:
    Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html

  • How to Associate a existing contact to a existing Account using file based import in Oracle sales cloud

    How to Associate a existing contact to a existing Account using file based import in Oracle sales cloud

    Hello,
    You can use this mapping in order to associate contacts with existing Accounts: This will relate the previously imported Contact with an existing Account.
    Regards,
    Oana

  • OSN and Oracle Sales cloud

    Can we add people who are external to Fusion application as participants, for e.g. customer, contacts?
    Can we add people who are using different Fusion application pillar for e.g. Fusion HCM as participants?
    Can we archive and purge conversations?
    Can we integrate OSN with other Social Apps?
    Is it possible to use any other social app from Sales Cloud in lieu of OSN?

    Hello to address the questions below:
    Can we add people who are external to Fusion application as participants, for e.g. customer, contacts? - Yes you can complete this one by one through the Admin Consol = https://syosn1xPOD.fs.ap1.oraclecloud.com/adminConsole
    Can we add people who are using different Fusion application pillar for e.g. Fusion HCM as participants? - Yes all Fusion Users can access OSN assuming they have access to the record they are viewing.
    Can we archive and purge conversations? - Not Automatically as an Admin i normally close these off after communication.
    Can we integrate OSN with other Social Apps? - Yes there is now a REST API
    Is it possible to use any other social app from Sales Cloud in lieu of OSN? - Perhaps but i wouldn't.
    Hope this helps.
    Jono

  • Passing the XML payload to the cursor in the Oracle Database

    Hi Experts,
                      I am trying to insert multiple records in the table of oracle database. I am sending 5000 records per message. I am using a stored procedure to insert the records. I want to make a single call to the stored procedure and insert all the records.
    I dont want to call SP for each record.
    Please suggest the way to implement this (Using Cursor/Loop) .
    Thanks
    Ajay

    Hi
    Use these link to insert multiple record in single call using stored procedure.
    http://www.vikramlakhotia.com/Inserting_multiple_records_using_one_stored_procedure.aspx
    http://weblogs.sqlteam.com/travisl/archive/2005/01/04/3931.aspx
    use this thread
    http://forums.asp.net/t/1235809.aspx

  • Finding the SQL fired by Oracle Sales Analyzer

    Hi,
    Is there a way to find out the SQL fired against the database by Sales Analyzer?.
    TIA,
    Vijay.

    It is a very long time since I used OSA, but there is a way to get at the SQL. Try one of the following:
    1) try describing the program SQ.WRITESQL as I think this may contain the required code
    OR:
    2) on OSA client (Windows) enable tracing by going to Help-Express Monitor and type:
    ifcopy=y
    badline=y
    echoprompt=y
    prgtrace=y
    dbgoutfile '/path/trace.txt' nocache
    OR
    3) Use the RECAP command in the Express Monitor window, this will show you the last series of commands issued and you should find the SQL code buried somewhere.
    Sorry I cannot be more specific, alas I don't have OSA installed anymore but it is great to hear from someone still using it.
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog : http://oraclebi.blogspot.com
    DM Blog : http://oracledmt.blogspot.com

  • Log the message payload

    Hello,
    We have a HTTP --> RFC synchronous scenario.
    We have 8 fields in request but we want to log only 6 of them in XI. The other 2 fields should not be logged anywhere in XI.
    Is that possible?
    Thanks,
    Beena.

    Beena,
    I've been raising this issue with SAP for a while now.  I entered a Service ticket with OSS to make this issue known internally at SAP and would strongly recommend that you do the same.
    Just so others also realize how important it is that the Card Number and CVV value not be logged - have a look at the Payment Card Industry Data Security Standards (PCI-DSS) which can be found here: https://www.pcisecuritystandards.org/security_standards/pci_dss_download.html. 
    If you take a look at the table on page 2 and you'll note that under the Storage Permitted column you'll note that for CVC2/CVV2/CID the entry is NO.  This means that a merchant may never store the CVV value in an unencrypted or encrypted format.  It simply is never allowed.  In fact, the following note is made after that box:
    Sensitive authentication data must not be stored subsequent to authorization (even if encrypted).
    Storing this type of data may subject a merchant to fines and perhaps even loss of their merchant license - effectively taking away their license to accept credit cards as a form of payment.  Even worse, should a breach of the data stored in the XI logs occur, the merchant may eventually find itself in the news as the next company to have had sensitive data stolen.  The fact that the data was unencrypted in SAP's XI logs would be even worse publicity!
    I'm trying to encourage SAP to help find an acceptable solution for this issue and would request that you also log this as an issue with SAP Support.  The CVV value is important to a credit card transaction and must be passed in the authorization transaction - but without being logged.  Until such a solution is found I would recommend that XI/PI not be used for processing credit card authorizations because of this PCI security issue. 
    As Srinivas states in his response, it may be best simply to bypass XI/PI altogether.
    Regards,
    Eric Bushman
    VP, Solutions Engineering
    [Paymetric|http://www.paymetric.com]

Maybe you are looking for

  • Bookmark "star" in URL bar is not working

    I'm clicking on the "star" to bookmark this page. It is not working and doesnt seem to be doing anything. The star shows it's animation on click, but does not allow me to save a bookmark.

  • Store Image through Servlet

    I want to store a JPG image into database column through Servlet and dispaly it on a JSP page through Beans how can i ?

  • Editing RED RAW ... final output for color?

    I'm editing with RAW RED files straight from camera. Looking good but just want to know what my best possible output file and quality scheme should be. Anyone else here do this workflow? I want to send out REDlog Film Gamma space for my color session

  • SOLMAN 7.0 EHP1 problem with starting SMD instance

    Hello everyone,<br><br> i have problem with starting instance SMD in my Solution Manager. After START this instance is status for one-two secend green and then status go to yellow color in SAP Management Console. I dont now where is problem, i try ev

  • Error number 207 error type SPECIFIC_CODE IMPORT ABAP phase error when install database instance

    IMPORT ABAP phase error when install database instance Error number 207 error type SPECIFIC_CODE. In phase   "Import ABAP" the installation halts with error. Can anyone please tell me what error should I search for and (possibly) what is the solution