aspose file tools*
The moose likes Web Services and the fly likes Axis/soap ui error - A simpleContent extension must define a base type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis/soap ui error - A simpleContent extension must define a base type" Watch "Axis/soap ui error - A simpleContent extension must define a base type" New topic
Author

Axis/soap ui error - A simpleContent extension must define a base type

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
I am on Axis 1.4 and the following error while importing my wsdl in SOAP UI

When I check my WSDL and search for simpleContent I get this...


Can you suggest if that is the reason I am not able to open WSDL in Soap-UI? Also, how to avoid this?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Dieter Quickfend
Bartender

Joined: Aug 06, 2010
Posts: 543
    
    4

Your error message is quite clear. Your simpleContent extension does not define a base type. In fact, it's empty. Your WSDL is not finished.

example:



Oracle Certified Professional: Java SE 6 Programmer && Oracle Certified Expert: (JEE 6 Web Component Developer && JEE 6 EJB Developer)
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1527
But that is what Axis has generated.

I think I have in my wsdl



And the above code is what is getting generated to what I mentioned earlier. Any alternatives to above one?
 
jQuery in Action, 2nd edition
 
subject: Axis/soap ui error - A simpleContent extension must define a base type