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

While using WS Navigator getting error saying "missing top level component"

former_member268877
Participant
0 Likes
485

Hi All,

I have generated Web Service for an proxy interface

and trying to use generated WSDL in WS Navigator

but getting error saying "ERROR : Definition of /wsdl:definitions/wsdl:types/xsd:schema[1]/xsd:simpleType[1]/xsd:restriction is not correct. Missing top level component "

Could you please help me in analysing this issue?

what might be the possible error?

same interface is working fine in SPROXY transaction.

Thanks in advance.

Regards,

Ujwalkumar

3 REPLIES 3
Read only

Former Member
0 Likes
462

Hi

Hope it will help you.

Pls reward if help

C whether u have did all this steps.

1) create a project.

2) Inside ur component Model -->create model.

3) Give name,package.Select the UDDI or url tab or if u r going to use ur own webservice that resides in ur local server,select Local radio btn.

4) Upload the wsdl file.

5) open data modeller.

6) click the add used model to add the created model.

7) Give navigation link between model and comp.ctrller by mapping all the nodes and context att.

😎 Map ur comp ctrrler and the view in the same way.

9) Expand the model>(name of the model)>logical parts>(name)>Givenproxy settingd.

10) then call ur webservice to execute the appliaction.

Also refer to this Link provided by sdn.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu...

Read only

former_member268877
Participant
0 Likes
462

Hi,

I didnt follow the step you wrote. instead i generated

web service using web service wizard from SPROXY

transaction and released in SAOP run time.

from WSADMIN transaction i selected web service definition and took WSDL.

and loggen into WS Navigator and gave above WSDL

but getting above mentioned error.

Regards,

Ujwalkumar

Read only

0 Likes
462

Hi,

we are facing exactly the same problem. Did you find a solution?

BR,

Todor