You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Willem2 <ni...@iona.com> on 2007/10/19 01:33:53 UTC

Re: DynamicClientFactory prob: No compiled schema element could be found ....

Hi,

Can you fill a JIAR and attach the wsdl with it.
So we can use it as a test case for debugging.

Willem.


Dan Connelly-3 wrote:
> 
> 
> 
> 
>   
> 
> 
> [Again.&nbsp;&nbsp; Here is the orginal message.] 
> 
> ame scenario as my previous post. 
> 
> I now run the generated server driver
> ("org.streamlinedsalestax.efile.EFileServiceSoap_EFileServiceSoap_Server").&nbsp;&nbsp;
> Runs ok. 
> 
> I use the attached generic client to get use the service
> dynamically.&nbsp;&nbsp;
> However, I get the following error: 
> 
> INFO: Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@d19bc8:
> defining beans
> [cxf,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.ws.rm.RMManager,org.apache.cxf.ws.rm.policy.RMPolicyInterceptorProvider,org.apache.cxf.ws.rm.RMAssertionBuilder,org.apache.cxf.binding.object.ObjectBindingFactory,org.apache.cxf.binding.xml.XMLBindingFactory,org
 .a
> 
> pache.cxf.transport.http.policy.HTTPClientAssertionBuilder,org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder,org.apache.cxf.management.jmx.InstrumentationManagerImpl,org.apache.cxf.binding.http.HttpBindingFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.jms.JMSTransportFactory,org.apache.cxf.transport.local.LocalTransportFactory,org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder,org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider,org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.cxf.ws.policy.AssertionBuilderRegistry,org.apache.cxf.ws.policy.PolicyConstants,org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry,org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry,org.apache.cxf.ws.po
 li
> 
> cy.attachment.external.EndpointReferenceDomainExpressionBuilder,org.apache.cxf.ws.policy.PolicyBuilder,org.apache.cxf.ws.policy.PolicyEngine,org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider,org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider,org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder,org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider];
> root of factory hierarchy 
> Oct 18, 2007 2:50:08 PM
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory outputDebug 
> INFO: Created classes: 
> org.streamlinedsalestax.efile.Ack, 
> org.streamlinedsalestax.efile.AckResponse, 
> org.streamlinedsalestax.efile.LastAck, 
> org.streamlinedsalestax.efile.LastAckResponse, 
> org.streamlinedsalestax.efile.ObjectFactory, 
> org.streamlinedsalestax.efile.Ping, 
> org.streamlinedsalestax.efile.PingResponse, 
> org.streamlinedsalestax.efile.Send, 
> org.streamlinedsalestax.efile.SendResponse, 
> org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0.ObjectFactory,
> org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0.Password,
> org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0.SecurityHeader,
> org.oasis_open.docs.wss._2004._01.oasis_200401_wss_wssecurity_secext_1_0.UsernameToken 
> org.apache.cxf.service.factory.ServiceConstructionException: No
> compiled schema element could be found for type
> { http://streamlinedsalestax.org/efile }Transmission 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.endpoint.dynamic.TypeClassInitializer.begin(TypeClassInitializer.java:81) 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:62) 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:95) 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.java:48) 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:250) 
> &nbsp;&nbsp;&nbsp; at
> org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:138) 
> &nbsp;&nbsp;&nbsp; at
> test.My_EFileService_Client.go(My_EFileService_Client.java:23) 
> &nbsp;&nbsp;&nbsp; at
> test.My_EFileService_Client.main(My_EFileService_Client.java:14) 
> 
> In the code generated using wsdl2java, this (missing) schema element
> class is 
> "org.streamlinedsalestax.efile.Send.Transmission", which is an inner
> class of Send. 
> 
> 
> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; -- Dan Connelly 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/DynamicClientFactory-prob%3A--No-compiled-schema-element-could-be-found-....-tf4649145.html#a13285725
Sent from the cxf-user mailing list archive at Nabble.com.