on 06-07-2011 5:18 PM
Hello,
can anybody give me a howto for using mtom?
I am sending messages via soapUI which are mtom optimized, but the attachments are just getting lost in PI 7.11!
I am using a SOAP-Adapter to receive messages on PI side...
Second question: What is the difference between SOAP-Adapter and WS-Adapter?
Thanks in advance!
Kind regards,
Markus Schalk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the below link :
http://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/fcbc97b6-0a01-0010-6594-f8208ff674f9 [original link is broken]
Hello,
thanks for your answers, but last post is not really helpful. I saw this before, this is just general information about MTOM!
As i already said, i am using a soap adapter which keeps attachments on the sender outbound side. Sender sends a messages which has an attachment with enabled mtom!
So far so good, i can see the attachment in RWB, but calling a abap-proxy on the other side, using SOAP-Adapter with HTTP and XI 3.0 the attachment gets transferred, but i am getting this error:
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
<SAP:P1>Request Message</SAP:P1>
<SAP:P2>CX_ST_MATCH_TYPE</SAP:P2>
<SAP:P3>/1SAI/TXS4750ACE32748A8298584</SAP:P3>
<SAP:P4>XML Bytepos.: 756 XML Path: TDX_CheckIn_Request(1)Documents(2)Document(1)DocuFile(8)inc:Include(1) Error Text: System expected a value for the type y</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_TYPE; (/1SAI/TXS4750ACE32748A8298584 XML Bytepos.: 756 XML Path: TDX_CheckIn_Request(1)Documents(2)Document(1)DocuFile(8)inc:Include(1) Error Text: System expected a value for the type y)) System expected a value for the type y</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
I think that mtom handling must be activated somewhere, but how?
I have seen something about MTOM in WS Adapter, but only in the older Version SAP Basis 7.10 not in 7.11...
am i supposed to use these adapters instead of soap-adapter?
If yes, why is mtom optimization not available in 7.11 version, is it not going to be supported in future anymore?
Thanks in advance!
Kind regards,
Markus Schalk
Dear Jon,
as far is I can remember, we did not use MTOM, because it only works with the WS-RM adapter. This implies, that you have to use the webservice runtime in the backend.
Using "plain" ABAP proxies, this is afaik not possible. We went for base64 encoding using the xsd-type base64binary. It's not a perfect solution, as it blows up the data in average 37%, but it works ;-)...
On the the ERP-side, the data is decoded by, i think a standard class, but i am not totally sure. I would have to ask a colleague.
Hope this helps.
Best regards,
Markus
User | Count |
---|---|
87 | |
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.