• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL to service

 
Anjali S Sharma
Ranch Hand
Posts: 279
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the following XSD "Template_Service_Schema.xsd"



and the below WSDL



When I try to generate the service stubs from this, it gives me the following error



Please let me know how to resolve this problem.
Thank you
 
Ankit Garg
Sheriff
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change your code of XSD from this

to this


You were defining a complex type not an element which you are referring in your WSDL at

 
Anjali S Sharma
Ranch Hand
Posts: 279
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ankit.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic