ws-pubscribe-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandan <sandan_dan2...@yahoo.co.uk>
Subject Running wsnwsdl2Java ant script
Date Wed, 27 Dec 2006 11:56:51 GMT

pls i need assistance here, i get the following exceptions when i try to
generate classes from the filesystem wsdl 
pls what do i need to correct? 

Retrieving document at
'http://localhost:8080/pubscribe/services/filesystem?wsdl'. 
Retrieving document at
'../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl', relative to
'http://localhost:8080/pubscribe/services/filesystem?wsdl'. 
Retrieving schema at '../wsa/WS-Addressing-2003_03.xsd', relative to
'http://localhost:8080/pubscribe/spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl'. 
Retrieving schema at 'WS-BaseFaults-1_2-Draft_01.xsd', relative to
'http://localhost:8080/pubscribe/spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl'. 
Retrieving schema at
'http://localhost:8080/pubscribe/spec/xml/XML-Namespace-1998.xsd', relative
to
'http://localhost:8080/pubscribe/spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd'. 
Exception in thread "main" WSDLException (at
/definitions/import[1]/wsdl:definitions/wsdl:types/xsd:schema/xsd:schema):
faultCode=PARSER_ERROR: Problem parsing
'http://localhost:8080/pubscribe/spec/xml/XML-Namespace-1998.xsd'.:
www.w3.org UnknownHostException 
        at java.net.PlainSocketImpl.socketConnect(Native Method) 
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) 
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) 
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) 
        at java.net.Socket.connect(Socket.java:507) 
        at java.net.Socket.connect(Socket.java:457) 
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157) 
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) 
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) 
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) 
        at sun.net.www.http.HttpClient.New(HttpClient.java:287) 
        at sun.net.www.http.HttpClient.New(HttpClient.java:299) 
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) 
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744) 
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669) 
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913) 
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source) 
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source) 
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source) 
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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.DOMParser.parse(Unknown Source) 
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at
com.onespace_webproject.EchoClient.getWSDLParameters(EchoClient.java:57) 
        at com.onespace_webproject.EchoClient.<init>(EchoClient.java:46) 
        at com.onespace_webproject.EchoClient.main(EchoClient.java:109) 

        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
        at
com.onespace_webproject.EchoClient.getWSDLParameters(EchoClient.java:57) 
        at com.onespace_webproject.EchoClient.<init>(EchoClient.java:46) 
        at com.onespace_webproject.EchoClient.main(EchoClient.java:109) 
Java Result: 1 
BUILD SUCCESSFUL (total time: 6 seconds)
-- 
View this message in context: http://www.nabble.com/Running-wsnwsdl2Java-ant-script-tf2885736.html#a8061996
Sent from the Pubscribe - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-user-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-user-help@ws.apache.org


Mime
View raw message