Skip to Content

SAP PI to SAP MII integration

Jul 24, 2017 at 02:18 PM


avatar image

Hello Expert,

I'm trying to integrate SAP MII with SAP PI by Soap adapter. the flow is following


We provided the WSDLGen URL in SOAP url, we created a xsd from the LOIPRO idoc and trying to send to MII. but it failing with xml parsing error, error in response

When I checked the wsdl, I found there are extra tags like <XacuteRequest>, <UserName>,<Password> etc.

and the wsdl is importing the xsd structure from a different location with <import> tag.

1. Do I Need to add these tags in my receiver structure?

2. Is SOAP envelop mandatory for MII?

3. What else could be the reason? :)

Thank you all.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raghuraman S Jul 24, 2017 at 02:49 PM

You can export the WSDL and then try importing the same in ESR.

And for Envelope you can try hitting the URL using SOAP UI, you will get clarity on it.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Raghu,

Thanks for your reply.

There are some problems to import that wsdl, as the wsdl is importing actual idoc xsd structure from a different location, so I cannot import that wsdl in ESR. also i dont have xmlspy etc to marge and use them.

My question is normally when you connect MII do you put those tags in the target structure or a normal idoc xsd is enough?

and for envelop, my mII team asking for an envelop, so I will use it.


Hello Debtirtha,

AFAIK tags should be required.

The best way could be you can get the XML and test in SOAP UI u will know what exactly is causing the issue,The same we do for CFDI process WS.:)


Hi Raghu,

Sorry for late reply, the issue was the mismatch of tags. so we need to rebuild the wsdl with correct tags. that worked.


Great Debtirtha, You can close the thread. :)

Vibhu Bhola Jul 26, 2017 at 12:57 AM

Any reason why you are creating XSD from the WSDL and not directly importing WSDL in ESR ?



10 |10000 characters needed characters left characters exceeded