• 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 occurs when creating WSDL file

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using objectweb Lomboz plugin,I created a new Dynamic Web Project called webserviceTest.Under this project,a new java class is created with public methods.It got compiled.

Next step,I created a new XML webservice through the wizard in Eclipse.When wsdl file is generated for webServiceTest,I get the below error.

schema_reference.4: Failed to read schema document 'http://xml.apache.org/xml-soap', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

Sample1.wsdl(Sample1 is the java class)
folder structure - webserviceTest/WebContent/wsdl

My doubt is whether do I need to add any specific jar files.

I included xerces.jar,activation.jar,soap.jar...

Can any one help me out to solve this pbm

Thanks a lot in advance,
Vidhya
 
Vid Srini
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Pls help me out to solve this problem.

Thanks...
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Appears to be an invalid URL - at least my browser does not retrieve anything there.
If this was my problem I would carefully examine the WSDL file produced.

That error clearly does not have anything to do with missing JAR files.

Where are you attempting to deploy the service?

More information on versions might also help - Eclipse version, Java sdk version, operating system, etc.

Bill
 
Vid Srini
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi William,

Sorry for the delay reply....

I created a java class with a method called hello() which returns a string.

Then I created a java proxy with bottom up web service.When i deploy this in Tomcat,I get error in WSDL file creation.

Version I use are JDK 1.5,Eclipse 3.1,Tomcat 5.0...Along with this,I used LomBoz Plugin.

Any suggestions wil be helpul for me.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic