Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

WSDL error with table parameter

0 Kudos


I have a new and strange problem with a web services.

I have created a wsdl starting from a function module.

My problem regards the table, when i try to consume the web service with Soap UI I have the following structure:

Like the code above says I can insert zero or more repetition of my table Ztabtest, but if I call the service whitout table item the service doesn't works and return the following error:

CX_ST_MATCH_ELEMENT:XSLT exception.System expected the end of the element 'ZtabTest'.

If I fill the Table all works fine, but this is the first time that for a web service the table data seems to be obligatory.

Any suggestion?


Active Contributor
0 Kudos


I that table needed as input parameter ?


0 Kudos

No, is not needed, but for web services even if the table are not flagged as optional you can call the service only with the tag <ZtabTest>   </ZtabTest> without the item inside.

I can say that from my previous experiences with web services.

0 Kudos

Hi Sassi,

In the WSDL, If you dont have any value for field also,we have to send that field otherwise it will fail.

<Name>A</Name>.  - Case of Value for Name

<Name />                  - Case of No Value



0 Kudos


Please create a table type and use in in the export tab of the function.



0 Kudos

This don't solve my problems.

For example I'll explain a previous web service that works fine:

In this case I receive in import two tables [mesureament_list - point list] and I return the message table.

The two table in import could be empty or not and obviously the message tab is called empty and filled by the function module whit the return message from bapi.

This wsdl works fine even with empty tables.

Could be this issue due to the component version?

It works on EHP7 for SAP ERP 6.0 an now i have problems with EHP4 FOR SAP ERP 6.0 / NW7.01.

0 Kudos

I assume that you regenerate the service and use the new WSDL ?

0 Kudos

Several times

0 Kudos


Have you try using different method for testing Eclipse ?

If you use Java try to generate a client proxy and use it .


0 Kudos

I just expose the wsdl from Sap and then test it with the SoapUi