Usage Notes For Receivables Customer Profile Service-Books Pdf

Usage Notes for Receivables Customer Profile Service
19 Apr 2020 | 13 views | 0 downloads | 32 Pages | 915.86 KB

Share Pdf : Usage Notes For Receivables Customer Profile Service

Download and Preview : Usage Notes For Receivables Customer Profile Service


Report CopyRight/DMCA Form For : Usage Notes For Receivables Customer Profile Service



Transcription

Table of Contents,1 Overview 3,2 Service Details 4. 2 1 Supported Operations 4,2 2 Setups and Security 4. 2 3 Related Services 5,2 3 1 Location Service 5,2 3 2 Organization Service 6. 2 3 3 Customer Account Service 6, 2 4 Invoking Receivables Customer Profile Service using Web Service Proxy Client 6. 2 5 Service Data Objects 8,2 6 Error Handling 10,3 Appendix 11.
3 1 Sample of the Service Client Java code 11, 3 2 Sample of the CustomerProfileInvoke java code 16. 3 3 Testing the CustomerProfileService web service 17. 3 4 Examples of Sample Payloads 18,3 4 1 Location Service Payloads 18. 3 4 2 Organization Service Payloads 20,3 4 3 Customer Account Service Payloads 28. 3 4 4 Customer Profile Service Payloads 30,3 5 Accessing WSDL URL 31. 1 Overview, When a new customer registers his information into the web store to purchase an item his.
information and profile is stored and created before any orders can be completed The. Receivables Customer Profile Web Service integrates the deploying company s non. Oracle online web store systems to Oracle Fusion Receivables This service receives the. customer profile information from the online user and creates the corresponding profile. for the existing customer and account in Fusion Receivables. Web Services Description Language WSDL of the Receivables Customer Profile Web. Service can be accessed from the SOAP Web Services for Oracle Financials Cloud guide and is. available to any user who has access to Oracle Fusion Receivables This service supports. both synchronous and asynchronous processing, The Receivables Customer Profile Web Service is a SOAP encoded Web service which. uses HTTPS transport as defined in the WSDL A SOAP client can be manually created to. invoke this service example described in appendix 3 1 Another alternative is to. automatically invoke the service via WSDL invocation tools such as the Web Services. Invocation Framework WSIF for Java clients or SOAP Lite for Perl. 2 Service Details,2 1 Supported Operations, The following operations are available in the Receivables Customer Profile Service. createCustomerProfile, This operation is used to create a customer profile at the account level in. synchronous mode It accepts an object of Customer Profile SDO as the input. parameter and returns a response of Customer Profile SDO object. createCustomerProfileAsync, This operation is used to create a customer profile at the account level in. asynchronous mode It accepts an object of Customer Profile SDO as the input. parameter and returns a response of Customer Profile SDO object. updateCustomerProfile, This operation is used to update a customer profile at the account level in.
synchronous mode It accepts an object of Customer Profile SDO as the input. parameter and returns a response of Customer Profile SDO object. updateCustomerProfileAsync, This operation is used to update a customer profile at the account level in. asynchronous mode It accepts an object of Customer Profile SDO as the input. parameter and returns a response of Customer Profile SDO object. The asynchronous requests to Oracle web service are placed in a processing. queue and handled asynchronously with other requests The client application. does not wait for a response Once a job is submitted a job ID is returned in the. Web services response The client application can then check on the status and. result of the request by referencing the job ID,2 2 Setups and Security. Prerequisite Setups, The prerequisite setup needed to invoke the Receivables Customer Profile service is the. Receivables Customer Profile Class entity This can be set up in the Fusion instance. through the Functional Setup Manager The customer profile class can be passed to the. service to create the customer profile at the account level If the information to create. the profile is not passed the seeded DEFAULT profile class will be associated to the. customer account instead,Security Details, The users and their credentials in the source system should be synchronized with the. Oracle Fusion instance so that the user invoking the web service from the source. system will get authorized at the Oracle Fusion instance Once the service is invoked. the XML request payload is submitted to the web service which processes the request. and creates a customer profile for the customer account in Oracle Fusion Receivables. The user who has the customer creation duty role will be able view the customer. account profile successfully created in Receivables. 2 3 Related Services, A customer with an account is required to be present in the system in order to attach an.
existing customer profile class as a customer profile The web services from Trading. Community Architecture TCA can be consumed to create a customer with an account. Below is the list of TCA web services that support the customer account site and site use. LocationService,OrganizationService,CustomerAccountService. 2 3 1 Location Service, A geographical physical location or a postal address for example 500 Oracle. Parkway Redwood Shores CA 94065 USA or Oracle Parkway Thames Valley Park TVP. Reading Berkshire RG6 1RA,Web Service Description Language. https host port foundationParties LocationService WSDL. More details on how to construct the WSDL URL are available in 3 5. Operation that supports creation of a location createLocation. A sample payload to create the location using this service is given in 3 4 1. Review the LocationService documentation in the SOAP Web Services for Oracle. Financials Cloud guide for more details,2 3 2 Organization Service. A company or organization such as Oracle or Dell that is registered in some. jurisdiction and can enter into a business relationship with other legal entities. Web Service Description Language, https host port foundationParties OrganizationService WSDL.
More details on how to construct the WSDL URL are available in 3 5. Operation that supports creation of an organization createOrganization. A sample payload to create the organization using this service is given in 3 4 2. Review the OrganizationService documentation in the SOAP Web Services for Oracle. Financials Cloud guide for more details,2 3 3 Customer Account Service. A financial arrangement that a person or organization has with deploying company. to buy products and services for example John s buying account at Amazon Dell s buying. account at Oracle This service describes the details about a customer account site and the. site purposes,Web Service Description Language, https host port foundationParties CustomerAccountService WSDL. More details on how to construct the WSDL URL are available in 3 5. Operation that supports creation of a customer account createCustomerAccount. A sample payload to create the customer account site and the site use using this. service is given in 3 4 3, Review the CustomerAccountService documentation in the SOAP Web Services for. Oracle Financials Cloud guide for more details, 2 4 Invoking Receivables Customer Profile Service using Web Service Proxy. Step 1 Get the service description from the CustomerProfileService WSDL URL. https host port finArCustomers CustomerProfileService WSDL. More details on how to construct the WSDL URL are available in 3 5. Step 2 Use WSDL to write a java class for example CustomerProfileServiceClient java. to invoke the createCustomerProfile operation of CustomerProfileService web. service and return the response, Complete details of a sample Service Client Java code are found in Section 3.
The java client class CustomerProfileServiceClient java should have the following two. main methods, a constructPayload Create the java method to construct the XML payload based on. the functional parameter values This XML format should follow the standard SOAP. Simple Object Access Protocol specifications The XML request payload will be. passed while invoking the service The XML Tag names for the input parameters. Service Data Object attributes can be obtained from the SDO Section 2 5. Example of a sample request payload can be found in Section 3 4 4. b createCustomerProfile Create the java method to invoke the service via http. connection and get the response This method will accept the following parameters. Service URL,Username Password,Keystore details,Input Payload. Step 3 Prepare the Keystore information for certificate authentication. Launch the WSDL URL in the browser click on the Lock icon appearing on the. starting of the URL and export the certificate to the local system. Generate a keystore file, Use the key tool command to import the certificate into the key store. keytool import file sslcertfile keystore keystorefile. Use this keystore file in the CustomerProfileServiceClient Java class. Step 4 Integrate the CustomerProfileServiceClient java class to the source system to. Create the customer account profile There are four major areas used in the source. system to integrate the client java class,Set the input parameters. The input parameters are the functional parameter values that are required for. customer profile creation The values entered here will be formulated as XML. payload in constructPayload method of CustomerProfileServiceClient java class. The XML tags for the functional parameters are shown in the SDO attribute names. mentioned in SDO Section 2 5,Set the Security information.
The combination of keystore information obtained from step 3 and the user. credentials are required for authentication of the service call at the Oracle Fusion. Call the Client code for service invocation and creation of customer profile. This step calls the createCustomerProfile method of. CustomerProfileServiceClient java class with the input parameters host information. and the security information, Parse the service response and handling error messages. The invocation of the service returns the response upon completion The response is. in a XML format and it can be parsed using any standard java class like. XPathFactory to read the values of the tags and analyze them to determine the. status of the service call If the service call reports an error status then the service. error message can be sent to the user to review the cause for the service invocation. Sample code for invocation of the CustomerProfileServiceClient is available in. Appendix 3 2, Step 5 Test the CustomerProfileService web service. Install Java and set PATH system, Install the Java Development Kit JDK and set the system environment path and. Details of the testing are available in Appendix 3 3. 2 5 Service Data Objects, The Receivables Customer Profile Service Web service supports the following Service. Data Objects SDO,Receivables Customer Profile SDO,Receivables Customer Profile Flexfield SDO.
Relationships, Receivables Customer Profile SDO is the parent SDO. Receivables Customer Profile Flexfield SDO is the child of Receivables Customer. Profile SDO,Receivables Customer Profile SDO, Service Data Object for creating customer profile at account level to maintain. characteristics of customer accounts such as creditworthiness business volume payment. cycles and late charge policies For each profile you can define information such as credit. limits payment terms statement cycles invoicing and discount information You can also. define amount limits for your late charges and statements for each currency in which you. do business, Attribute Name Attribute Description Data Type Required. PartyId Unique Identifier that java lang Long Yes,represents the customer. CustomerAccountId Unique Identifier that java lang Long Yes. represents the customer, ProfileClassName The name of the customer java lang String No.
profile class setup The seeded profile class,DEFAULT will be attached to the. customer account as a profile if,no value is provided. CustomerProfileFLEX Customer profile descriptive CustomerProfileF No. flexfield information lexField SDO,Receivables Customer Profile Flexfield SDO. This is the Service SDO for the customer profile flexfield of the Receivables. customer The SDO Attributes are,Attribute Name Attribute Description Required. Flex Context Context for the Receivables java lang String No. Customer Profile descriptive This value is entered by the. flexfield user if the user chooses to use a, Num Of Segments Number of Segments for the java lang Integer No.
Receivables Customer Profile This value is entered by the. descriptive flexfield user if the user chooses to use a. 2 6 Error Handling, When a Web service request is being processed and an error is encountered the. nature of the error will be communicated to the client The SOAP specification. defines a standard platform independent way of describing the error within the. SOAP message using a SOAP fault,SOAP faults can be one of the following types. This refers to an exception that is thrown explicitly from the business logic and. mapped to wsdl fault definitions in the WSDL file, This refers to an exception that is generated at run time when no business logic. fault is defined in the WSDL In this case Java exceptions are represented as. generic SOAP fault exceptions javax xml ws soap SOAPFaultException. The faults are returned to the sender only in case of synchronous mode If a Web. service invocation is asynchronous the SOAP fault is not returned to the sender but. stored for further processing For more information about exception handling refer. to the Exception Handling SOAP documentation, The table below shows the error message names and the accompanying text that. describes each error, Receivables Customer Profile Service Error Messages Table.
Message Name Message Text, HZ API NO A PTY The party is either inactive or does not exist. Cannot find the default customer profile class Use a different. HZ API NO DEFAULT PROF CLASS profile class, The customer profile class is inactive Select another profile. HZ API INACTIVE PROFILE CLASS class for the customer profile. 3 Appendix,3 1 Sample of the Service Client Java code. CustomerProfileServiceClient Java code,import java io BufferedReader. import java io IOException,import java io InputStream.
import java io InputStreamReader,import java io OutputStream. import java io OutputStreamWriter,import java net HttpURLConnection. import java net URL,import java util HashMap,public class CustomerProfileServiceClient. public CustomerProfileServiceClient,private static String serviceURL. private static String inputPayload,private static String username.
private static String password,private static String userToken. private static String outputPayload, public static String httpPost String destUrl String postData. String authStr String keyStoreLocation,String keyStorePassword throws Exception. System out println,System out println Invoking the Service. Setting the KeyStore Properties, System setProperty javax net ssl trustStore keyStoreLocation.
System setProperty javax net ssl trustStorePassword. keyStorePassword, Open the HTTP connection and set the connection properties. URL url new URL destUrl, HttpURLConnection conn HttpURLConnection url openConnection. if conn null,return null, conn setRequestProperty Content Type text xml charset UTF 8. conn setDoOutput true,conn setDoInput true,conn setUseCaches false. conn setFollowRedirects true,conn setAllowUserInteraction false.
conn setRequestMethod POST, Set the Authorization property for the HTTP connection using the. username and password,byte authBytes authStr getBytes UTF 8. String auth Base64 byteArrayToBase64 authBytes,conn setRequestProperty Authorization Basic auth. Post the http request This will invoke the customer profile Web. Service for creating the customer profile,OutputStream out conn getOutputStream. OutputStreamWriter writer new OutputStreamWriter out UTF 8. writer write postData,writer close,InputStream errIs conn getErrorStream.
if errIs null,String err getString errIs,if err null err isEmpty. System out println err,errIs close,catch Exception e. e printStackTrace, Read the response and return it to the calling Java API. String response null,InputStream in conn getInputStream. if in null,response getString in,catch Exception e.
e printStackTrace,conn disconnect,return response,public static String getString InputStream errIs. BufferedReader br null,StringBuilder sb new StringBuilder. String line,br new BufferedReader new InputStreamReader errIs. while line br readLine null,sb append line,catch IOException e. e printStackTrace,if br null,catch IOException e,e printStackTrace.
return sb toString,public void setInputPayload String inputPayload. this inputPayload inputPayload,public String getInputPayload. return this inputPayload,public void setWebService String webService. this serviceURL webService,public static String getWebService. return serviceURL,public void setUsername String username.
this username username,public static String getUsername. return username,public void setPassword String password. this password password,public static String getPassword. return password,public void setUserToken String userToken. this userToken userToken,public String getUserToken.
return userToken,public void setOutputPayload String outputPayload. this outputPayload outputPayload,public String getOutputPayload. return outputPayload, public String constructPayload HashMap profileDetails. String payload,soap Envelope, xmlns soap http schemas xmlsoap org soap envelope n. soap Body n,ns1 createCustomerProfile, xmlns ns1 http xmlns oracle com apps financials receivables cu.
stomers customerProfileService types n,ns1 customerProfile. xmlns ns2 http xmlns oracle com apps financials receivables cu. stomers customerProfileService n, ns2 CustomerAccountId profileDetails get CustomerAccountId. ns2 CustomerAccountId n, ns2 PartyId profileDetails get PartyId ns2 PartyId n. ns1 customerProfile n,ns1 createCustomerProfile n,soap Body n. soap Envelope n,return payload, public String createCustomerProfile String hostName int port String.
String password HashMap profileDetails,String keyStoreLocation. String keyStorePassword throws Exception,this setWebService https hostName. finArCustomers CustomerProfileService,this setWebService https hostName port. finArCustomers CustomerProfileService,this setUsername username. this setPassword password,Construct the XML input payload.
String reqPayload this constructPayload profileDetails. this setInputPayload reqPayload,Invoke the service via a http secure connection. String response,httpPost getWebService invoke,getInputPayload getUsername. getPassword keyStoreLocation keyStorePassword,return response. Base64 Java code,public class Base64,public Base64. public static String byteArrayToBase64 byte a,return byteArrayToBase64 a a length.
public static String byteArrayToBase64 byte a int aLen. int numFullGroups aLen 3,int numBytesInPartialGroup aLen 3 numFullGroups. int resultLen 4 aLen 2 3,StringBuffer result new StringBuffer resultLen. char intToAlpha intToBase64,int inCursor 0,for int i 0 i numFullGroups i. int byte0 a inCursor 0xff,int byte1 a inCursor 0xff. int byte2 a inCursor 0xff,result append intToAlpha byte0 2.
result append intToAlpha byte0 4 0x3f byte1 4,result append intToAlpha byte1 2 0x3f byte2 6. result append intToAlpha byte2 0x3f,if numBytesInPartialGroup 0. int byte0 a inCursor 0xff,result append intToAlpha byte0 2. if numBytesInPartialGroup 1,result append intToAlpha byte0 4 0x3f. result append,int byte1 a inCursor 0xff,result append intToAlpha byte0 4 0x3f.
result append intToAlpha byte1 2 0x3f,result append. return result toString,private static final char intToBase64. A B C D E F G H I J K L,M N O P Q R S T U V W X Y,Z a b c d e f g h i j k l.

