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

Error using WebService (WDSL)

Former Member
0 Likes
1,578

Hello SAP Guru's.

I try to connect in a WebService with soapUI and I have this error:

WSDLException (at /soap-env:Envelope): faultCode=INVALID_WSDL: Expected element '{http://schemas.xmlsoap.org/wsdl/}definitions'.

This error occur if I use the SICF url: http://sapserver:8000/sap/bc/srt/rfc/sap/zpm_ws_read_avis/030/zpm_ws_read_avis/zpm_ws_read_avis

If I use this URL in SOAMANAGER: http://sapserver:8000/sap/bc/srt/wsdl/bndg_E2962623022527F18D6B005056BC0925/wsdl11/allinone/ws_polic... it work!:

Why I can't use url from SICF?

Thanks for help!

M.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,066

Because the ICF URL is the service itself. SoapUI needs the WDSL in order to know how to use the service.

3 REPLIES 3
Read only

Former Member
0 Likes
1,067

Because the ICF URL is the service itself. SoapUI needs the WDSL in order to know how to use the service.

Read only

0 Likes
1,066

Ho...

It worked once ... I think.

It's possible to create a ICF URL for use WSDL?

Read only

0 Likes
1,066

Not on standalone AS ABAP, as far as I know. You will require a service repository of somekind in order to have one entrypoint. Of course you could implement a ICF service that redirects to the WDSL one if the WDSL is requested and to the actual ICF service otherwise but that's another story.