CI based Web Service error handling

Hello

I use a CI based web service to update my ps tables. Now, I have a requirement to capture the request and response messages in a table / how to get the request message?

PeopleSoft already collects it for you.

You can retrieve the request and response xml by using the method GetSyncLogData in the class IntBroker
PeopleSoft also uses that you submit the request and response xml in services monitor.

Line of code in the pageactivate of AMM_RAWXML4
+ & str = %IntBroker.GetSyncLogData (AMM_SYNCLIST. GUID, decodelogtype (AMM_DERIVED. LOGTYPE), False); +

You can retrieve the TransactionID (first parameter) by running a select statement on PSIBLOGHDR where IB_OPERATIONNAME = 'YOUR_CI_SERVICE_OPERATION_NAME. '

PeopleBooks on this method:
http://docs.Oracle.com/CD/E28394_01/pt852pbh1/Eng/psbooks/TPCR/book.htm?file=TPCR/htm/tpcr27.htm#57248C9C_1355AB6F02A_6CF7

Syntax
GetSyncLogData (TransactionId, LogType % [, Archive])

Description
Use the GetSyncLogData method to return a log containing information about the specified synchronous message.
You can use this information for debugging. Using this method, you can get the data request and response to a synchronous request, before and after the transformation.
This function is used in PeopleCode for the Message monitor.

Parameters
TransactionId
Specify the ID of the published message transaction.
LogType
Specify the type of log that must be returned, depending on the type of message. See below for valid values.
Archives
Specify whether to retrieve logs archived as well. This parameter takes a Boolean: true to return archived newspapers, false otherwise. The default value is false.

For the LogType parameter, valid values are:
Constant value
Description
% Sync_RequestOrig
Gets the log for a data sync original request message.
% Sync_RequestTrans
Gets the log for a message of transformed data synchronization request.
% Sync_ResponseOrig
Gets the log for a data sync original response message.
% Sync_ResponseTrans
Gets the log for a message of transformed data from reply sync.

Returns
An XML string containing the log data.

Tags: Oracle Applications

