Link for details document
https://drive.google.com/open?id=1qGDSGvzSUJPcAfMIR2dE6n-B4PpfSH9Q
or send request mail on kishorjdedwards@gmail.com for complete document with screenshots.
1.) Create a BSSV Published Object through OMW:
Open OMW
Click Add
Select Business Function
Click Ok
Enter followings and click Ok.
Image 1 in attached doc
2.) Create a BSSV Internal Object through OMW:
Open OMW
Click Add
Select Business Function
Click Ok
Enter followings and click Ok. Click one more time.
3.) Launching JDeveloper using Published Object:
Select the Object
Click on Design -> Design Tools -> JDeveloper Install Path
Enter path till ……. \Oracle\Middleware
Invoke JDeveloper
4.) Adding Internal Object to JDeveloper:
Select DV910
Right Click
Select New Enterprise One Project
Enter Credentials
Find Object
Click on Finish.
5.) Create Published BSSV Value Objects:
Select Project(JP550011)
Right Click
Select New
Select Enterprise One -> Class
Business Function Value Object Class
Give Business Function name.
Select required parameters
Click finish. Wizard will generate the code.
Generate accessors
Click on save button
6.) Create Internal BSSV Value Object:
Select Project(J5500011)
Right Click
Select New
Select Enterprise One -> Class
Business Function Value Object Class
Give Business Function name.
Select required parameters
Click finish. Wizard will generate the code.
Generate accessors
Click on save button
7.) BSSV Manager Class:
Select JP550011
Right Click
Select New
Select EnterpriseOne -> Class
Select Published Business Service Class
Give name, method name, I/P and O/P parameters.
Click Ok. Wizard will generate the code.
Wizard will generate the following code:
package oracle.e1.bssv.JP550011;
Nikhil Yadav, KPIT Technologies Solution Limited Page 11
import oracle.e1.bssv.JP550011.valueobject.GetExchRate_Input;
import oracle.e1.bssv.JP550011.valueobject.GetExchRate_Output;
import oracle.e1.bssvfoundation.base.IContext;
import oracle.e1.bssvfoundation.base.PublishedBusinessService;
import oracle.e1.bssvfoundation.connection.IConnection;
import oracle.e1.bssvfoundation.exception.BusinessServiceException;
import oracle.e1.bssvfoundation.util.E1MessageList;
/**
* TODO: Java Doc for PublishedBusinessService
Nikhil Yadav, KPIT Technologies Solution Limited Page 13
finishPublishedMethod(context, "getExchRateData");
//return outVO, filled with return values and messages
return confirmVO;
} finally {
//Call close to clean up all remaining connections and resources.
close(context, "getExchRateData");
}
}
}
Add the code below to your code:
//TODO: Create a new internal value object.
GetExchRate_Internal internalVO = new GetExchRate_Internal();
//call mappings from Published Business Service to BSSV VO
E1MessageList mapMessages = internalVO.mapFromPublished(context,connection,vo);
//add messages from mappings to message list
messages.addMessages(mapMessages);
//TODO: Call BusinessService passing context, connection and internal VO
E1MessageList bssvMessages = GetExchRateProcessor.getExchRateBSFNCall(context, connection, internalVO);
8.) Internal BSSV Processor class:
Select J5500011
Right Click
Select New
Select EnterpriseOne -> Class
Select Business Service Class
Give name, method name, I/P parameters.
Click Ok. Wizard will generate the code.
all details steps along with screenshot are added in the attached doc .
If you are unable to download doc ,mail me at below .
Any kind od bssv query mail to kishorjdedwards@gmail.com, I will try to reply asap.