This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in wsdl

 
ujwwala tem
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,


I have created wsdl file and imported xsd int it,
I am getting an error inside the wsdl file,Please let me know,Its giving as invalid value getLogin element declaration must define valid value in schema,

Please reply,




//WSDL

 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
You had the following errors in your WSDL:
1. One "/" too much at the end of xmlns:tns="http://www.example.org/userlogin"
2. Failed to declare a namespace prefix for the target namespace.
Note that the target namespaces of the XML schema and the WSDL are different.
3. Wrong namespace prefix at several places.

The corrected WSDL looks like this:


Finally, please use code tags the next time when posting XML schemas, WSDL documents or code!
Best wishes!
 
ujwwala tem
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply,

But It would be better if you check xsd file and wsdl file once, also as I am getting errors in wsdl for xsd "referenced file contains an error" My requirement is I have to pass userobject as a parameter in wsdl and return will be validation sucess kind of string message,


I have validated the xsd in eclipse as project->validate and there its not getting any error but in the import statement


Please help,

Thanks,
Ujwwala
 
ujwwala tem
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As corrected the wsdl I tried with it but still I am getting the errors in wsdl,

Please Reply,

Thanks,
Ujwwala
 
ujwwala tem
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The problem is solved some namespace conflict was there,
Thanks,
Ujwwala
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic