Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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: 1526
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: 516
    
    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: 1526
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis/soap ui error - A simpleContent extension must define a base type
 
Similar Threads
Error in WSDL
Parameter names in wsdl - axis2
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
why Axis doesn't preserve Inheritance ?
creating web services from wsdl(servercode) using apache axis xmlbeans