on 10-12-2010 5:31 PM
Hi,
I am adding an attachment in ABAP Mapping and sending that message to Ariba System through HTTP Adapter channel.
I am able to send the message successfully and also I can see the attachment in the PI RWB But I am not able to see any
attachment in the Receiver's end along with the message.Ariba is able to receive the message successfully though.
It looks like I need to change MIME Header a bit before sending the message.
I check this link.
But Its about SOAP Adapter with PayloadSwap Bean. Since HTTP adapter is on ABAP we can not use the Module
Tab of the channel.
I need to know how can I use ABAP Mapping to access the MIME HEADER to change/ check Content Disposition and
other properties.
Thanks,
Vijay
Edited by: tech.info012 on Oct 12, 2010 6:33 PM
Hi,
i don't think is possible to manage PI Message Attachments in HTTP Plain adapter.
What I can suggest you are two possibilities:
1) Try to write someting like this:
/people/william.li/blog/2009/03/19/adapter-user-module-for-http-adapter
2) Try to use the SOAP Adapter (J2EE) and check the option "Do not use SOAP Enevlope" and "Keep Attachment"
In this way you're able to use the Standard Adapter Modules.
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I tried the 2nd option It is giving me this error in response message. Do you have any idea what problem can cause this.
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not queue receive
for message 4cb474bf-00c1-02af-e100-80000aa00d4b(INBOUND). Reason: java.lang.NullPointerException:
</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Thanks,
Vijay
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.