| Author |
Error occurs when creating WSDL file
|
Vid Srini
Ranch Hand
Joined: Aug 17, 2006
Posts: 35
|
|
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
Joined: Aug 17, 2006
Posts: 35
|
|
Hi all, Pls help me out to solve this problem. Thanks...
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
Vid Srini
Ranch Hand
Joined: Aug 17, 2006
Posts: 35
|
|
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.
|
 |
 |
|
|
subject: Error occurs when creating WSDL file
|
|
|