cancel
Showing results for 
Search instead for 
Did you mean: 

Problems on communication from MII to PI (XI) - XML AssignXml Parser Error

Former Member
0 Kudos

Hi there,

We're facing some problems with interfaces building on MII - everything looks great, MII says "PI received our message" but nothing occurs. We used "Web Service XI" action to send a encapsulated XML to SAP PI 7.0. What we observed:

1 - Executing interface on workbench, pressing "Test Button", no error messages comes from MII. But no XML is sent to PI.

2 - Calling transaction using SOAP programs like SOAP UI, no error message comes from MII. But no XML is sent to PI.

3 - We go to Netweaver Log. We received this message: XML AssignXml Parser Error (if we expand the message, only this information comes...)

4 - On picture 2, we deleted !CDATA string. We sent by MII this string:

<![CDATA[<?xml version="1.0" encoding="UTF-8"?><ns0:MT_PI_SARAH02

xmlns:ns0="http://csa.com.br/pi/WebServicesTest/TestInterPI"><Address>Av

Lucio Costa 4700</Address><Company>CSA</Company><Name>Vera

Loyola</Name></ns0:MT_PI_SARAH02>]]>

After this action, we have this message on right format to be sent to PI:

<?xml version="1.0" encoding="UTF-8"?><ns0:MT_PI_SARAH02

xmlns:ns0="http://csa.com.br/pi/WebServicesTest/TestInterPI"><Address>Av

Lucio Costa 4700</Address><Company>CSA</Company><Name>Vera

Loyola</Name></ns0:MT_PI_SARAH02>

(Yes, we tried sent this message with CDATA, but the action

String_to_XML_parser_0 delete it... then we have to do this treatment)

5 - We inserted the WSDL Base URL. If we insert the same information on URL field above, we'll receive error message and a file with no contents will be sent to PI (PI receives the message on this case!), but if we send by this way as shown on picture, no error message comes neither communication is done between PI and MII.

What do we have to do here? We want MII sending XML to PI and the same

receveing it... MII version: 12.0.3.

Thanks,

Marcelo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Well, unfortunately nobody nows this answer, but I found it with SAP assistance:

1 - Every XML data encapsulated as string must be into tag CDATA - there is no need of deleting this one;

2 - Pass it as string to respective parameter into WSDL field absorbed by MII Action;

3 - For Web services Action, we have to insert into WSDL Base URL the base url and into URL the name of WSDL. Example:

http://OnlyTest/WSDL/MyFile.wsdl

- URL: WSDL/MyFile.wsdl

- WSDL Base URL: http://OnlyTest/

- Authentication login: insert the user who must access the target system (WSDL owner).

I updated my MII version to latest version - 12.0.6.

Regards,

Marcelo