BPEL How to Call an Apps API and Flat File Imports
-
Upload
arangdal9462 -
Category
Documents
-
view
222 -
download
0
Transcript of BPEL How to Call an Apps API and Flat File Imports
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
1/14
PEL- How to call an APPS API using BPEL and Flat file imports.
vehadmanyrequestsforanexampleonhowtouseBPELtoimportdataintoOracle,thisisacommonrequirementandIthoughtthatinsteadofjustusingatableandfile,IwilluseOracleAngwithBPELOracleAppsPartnerlinkforinsertingofaSalaryProposalUpdate.
RequisiteswillneedSOAsuitesetuponyourmachineandaconnectiontoanOracleApplicationsInstance,andaworkingcopyofJDeveloperwithBPEL10.1.3.2willsuffice.
umptions.oughthisexampleisexplainedinassimpletermsaspossible,itisassumedyouunderstandwhatBPELisandbasicunderstandingofOracleApplications
vealreadycreatedaCSVfileforthisexamplethatwewillbeusing,thefilealthoughnotperfectlyalignedtoanormalbusinessprocesswillgiveyouagoodideaonhowtheprocessworks.TfcontainsrowsofsalaryproposalinformationwhichwearegoingtousetoruntheAPI.
p1CreateanewworkspaceinOracleJDeveloper
FromthefilemenuclickNew.SelectApplicationsandSelectApplicationunderitemsInApplicationnametype,FileImportApplicationLeaveallotherdefaultsClickOkClickCancelontheCreateProjectScreenFromApplicationsNavigatorRightclickFileImportApplicationSelectNewProjectUndernewprojectswindowselectBPELProjectTypeFileUploadfortheFilenameChangetemplatetoEmptyBPELProcessClickFinish
havenowcreatedanewapplicationandEmptyBPELproject.
arenowgoingtodefineapartnerlinkthatwillreadtheCSVfilefromourfilesystem
IfnotalreadyselectedmakesurethatyouselectFileUpload.Bpel,sothattheBPELdiagrammoddlerappearsonyourscreenIncomponentpanelselectservicesDragandDropaPartnerLinkServicetotherighthandsideofyourBPELdiagramOncecreatepartnerwindowpopsupselectDefineAdapterServicebutton(secondlastbuttonfromtherightundertheWSDLsettingssection.SelectFileAdapterfromtheadaptertypescreenClickNext
Inthe
service
name
type,
PayrolFileReadService
Friday, 18 April 2008 15:43 George Goosen | Print |
Page 1PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
2/14
ClickNextSelectReadFileasyourOperationtypeClickNextTypeinc:\temp\inthedirectoryforincomingfiles(youcanselectanyfolderyoulikeherebutjustrememberthatthisiswheretheservicewillbepollingfornewfiles.ClickNextIntheincludefileswithNamePatterntypeinpayrol*.csvClicknextChangepollingfrequencyto1secondClicknextClicktheDefineSchemafornativeformatbuttonSkipthewelcomepageandselectDelimitedundercreatenewnativeformatfromthechoosetypescreen.ClicknextUnderfilenameselectbrowseandnavigatetoPayroll.csvfileChangenumberofrowstoskipto1.ClicknextSelectfilecontainsmultiplerecordinstancesandselectmultiplerecordsareofsingletype.ClickNextTypeSalaryUploadforenternameofelementcontainingmultiplerecordsAnd
Salary
for
enter
name
for
element
that
will
represent
one
record
ClickNextAcceptdefaultsonpg5andclicknextChangeC1throughtoC5asfollows
oC1=Assignment_IdoC2=Business_Group_idoC3=Employee_NumberoC4=Change_DateoC5=Change_PercentageoC6=Proposal_Reason
ClickNextNextFinishClicknextontheAdapterConfigpageandthenfinish
Page 2PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
3/14
Page 3PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
4/14
Page 4PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
5/14
Page 5PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
6/14
Page 6PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
7/14
havenowcreatedafilelisteningservice
twearegoingtocreateareceiveactivity
SelectProcessActivitiesfromthecomponentpalletDraganddropaReceiveActivityontoyouBPELdiagramDoubleclickthereceiveactivityTypereceiveFileintheNameundergeneraltabSelecttheflashlightnexttothepartnerlinkfieldSelectPayrolFileReadServicefromthepartnerlinksClickok
Clickthe
create
wand
next
Variable
(this
will
create
adefault
variable
for
the
receive
activity
ClickokMakesureyouselectCreateInstanceonthereceiveactivityandclickokClickfileSaveALL
havenowcreateareceiveactivitytoreceivethefileoncepickedup
oughnotnecessaryinthisscenario,butnecessaryinmostbusinessscenariosIwillcreateatransformationactivity..sothatwecantransformdatatypes,butfirstweneedtocreatetheOralicationsServicePartner
ClickonservicesinthecomponentpaletteDraganddropandOracleApplicationsPartnerlinktotherightsideofyourdiagramTypeinSalaryPropasalServiceintheNamefieldClickNextSelectadefinedappsconnection(ifoneisnotshowingdefineone)
ClickNext
TheoracleapplicationsmodulebrowserwillnowpopupType%PROPOSAL%andSelectAPIsandselectsearch(Iwroteawrapperprocedure,astheseededproccontainsBooleanvalues,whicharenotcompatablewithBPEL)SelectInsertSalaryProposalClickOKClicknextClickfinishClickOK
Page 7PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
8/14
Page 8PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
9/14
Page 9PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
10/14
servicehasnowbeencreated.Weneedtonowcreateainvokemethodinordertobeabletousetheinvokemethodsvariablesinthetransformationactivity.
SelectProcessactivitiesDragainvokeactivitybelowyourreceiveactivityInnametypeinvokeProposalAPISelecttheflashlightnexttothePartnerlinkfieldandselectthesalaryproposalapipartnerlinkSelectthewandnexttoinputvariabletogenerateavariableClickOk
Page 10PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
11/14
arenowgoingtocreateatransformationactivity.
SelectProcessActivitiesDragatransformactivitytobelowyourreceivefileactivityDoubleclickthetransformactivityClickGeneralTabTypeTransformDataForAPIfornameClicktransformationSelectsourcevariableasreceiveFile_Read_InputVariableSelectSalaryUploadasthesourcepartSelect
target
variable
as
invokeProposalAPI_salaryProposal
SelectInputParametersastheTargetPartSelectthewandnexttothetransformationmapperfilefieldAscreenwillappearthathassourceandtargetsDraganddropthemappingsAssignmentID>P_Assignment_Id,andtherestInmyexampleIusedaconcatstringfunctionbydraggingthefunctionontothemapandthenselectingemployeenumberandchangepercentageastheinputvariableRightclickthemapandselecttest
Page 11PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
12/14
havenowselectedafilefromthefilesystemtransformeditandcalledaAppsAPI.Onewouldstilladderrorhandlingtothis.
loytheBPELFiletoBPELServ
RightclickFIleUploadprojectSelectDeployDeploytodefaultServer
est
this
you
can
copy
SalaryUpload.csv
file
into
c:\temp
Page 12PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
13/14
omments (4)
rite comment
ubscribe to this comment's feed
Set BookmarkEmail ThisHits: 6482
.
written by Shireen , April 21, 2008
Hi George,
Really a very nice article. Was really looking for such article.
Thanks and Regards,
Shireen
Votes: +0 vote up vote down report
BPEL- How to call an APPS API using BPEL and Flat file imports
written by Shirin , April 28, 2008
Hi,
When i come to the stage of creating a Oracle Applications Partner link, it gives WSDL Write Error and the message is The Wrapper procedure HR_MAINTAIN_PROPOSAL_API$INSE, could not be found in the package
XX_BP EL_SalaryPropasalService for the schema AP PS.
My Question is do i need to create a Wrapper before i execute this step and if i need to create what should be available in Wrapper
Apprecaite your help
Thanks.
Shirin
Votes: +0 vote up vote down report
.
written by Debanjan De , February 27, 2009
Hi George,
This is a very nice and handy document for beginers. I have worked on Oracle SOA for last few months and have come across many performance related issues while designing any SOA interface.
was little bit curious if there could be any perfomance issue if we use File Adapter rather than using straight forward OS scripting.
Would you please share your views in this regard.
Many Thanks,
Debanjan
Votes: +0 vote up vote down report
How to verify the records were inserted
written by Ajit101, November 14, 2009
could follow your very lucid article. I am new to Apps though. could you list out the steps to verify that the salary proposal has indeed been created from Apps UI?
TIA
Votes: +0 vote up vote down report
Name
Email
Title
Page 13PEL- How to call an APPS API using BPEL and Flat file imports.
6/18/tp://apps2fusion.com/at/48-gg/245-bpel-how-to-call-an-apps-api-usin -bpel-and-flat-file-imports?tmpl=co...
-
7/29/2019 BPEL How to Call an Apps API and Flat File Imports
14/14
Comment
maller | bigger
Subscribe via email (Registered users only)
Write the displayed characters
Add Comment
Page 14PEL- How to call an APPS API using BPEL and Flat file imports.