cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/

Former Member
0 Kudos

Hi guys, I have a web service, create un SAP, when I try to consume it. I get follow error:

SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/

Could anyone can explain me what I need to do? I am not understand this error.

Here my code:<br>data: proxy_test type ref to ZPREFIX1CO_ZTEST4.
data: exc type ref to cx_root.
data: msg type string.
 try.
IF proxy_test is not bound.
 create object proxy_test type ZPREFIX1CO_ZTEST4.
ENDIF.<br>
 data:
 _input TYPE ZPREFIX1ZTEST4,
 _output type ZPREFIX1ZTEST4RESPONSE.
_input-entrada = 'HI'.
 call method proxy_test->ztest4
 exporting
 input = _input
 importing
 output = _output.<br><br><br>
 catch cx_ai_system_fault into exc.
 msg = exc->get_text( ).
 write:/ msg.
 endtry.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member198833
Active Participant
0 Kudos

Hi Viviana,

This is usually caused by misconfiguration in the Logical Port in SOAMANAGER. KBA 2469987 shows how to resolve this.

Cheers,
Felipe