on 12-02-2007 3:26 PM
Hi
I have a message with attachements and the Adapterframework returns a MessageContext and not a ModuleData.
I found the code below within an other thread.
I search for documentation about this object but doesn't find it.
Any suggestions where I can find it or how I handle this object (samplecode) ?
Regards
Gerald
public ModuleData process(
ModuleContext moduleContext,
ModuleData inputModuleData)
throws ModuleException {
ModuleData outputData = null;
try {
MessageContext principalData = (MessageContext) inputModuleData.getPrincipalData();
Message message = (Message) principalData.getMessage();
DefaultItem defaultItem = (DefaultItem) message.getBodyItems().nextElement();
String data = defaultItem.getData();
please go through the link
http://help.sap.com/saphelp_nw04s/helpdata/en/3c/53d6409ff68631e10000000a1550b0/frameset.htm
/people/sap.user72/blog/2006/03/26/migrate-from-java-embedding-in-oracle-bpel-to-adapter-modules-in-sap-xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.