Related Books

Detailed Comparison of Structural Provisions of 2005 ASCE ...

Detailed Comparison of Structural Provisions of 2005 ASCE

Detailed Comparison of Structural Provisions of 2005 ASCE 7 to 2003 NEHRP (continued) 2003 NEHRP 2005 ASCE 7 Section Provision Section Provision Comments 4 earthquakes and for combinations of loads as indicated in this chapter. on Differences. 1.1.4 Definitions Definitions for Chapter 1 are given. 11.2 Definitions This section has all the ...

2009 AEES Conference Probabilistic Seismic Hazard ...

2009 AEES Conference Probabilistic Seismic Hazard

Probabilistic Seismic Hazard Assessment for Central Manila in Philippines Raymond Koo 1, Tim ... design response spectrum in National Structural Code of the Philippines, NSCP (2001). Keywords: seismic, Manila, design, acceleration, response, spectrum . 2009 AEES Conference 2 1 INTRODUCTION Philippines is located in an area of high seismicity. The current seismic National Struc-tural Code of ...

Hospitals Should be Safe from Disasters

Hospitals Should be Safe from Disasters

Structural Code of the Philippines (NSCP) Revised 2001 Guidelines, (2) National Building Code Revised 2006 Guidelines and (3) Association of Structural Engineers of the Philippines (ASEP) Recommended Guidelines on Structural Design Peer Review of Structures.

