Creating SOAP API with MTOM alongwith attachment

Hello,

I have been trying to create a SOAP API in APIgateway with MTOM attachment enabled.
When i am calling the native service it has no issue and is working fine.

But when i am trying to call the same via SOAP API, it is giving error as below
#######################
[26161] Exception in incoming handler. msgId: javax.xml.stream.XMLStreamException: Expected xop:Include as the sole child of an element information item (see section 3.2 of XML-binary Optimized Packaging) details {3} org.apache.axiom.om.OMException:
#######################

Just to inform, i am using SOAP 1.1 message protocol.
For the APIgateway configuration, i have implemented Straight through routing policy.
I tried with both SOAP Optimization method as none as well as with MTOM but its the same error.

Please suggest what am i missing here or how may i proceed further on this.

Regards,
Debapriyo

Hi Debapriyo,
What is the attachment size you are using? Can you also share the API export?

Regards.

@Debapriyo_Dasgupta1

let me know in which version of a API Gateway your facing this issue ?

I am running on 10.5 with zero Fix pack. I could able to execute the MTOM IS service which exposed as SOAP API with SOAP1.1 / 1.2 with SOAP Optimization Method as MTOM or none.