NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Generated wsdl file is not found in GF3

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
samwun9988



Joined: 01 Dec 2010
Posts: 36
Location: 32

PostPosted: Thu Aug 18, 2011 1:45 pm    Post subject: Generated wsdl file is not found in GF3 Reply with quote

Hi,

I started GF3 embedded server in NB7.
When I deployed a WAR file (which is based on CXF2, spring, maven), it shown some errors:

Code:

Root WebApplicationContext: initialization started 
信息: Refreshing Root WebApplicationContext: startup date [Thu Aug 18 21:26:17 EST 2011]; root of context hierarchy 
信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/beans.xml] 
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] 
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml] 
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml] 
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3b148356: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,orderProcess]; root of factory hierarchy 
警告: Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary. 
信息: Creating Service {http://service.order.service.ix/}OrderProcessImplService from WSDL: wsdl/OrderProcess.wsdl 
信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3b148356: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,orderProcess]; root of factory hierarchy 
警告: Invocation of destroy method 'shutdown' failed on bean with name 'cxf': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) 
严重: Context initialization failed 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderProcess': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. 
... 
... 
 
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'wsdl/OrderProcess.wsdl'.: java.io.FileNotFoundException: C:\Users\sam\.netbeans\7.0rc2\config\GF3\domain1\wsdl\OrderProcess.wsdl (System cannot found the file path。) 
    at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) 
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) 
    at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:239) 
    at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:186) 
    at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92) 
    ... 59 more


Can anyone tell me why the deployment doesn't create wsdl/ folder and the OrderProcess.wsdl file in NB7 embedded GF3?

Very appreciate for any suggestion.
Sam
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo