this is WSDL4J specific problem so check their mail archives for this and i would try to put different URL for imported WSDL, maybe this would work?
'file:///C:/JMSwsdl/NAAdaptorReq.wsdl


alek

Edison Oliveira wrote:

have one MDB in JBoss that is listening in one queue and badly finds information in this queue makes an invocation for WSIF. When is creating the service it gives the following error: A failure occurred in loading WSDL from 'C:/JMSwsdl/NAAdaptorReq.wsdl'



Can everyone help me, please



Thanks!!!







19:12:49,404 ERROR [wsif] WSIF0002E: A failure occurred in loading WSDL from 'C:/JMSwsdl/NAAdaptorReq.wsdl'

19:12:49,454 ERROR [STDERR] org.apache.wsif.WSIFException: could not load file:C:/JMSwsdl/NAAdaptorReq.wsdl; nested exception is:

WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'file://C:/JMSwsdl/NAAdaptorReq.wsdl'.: no content-type: java.net.UnknownServiceException: no content-type

at java.net.URLConnection.getContentHandler(URLConnection.java:1062)

            at java.net.URLConnection.getContent(URLConnection.java:586)

            at java.net.URL.getContent(URL.java:927)

at com.ibm.wsdl.util.StringUtils.getContentAsReader(Unknown Source)

            at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

            at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)

            at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)

at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown Source)

at BUSComun.MDBRequestSAPA.sendMessage(MDBRequestSAPA.java:131)

            at BUSComun.MDBRequestSAPA.onMessage(MDBRequestSAPA.java:64)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:240)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)

            at org.jboss.ejb.Container.invoke(Container.java:700)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)

at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)

at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)

at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)

            at org.jboss.mq.SpySession.run(SpySession.java:298)

at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)

            at java.lang.Thread.run(Thread.java:534)

19:12:49,464 ERROR [STDERR] at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)

19:12:49,464 ERROR [STDERR] at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown Source)

19:12:49,464 ERROR [STDERR] at BUSComun.MDBRequestSAPA.sendMessage(MDBRequestSAPA.java:131)

19:12:49,464 ERROR [STDERR] at BUSComun.MDBRequestSAPA.onMessage(MDBRequestSAPA.java:64)

19:12:49,464 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

19:12:49,464 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

19:12:49,464 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

19:12:49,474 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)

19:12:49,474 ERROR [STDERR] at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)

19:12:49,474 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

19:12:49,474 ERROR [STDERR] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)

19:12:49,474 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

19:12:49,474 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:240)

19:12:49,474 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

19:12:49,484 ERROR [STDERR] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)

19:12:49,484 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

19:12:49,484 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

19:12:49,484 ERROR [STDERR] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)

19:12:49,484 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:700)

19:12:49,494 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)

19:12:49,494 ERROR [STDERR] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)

19:12:49,494 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)

19:12:49,494 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)

19:12:49,494 ERROR [STDERR] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)

19:12:49,494 ERROR [STDERR] at org.jboss.mq.SpySession.run(SpySession.java:298)

19:12:49,494 ERROR [STDERR] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)

19:12:49,494 ERROR [STDERR] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)

19:12:49,494 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)

19:12:49,494 ERROR [STDERR] Caused by: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'file://C:/JMSwsdl/NAAdaptorReq.wsdl'.: no content-type: java.net.UnknownServiceException: no content-type

at java.net.URLConnection.getContentHandler(URLConnection.java:1062)

            at java.net.URLConnection.getContent(URLConnection.java:586)

            at java.net.URL.getContent(URL.java:927)

at com.ibm.wsdl.util.StringUtils.getContentAsReader(Unknown Source)

            at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

            at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)

            at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)

at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown Source)

at BUSComun.MDBRequestSAPA.sendMessage(MDBRequestSAPA.java:131)

            at BUSComun.MDBRequestSAPA.onMessage(MDBRequestSAPA.java:64)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:460)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:240)

at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)

at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)

at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)

            at org.jboss.ejb.Container.invoke(Container.java:700)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)

at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)

at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)

at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)

            at org.jboss.mq.SpySession.run(SpySession.java:298)

at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727)

            at java.lang.Thread.run(Thread.java:534)

19:12:49,504 ERROR [STDERR] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

19:12:49,504 ERROR [STDERR] at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)





--
The best way to predict the future is to invent it - Alan Kay



Reply via email to