• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in wsdl

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The problem is solved some namespace conflict was there,
Thanks,
Ujwwala
 
reply
    Bookmark Topic Watch Topic
  • New Topic