You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by lakshmi00009 <la...@gmail.com> on 2008/09/18 02:50:36 UTC

Error in deploying the service

I am new to xfire / web services...i tried to depoy the sample/wsdl_first
service in my jboss from eclipse using the ant target --> 'client-servlet'
and got the following error. Please help 


client-servlet:

     [java] http://localhost:8080/helloworld/services/hello_world?wsdl
     [java] Exception in thread "main" javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException: Failed to
create service.
     [java] 	at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:135)
     [java] 	at
org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:65)
     [java] 	at javax.xml.ws.Service.(Service.java:36)
     [java] 	at
org.apache.hello_world_soap_http.SOAPService.(SOAPService.java:48)
     [java] 	at demo.hw.client.Client.main(Client.java:56)
     [java] Caused by:
org.apache.cxf.service.factory.ServiceConstructionException: Failed to
create service.
     [java] 	at
org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:83)
     [java] 	at
org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:141)
     [java] 	at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:133)
     [java] 	... 4 more
     [java] Caused by: javax.wsdl.WSDLException: WSDLException:
faultCode=PARSER_ERROR: Problem parsing
'http://localhost:8080/helloworld/services/hello_world?wsdl'.:
java.io.FileNotFoundException:
http://localhost:8080/helloworld/services/hello_world?wsdl
     [java] 	at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
     [java] 	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [java] 	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [java] 	at
org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:212)
     [java] 	at
org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:176)
     [java] 	at
org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:81)
     [java] 	... 6 more
     [java] Caused by: java.io.FileNotFoundException:
http://localhost:8080/helloworld/services/hello_world?wsdl
     [java] 	at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     [java] 	at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
     [java] 	at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown
Source)
     [java] 	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
     [java] 	at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
     [java] 	at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
     [java] 	at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
     [java] 	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
     [java] 	... 12 more
     [java] Java Result: 1
-- 
View this message in context: http://www.nabble.com/Error-in-deploying-the-service-tp19544056p19544056.html
Sent from the cxf-user mailing list archive at Nabble.com.