2013. 5. 22. 11:12

  • Request code
  1.  
  2. TransformationInput in; // input payload
  3.  
  4. String msgID = in.getInputHeader().getMessageId();

    getTrace().addWarning("msgID : " + msgID);

  5.  
  6. // 전달할 데이터 
  7. String data = ""; 
  8.  
  9. // set to dynamic config:
  10. DynamicConfiguration conf = in.getDynamicConfiguration();
  11. DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", msgID);
  12. if (conf != null) {
  13. conf.put(key, data);
  14. }

 

 

  • Response code

  1. TransformationInput in;

     

    String data = "";

     

    String reqMsgID = in.getInputHeader().getRefToMessageId();


    // set to dynamic config:

    DynamicConfiguration conf = in.getDynamicConfiguration();

    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", reqMsgID);

     

    if (conf != null) {

    data = conf.get(key);

    }

     

 

 

Posted by sungwonpekr
2013. 5. 22. 11:11

async parameter

QualityOfService=ExactlyOnce


참조 링크

http://help.sap.com/saphelp_nw04/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/frameset.htm

Posted by sungwonpekr
2013. 5. 22. 11:08


 필요 Library :

 

sapjco3-NTintel-3.0.6.zip


 

( OS와 CPU에 따른 Library 선택 필요)

 

 

 

 JCO를 이용한 Server :

 

jcoServerSample.jar


 

 

 

 JCO를 이용한 client :

 

jcoClientSample.jar


 

 

 (sample이 어려운데 나중에 다시 정리 해야겠다.)

 

 

 




Posted by sungwonpekr