Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error testing Webservice in XMLSPY

Hello guys,

I have a scenario Webservice -> XI -> Proxy Synchronous.

I have created the webservice, and the URL is correct. I have a problem in the proxy because is expecting the Message Type and in the XML appears the name of Message Interface.

I have the next XML in XI:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!-- Call Adapter -->

<m:I_Consult xmlns:m="http:/xxxxxxx" xmlns:xsd="" xmlns:SOAP-ENV="" xmlns:xsi="" xmlns:SOAP-ENC="">




And the message I have in XMLSPY is a Parse Error. In XI monitoring I see the next error:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!-- Inbound Message -->

<SAP:Error xmlns:SAP="" xmlns:SOAP="" SOAP:mustUnderstand="1">



<SAP:P1>Request Message</SAP:P1>



<SAP:P4>XML Bytepos.: 304 XML Path: m:I_Consult(1) Error Text: Elemento MConsult previsto</SAP:P4>


<SAP:ApplicationFaultMessage namespace=""/>

<SAP:Stack>Error during XML =&gt; ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS4C324AF6BDD9E4AD352A XML Bytepos.: 304 XML Path: m:I_Consult(1) Error Text: Elemento MConsult previsto))

Elemento MConsult previsto




The text is in spanish, but I the problem is that R/3 is waiting MConsult (Message Type) despite of I_Consult (Message Interface).

In R/3 I am using the sentence INPUT-MConsult-FIELD1, so I understand that is waiting MConsult in the calling, but I don't understand why when I create the SOAP request in XMLSPY it doesn't appear.

I think all is created correctly in XI including SOAP adapter, and when I define the Webservice i put the message I_Consult with his namespace and I download the WSDL created.

When I test the WSDL in XMLSPY I have this error.

Do you know if I have to do some changes in the WSDL in XMLSPY before to send the SOAP request? I have no access to the WSNAVIGATOR so I can't do the test in this part.

Many thanks in advance.



Former Member

mapping is require,because source and target sturcture would not be recongnized.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question