Hello! I'm using MyEclipse Blue 6.5.1 GA and WebSphere 6.1 application server with web service and EJB 3.0 feature packs.
I have tried to create a web service and web service client as it is shown in "Developing JAX-WS Web Services for WebSphere" tutorial. I have deployed and tested web service successfully, but I can't generate a client! Although I'm doing everythig as in tutorial, the process crashes when I press "Finish" button on "New web service client" window after succesful validation and compliance tests of WSDL file.
Full exception stack trace is here (located in .metadata\.log file):
!ENTRY com.genuitec.eclipse.ws.blue 4 0 2008-11-03 19:33:26.812
!MESSAGE Unable to parse "CalculatorService_schema1.xsd" :
http://localhost:9080/WebServiceProject/CalculatorService_schema1.xsd
!STACK 0
java.io.FileNotFoundException:
http://localhost:9080/WebServiceProject/CalculatorService_schema1.xsd
at com.sun.tools.ws.wsdl.parser.AbstractReferenceFinderImpl.startElement(AbstractReferenceFinderImpl.java:106)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:264)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:147)
at com.sun.tools.ws.wsdl.parser.MetadataFinder.parseWSDL(MetadataFinder.java:102)
at com.sun.tools.ws.wsdl.parser.WSDLParser.parse(WSDLParser.java:141)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:126)
at com.genuitec.eclipse.ws.jaxws.JAXWSJob$MEWSDLModeler.buildModel(JAXWSJob.java:521)
at com.genuitec.eclipse.ws.blue.jaxws.JAXWSJob.parseService(JAXWSJob.java:131)
at com.genuitec.eclipse.ws.jaxws.JAXWSJob.run(JAXWSJob.java:128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException:
http://localhost:9080/WebServiceProject/CalculatorService_schema1.xsd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:221)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:180)
at com.sun.tools.ws.wsdl.parser.AbstractReferenceFinderImpl.startElement(AbstractReferenceFinderImpl.java:97)
... 18 more
!ENTRY org.eclipse.core.jobs 4 2 2008-11-03 19:33:26.812
!MESSAGE An internal error occurred during: "Generating JAX-WS Web Service Client".
!STACK 0
com.sun.tools.ws.wscompile.AbortException
at com.genuitec.eclipse.ws.blue.jaxws.JAXWSJob$1.fatalError(JAXWSJob.java:100)
at com.sun.tools.ws.wscompile.ErrorReceiverFilter.fatalError(ErrorReceiverFilter.java:94)
at org.xml.sax.helpers.XMLFilterImpl.fatalError(Unknown Source)
at com.sun.tools.ws.wsdl.parser.AbstractReferenceFinderImpl.startElement(AbstractReferenceFinderImpl.java:110)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:264)
at com.sun.tools.ws.wsdl.parser.DOMForest.parse(DOMForest.java:147)
at com.sun.tools.ws.wsdl.parser.MetadataFinder.parseWSDL(MetadataFinder.java:102)
at com.sun.tools.ws.wsdl.parser.WSDLParser.parse(WSDLParser.java:141)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:126)
at com.genuitec.eclipse.ws.jaxws.JAXWSJob$MEWSDLModeler.buildModel(JAXWSJob.java:521)
at com.genuitec.eclipse.ws.blue.jaxws.JAXWSJob.parseService(JAXWSJob.java:131)
at com.genuitec.eclipse.ws.jaxws.JAXWSJob.run(JAXWSJob.java:128)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
As I have understood, MyEclipse can't find CalculatorService_schema1.xsd file. Thank you in advance!