Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.siebel.eai.outbound.server.PackageName;
- import com.siebel.common.util.Base64;
- import com.siebel.data.SiebelPropertySet;
- import com.siebel.eai.SiebelBusinessServiceException;
- public class Classname extends com.siebel.eai.SiebelBusinessService {
- public static void main(String[] args){
- Classname ObjectName = new Classname();
- SiebelPropertySet input = new SiebelPropertySet();
- SiebelPropertySet output = new SiebelPropertySet();
- input.setProperty("result", "false");
- try {
- ObjectName.doInvokeMethod("GregToHijry", input, output);
- } catch (SiebelBusinessServiceException e) {
- }
- String hijryDate = output.getProperty("hijryDate");
- }
- @Override
- public void doInvokeMethod(String methodName, SiebelPropertySet input,SiebelPropertySet output) throws SiebelBusinessServiceException {
- if (methodName.equals ("GregToHijry"))
- {
- String hijryDate = "Hello";
- input.getProperty("result");
- output.setProperty("hijryDate", hijryDate);
- }
- else
- throw new SiebelBusinessServiceException("NO_SUCH_METHOD", "No such method");
- }
- }
Add Comment
Please, Sign In to add comment