RONDE DES PLAGES 2013 (CLASSEMENT WWW.CHRONOSPORTS.FR)

RONDE DES PLAGES 2013 CLASSEMENT WWW CHRONOSPORTS FR

430:37:35ONOFRAIO Umberto A.S.D. Dragonero [ITA] 0:05:4615,96 1 V3M 42 M 5141-V3M 440:37:38CAPPELLARI Stephane As-As Monaco Triathlon [06] 0:05:4915,94 7 V1M 43 M 959 450:37:46TROUILHAS Cyril Stade Laurentin Triathlon [06] 0:05:5715,88 32 SEM 44 M1037 460:37:46ALLAVENA Frederic Menton [06] 0:05:5715,88 8 V1M 45 M 927 470:37:47NAJARD David Asd Mentonnais [06] 0:05:5815,88 1 ESM 46 M 3911-ESM ...

FCC 47 CFR PART 15 SUBPART C INDUSTRY CANADA RSS-210 ISSUE ...

FCC 47 CFR PART 15 SUBPART C INDUSTRY CANADA RSS 210 ISSUE

EUT DESCRIPTION: The Apple iPad is a Tablet with IEEE 802.11a/b/g/n (MIMO 2x2) and Bluetooth radio MODEL: A1489 SERIAL NUMBER: DLXL2010FN8M DATE TESTED: AUGUST 21 - SEPTEMBER 09, 2013 APPLICABLE STANDARDS STANDARD TEST RESULTS CFR 47 Part 15 Subpart C Pass INDUSTRY CANADA RSS-210 Issue 8 Annex 8 Pass INDUSTRY CANADA RSS-GEN Issue 3 Pass