Similar Questions

  • Test a REST based Web Service for Oracle R12.2.3

    Using the Oracle Support document,

    Installation of Oracle E-Business Suite integrated SOA Gateway, version 12.2 (Doc ID 1311068.1()

    I was able to deploy the REST web service based to FND_USER_PKG as FndUsrPkgSvc.

    I am able to view the file w.


    How once on the test REST based Web service?


    There is everything by deploying a REST Service Secuirty next note

    How this only plays a role in testing the web service.



    REST service security

    REST Web service is secure basic authentication HTTP to the HTTP Transport level. Send any of the following in the "Authorization" header according to the basic HTTP scheme:

    -Username:Passwod

    -Security token.

    Tip: Use connection Service to get a token of security for account taken of the user credentials.



    Thank you

    Rohit



    The guidance provided in the Guide of the SOA (156 Pg) developer are very useful, and once followed step by step allows not only to deploy, but also test the REST web service.

    Rohit-

  • HP 7520 unable to connect to Web Services, "error server connection."

    I have installed the printer software from the disc to a network wireless set up, it gets to the stage where the printer is trying to connect to Web Services, but then said that there is a server connection error.

    I can print from my computer and also my laptop with no problems. Help please.

    Thanks, Barry

    I don't want to go to this conclusion immediately. When you set the static IP address on the front of the printer, it allow you to set a static DNS? Static DNS is the important part of this step. If it won't let you set the static DNS, go to EWS printer by typing it's IP address in a web browser. Set the printer to use Google's DNS (8.8.8.8 = Preferred: Alternate = 8.8.4.4). Once you set the static DNS, turn off the printer and the router. Turn on the router first and let it stabilize before turning on the printer. It normally takes a minute or two for a router stabilize. Let me know what happens.

  • Web service error - related OS?

    Hello

    I developed an application in Eclipse using JDE 4.3.0 plugin. The application that I have works fine until I have try to hit a webservice. To try to hit all the application crashes or comes back with the error "error communicating with webserive or SOAP body or soap envelope is missing".

    I get a message asking for confirmation of the call to the correct server.

    The application uses consistent with the JSR 172 J2ME Web Services specification generated stubs for hitting the webservice. The Web Service is written using VS.NET 2005 and worked very well for the Simulator.

    The strange thing is, the app works fine on a Blackberry Bold with OS 4.6.0.126. The handset that I use to test which is a failure is an 8700 c with 4.5.0.99.

    I tried the application deployment by pushing it using the BES server and also using the Desktop Manager.

    There is no security setting obvious that differ in different handsets, could it have something to do with the number of BONES?

    Any suggestion would be appreciated. Thank you very much.

    Solved, changed required proxy server settings because the error was caused by a time out.

  • The right Web Service error

    I have set up the web service of this tutorial: http://www.Adobe.com/devnet/digitalpublishingsuite/articles/your-direct-entitlement-servic.html

    I've got the db configuration and work, but when I try to create an application he says: "the GUID for AdobeID 'xxxxx' could not be found.  I have replace my AdobeID in the message by xxxxx.

    Anyone using this tutorial and get this error message?  Any idea what's going on?  The tutorial and code not provice any troubleshooting info.

    Make sure you have the latest zip associated with the article.  We recently changed to require SSL and a new field for examples.  You should have these 4 lines starting at line 66 of the admin/index.php

    curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, false);

    If you're still having problems, check the logs and contact me directly.

  • Admin Web service error

    Recently, we copied a box CF 7.02 with the file of the car to a new server. After that, all traffic on the new server that is trying to call a Web service (finally / salesforce) bombs, saying that it cannot generate stub objects. In addition, when you try to enter in admin, it is said that the Web service is not valid. (Even though 2 other boxes currently have the same parameters and work.) Any ideas would be very appreciated. I enclose a copy of the error I get.

    -----------------------------------------------------

    Had, there was a problem in the firewall on the new server.

  • Web Service error on downtime

    We develop Web services applications.
    Someone after items, please tell us.

    (1) if, Web services, Oracle CRM On Demand to connect downtime if the error?

    (2) if, Web services and data to add to the capacity is exceeded, an error?

    (1) and (2), we are some mistakes and I want to know if there is an error message.
    We take care of these errors.

    Thank you.

    1. If web services are stopped or OnDemand is off service->, you cannot connect and you will not get the jsession id. Most likely reason will be Server not available.

    2 capacity is exceeded-> certainly you will get the error message, I don't know exactly what message you will get.

  • LabVIEW Web Services: How "undeploy" web services

    I created the example of web services:

    Address book in book labview\examples\comm\webservices\address project for an example of a Web service that handles to publish data, streaming output, static content and HTML Forms.

    Weather project monitor labview\examples\comm\webservices\weather monitor

    for an example of a Web service which publishes simulated weather statistics.

    Using the generator of the user Web interface, they are still included in the list of available web services when I import Web services.

    How can I get rid of them?

    My OS is Windows Server 2003

    C:\Documents and Settings\All Users\Application Data\National Instruments\WebServices\aws

    Has been able to manage web services via the System Manager.

    Thank you

  • 7520 photosmart all-in-One: sudden problem connecting to web services

    I used my HP Photosmart 7520 years without problem scanning to e-mail. Now I get "Unable to connect to Web Services" error message. I also have a server connection error appear together try to print selections on the screen of the printer - such as the activities of crossword puzzles, sudoku and children.  How can I fix it.

    Hello

    From the Configuration menu, select Web Services Configuration.

    Select Delete Web Services and confirm any command prompt.

    Now re - open the Apps option and follow the steps to reactivate Web Services.

    Once you're done open the scanning to Email application and follow the steps to reactivate Web Services.

    Provide your own e-mail address, and then type the PIN Code received in your email address and try scanning.

    Kind regards

    Shlomi

  • Declaration of Action in the error handler

    We have an obligation to use action of reporting in the Service error handler to capture some details for the reports. We use the Proxy in this transportation options and JMS messaging, we use 'Transaction' as activated to retry messages that have failed.

    Now if ever he flow fails and goes to the service error handler and there is no report get generated in the "operations-> e-mail reports. But when the 'Transaction' option in transportation options is disabled in the Proxy, we are receiving reports.

    Is it possible to get the reports generated with the option of 'Transaction' enabled?

    Then your provider reports is managed within the same XA transaction as your agent. Validate them or the two rollback. If you want to error report that you can always use XA transactions for your proxy server, but you cannot use it to your provider reports.

  • The call to the web service help

    Hello

    I use a web service to handle validation. I created the web service and it ran OK, but the report still does not found data. I wanted to see what was in the returned collection, I have therefore created a new region with the following SQL:

    SELECT CLOB001
    OF wwv_flow_collections c
    WHERE c.collection_name = 'P37_VALIDATECCSZ_RESULTS. '

    This has given in: "Marion 0 true true Wayne 14505 1.0 AddressResponse: Marion, NY 14505/Val = true/Rel = 1.0/INCP = true/Geo = 0 NY true."

    The default report is a failure because the response is not XML I think.

    I ran the web service in java and it returns:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    < soapenv:Body >
    < ns:validateCCSZResponse xmlns:ns = "http://validation.util.oss.paetec.com" >
    < ns:return xmlns:ax28 = "http://sag.oss.paetec.com/xsd" xmlns:ax22 = "http://rmi.java/xsd" xmlns:ax23 = "http://io.java/xsd" xmlns:ax21 = "http://client.validation.util.oss.paetec.com/xsd" type = "com.paetec.oss.util.validation.client.AddressResponseArray" >
    < ax21:responses type = "com.paetec.oss.util.validation.client.AddressResponse" >
    < ax21:city > Marion < / ax21:city >
    < ax21:code > 0 < / ax21:code >
    < ax21:country / >
    Wayne < ax21:county > < / ax21:county >
    < ax21: incomplete > true < / ax21: incomplete >
    < ax21: incorporated > true < / ax21: incorporated >
    < ax21:locClli / >
    < ax21:postalCode > 14505 < / ax21:postalCode >
    < ax21:postalCodeExtension / >
    < ax21:reliability > 1.0 < / ax21:reliability >
    < ax21:shortDescription > AddressResponse: Marion, NY 14505/Val = true/Rel = 1.0/INCP = true/Geo = 0 < / ax21:shortDescription >
    < ax21: state > NY < / ax21: state >
    < ax21:streetName / >
    < ax21:streetNumber / >
    < ax21: unit xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: Nil = "true" > < / ax21: unit >
    < ax21: validated > true < / ax21: validated >
    < / ax21:responses >
    < / ns:return >
    < / ns:validateCCSZResponse >
    < / soapenv:Body >
    < / soapenv:Envelope >

    So, anyone know why the call of APEX web service does not return the XML? I get the values from the XML, but I have no way to analyze to get what I need...
    Thank you
    -Johnnie

    Johnnie:

    I slightly changed the basics of Xpath and also changed namespace. Try the following.

    SELECT extractValue( value(T), '//city', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) city
    ,extractValue( value(T), '//county', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) county
    ,extractValue( value(T), '//incomplete', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) incomplete
    ,extractValue( value(T), '//postalCode', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) postalCode
    ,extractValue( value(T), '//reliability', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) reliability
    ,extractValue( value(T), '//state', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) state
    ,extractValue( value(T), '//streetName', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetName
    ,extractValue( value(T), '//streetNumber', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetNumber
    ,extractValue( value(T), '//validated', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) validated
    FROM TABLE(xmlsequence(extract(XMLTYPE.createxml('
    
    
    
    
    Marion
    0
    
    Wayne
    true
    true
    
    14505
    
    1.0
    AddressResponse: /Marion, NY 14505/Val = true/Rel = 1.0/Incp = true/Geo = 0
    NY
    
    
    
    true
    
    
    
    
    '),'//responses','xmlns="http://client.validation.util.oss.paetec.com/xsd"'))) T
    

    Kind regards

    Jason

  • Error SSE2 optimization in the deployment of Web Services

    I'm migrating from 2010 to 2011 SP1 web service [because web services 2010 SP1 were buggy]. At first, I could build and deploy the code very well. Now, I get the following deployment error:

    LabVIEW error: (Hex 0xFFFEFA45) LabVIEW Web Services: call to create a VI reference failed. The target does not support SSE2 optimization. Disable SSE2 optimization in the Advanced dialog box of the Web Service Properties page before continuing.

    Based on the online documentation, my hardware can support SSE2 - but no matter, I disabled it anyway. The error message persists. This message means anything this SSE2 optimization is enabled and is not supported? Based on the text of the error, it seems that turning off optimization should probably fix the problem...


  • Connection to the Web (KSOAP2) service error

    Hi all

    I developed a BB app that connects to a Web service in our company. I'm using ksoap2 to communicate with the service. Here's my problem: the application works very well on an AT & T "BOLD", but when one of my customers in the United Kingdom trying to run the same application on his "BOLD" of Vodafone, there is the following error message:

    Error of verified accounts!  Details:

    Expected: START_TAG {http://

    Schemas.xmlsoap.org/SOAP/

    {envelope /} envelope

    {positionTART_TAG}@ 02:44 in

    ( java.io.InputStreamReader@d9ad3d7c)

    Here is the info on two phones:

    Version of brand Vodafone "BOLD" - o/s v4.6.0.162 (Platform 4.0.0.155) - 1.0.102.63

    Version of Branding AT and T "BOLD" - o/s v4.6.0.167 (Platform 4.0.0.157) - 1.0.102.142

    Any help will be greatly appreciated.

    Thank you

    Read Pazmino

    in response to the OP:

    START_TAGmeans that your ksoap2 Analyzer receives a message html, most likely an error from the Web server. most common would be a 401 authorization required, but others are also possible.

    ksoap2 cannot handle http errors, you must expand its features (or live with it). improve download the ServiceConnectionMidp of the class of the ksoap2 and extend it.

  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • [MAF - AMPA] How the custom/override error after the failure of the asynchronous Web service call?

    Hi Experts,

    I am looking for a best practice to make the error handling in the MAF.

    Currently my application is using AMPA and call the REST service.

    However, I would like to know how to handle this kind of error

    1. the device is not connected to the network (can we personalized it?)

    error2.png

    2. the device is connected to the network but cannot call service

    error1.png

    3 and the other exceptions of the asynchronous call to the AMPA

    In addition, how to mark a method call in the exception handler?

    referring to this http://multikoop.blogspot.com/2014/02/adf-handling-exceptions-from_14.html in ADF tf we mark as exception handler.

    Best regards

    Hendry

    Hendry,

    You have several options. It depends on how you want to handle exceptions:

    -If you just want to hide the mistakes of web service end-user call, you can set the showWebServiceInvocationErrors property in the persistence - mapping.xml to false (you want to generally this set to false, by putting your application in production, the default value is true, because during development, it is more convenient to directly see the errors of appeal WS)

    -If you want to display a custom error message, you can create a subclass of RestJSONPersistenceManager, register for this subclass using the property "remotePersistenceManager" in persistence - mapping.xml and override the handleInvokeRestServiceError method.

    It depends also how you want to process POST/PUT/DELETE requests that fail. Do you want the AMPA runtime register this request as pending for the runtime synchronization action automatically tries to return the claim later? Or you just want to display an error message to the end-user with a text like "try again later?

    Steven Davelaar,

    Oracle Mobile A-team.

Maybe you are looking for

  • Update picked up at the end of the installation

    On the application of the most recent update of OS X El Capitan, I seems to be stuck to a gray screen saying end installation. ... less minutes remaining.  I started yesterday and come back never until today.  What should I do?   I have a Time Machin

  • Problem loading of Satellite A660

    Hello! After CMOS, do not load my charger and leads IN AD is running and the battery led is intermittent mix orange led with white led... If I don't have the battery in the laptop my pc switched off 10 seconds after the CMOS. More if I turned off my

  • Construction of dimension rules file

    Hello everyone,I have problems with a rules file, that I built with the alias of an attribute does not.  I get the error \\Column 13 ignored; No member corresponding (3326).  Here's a screenshot of my rules file:Column 1 - accountColumn 3 - Account A

  • I can't use apps after I bought a plan

    Yesterday I bought a plan of photography and the system shows I paid successfully. However, the Creative Cloud desktop application! shows that I have to buy Photoshop!, also the lightroom! App is in his motorcade. I don't know what is happening and I

  • bug Adobe / programs

    Adobe reader may not open "iexplore.exe" because it is not a supported type file, or because the file has been damaged (for example, it was sent as an attachment to e-mail and has not been correctly decoded).