HUBUNGAN PERTAMBAHAN BERAT BADAN IBU HAMIL TRIMESTER II ...

HUBUNGAN PERTAMBAHAN BERAT BADAN IBU HAMIL TRIMESTER II

Pertambahan berat badan ibu hamil trimester II dipakai sebagai variabel bebas dan berat bayi lahir sebagai variabel terikat, maka diketahui dari hasil uji korelasi Pearson mempunyai nilai korelasi (r) sebesar 0,039 yang menunjukkan bahwa terdapat hubungan sangat lemah dengan arah hubungan searah, yaitu kenaikan nilai dari satu variabel akan diikuti degan kenaikan variabel lainnya. Dan ...

Sleep Complaints and Psychiatric Symptoms in Children ...

Sleep Complaints and Psychiatric Symptoms in Children

Journal of Clinical Sleep Medicine, Vol. 2, No. 1, 2006 Sleep problems are highly prevalent in the pediatric population and have been associated with a number of behavioral and emotional problems in children and adolescents. There is grow- ing evidence indicating a relationship between sleep quality and emotional well-being in children.1-5 Furthermore, the presence of sleep disturbances at a ...

Characterizing a psychiatric symptom dimension related to ...

Characterizing a psychiatric symptom dimension related to

Research article Human biology and medicine Neuroscience unfortunately ubiquitous in psychiatry research (Lipszyc and Schachar, 2010; Bickel et al., 2012), a result, we suggest, of the broader issue that psychiatric diagnostic categories do not reflect the

CAT/26/2.0-EE - picturesbase-agripro.com

CAT 26 2 0 EE picturesbase agripro com

John Deere John Deere John Deere John Deere John Deere John Deere John Deere John Deere REPLACEMENT PARTS SUITABLE FOR : John Deere CAT/26/2.0-EE .

Trial project: New delivery model / procurement route ...

Trial project New delivery model procurement route

the outturn costs / rates. 2 Project summary Hackney Homes and Homes for Haringey, working through the Supply Chain Management Group (SCMG), procured a range of Tier 1 contractors on a Two Stage Open Book basis, with whom they then worked jointly to select and support a team of Tier 2 and Tier 3 supply chain members for the delivery of a long-term programme of housing improvement and ...