Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
13 kB
2
Indexable
Never
org.mule.wsdl.parser.exception.WsdlParsingException: Error fetching the resource [http://localhost:8080/ws/schema.wsdl]: Error while obtaining resource [http://localhost:8080/ws/schema.wsdl]
	at org.mule.wsdl.parser.locator.WsdlLocator.getInputSource(WsdlLocator.kt:97)
	at org.mule.wsdl.parser.locator.WsdlLocator.getBaseInputSource(WsdlLocator.kt:37)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2403)
	at org.mule.wsdl.parser.WsdlParser.parseWsdl(WsdlParser.kt:67)
	at org.mule.wsdl.parser.WsdlParser.<init>(WsdlParser.kt:44)
	at org.mule.wsdl.parser.WsdlParser$Companion.parse(WsdlParser.kt:165)
	at org.mule.extension.ws.internal.metadata.MetadataResolverUtils.parseWithPersistentCache(MetadataResolverUtils.java:102)
	at org.mule.extension.ws.internal.metadata.MetadataResolverUtils.getWsdlModel(MetadataResolverUtils.java:93)
	at org.mule.extension.ws.internal.metadata.MetadataResolverUtils.findPortFromContext(MetadataResolverUtils.java:75)
	at org.mule.extension.ws.internal.metadata.MetadataResolverUtils.getOperationFromCacheOrCreate(MetadataResolverUtils.java:65)
	at org.mule.extension.ws.internal.metadata.SoapBodyTypeResolver.getInputMetadata(SoapBodyTypeResolver.java:37)
	at org.mule.extension.ws.internal.metadata.SoapBodyTypeResolver.getInputMetadata(SoapBodyTypeResolver.java:22)
	at org.mule.runtime.module.extension.internal.metadata.MetadataInputDelegate.lambda$getParameterMetadata$2(MetadataInputDelegate.java:131)
	at org.mule.runtime.module.extension.internal.runtime.connectivity.oauth.ExtensionsOAuthUtils.withRefreshToken(ExtensionsOAuthUtils.java:291)
	at org.mule.runtime.module.extension.internal.runtime.connectivity.oauth.ExtensionsOAuthUtils.withRefreshToken(ExtensionsOAuthUtils.java:267)
	at org.mule.runtime.module.extension.internal.runtime.connectivity.oauth.ExtensionsOAuthUtils.withRefreshToken(ExtensionsOAuthUtils.java:316)
	at org.mule.runtime.module.extension.internal.metadata.MetadataResolverUtils.resolveWithOAuthRefresh(MetadataResolverUtils.java:32)
	at org.mule.runtime.module.extension.internal.metadata.MetadataInputDelegate.getParameterMetadata(MetadataInputDelegate.java:130)
	at org.mule.runtime.module.extension.internal.metadata.MetadataInputDelegate.getParameterMetadataDescriptor(MetadataInputDelegate.java:112)
	at org.mule.runtime.module.extension.internal.metadata.MetadataInputDelegate.getInputMetadataDescriptors(MetadataInputDelegate.java:74)
	at org.mule.runtime.module.extension.internal.metadata.MetadataMediator.getMetadata(MetadataMediator.java:269)
	at org.mule.runtime.module.extension.internal.metadata.MetadataMediator.getMetadata(MetadataMediator.java:197)
	at org.mule.runtime.module.extension.internal.runtime.ExtensionComponent.lambda$getMetadata$21(ExtensionComponent.java:655)
	at org.mule.runtime.core.api.util.ExceptionUtils.tryExpecting(ExceptionUtils.java:224)
	at org.mule.runtime.core.api.util.ClassUtils.withContextClassLoader(ClassUtils.java:1102)
	at org.mule.runtime.core.api.util.ClassUtils.withContextClassLoader(ClassUtils.java:1020)
	at org.mule.runtime.module.extension.internal.runtime.ExtensionComponent.lambda$getMetadata$22(ExtensionComponent.java:654)
	at org.mule.runtime.module.extension.internal.runtime.ExtensionComponent.runWithMetadataContext(ExtensionComponent.java:792)
	at org.mule.runtime.module.extension.internal.runtime.ExtensionComponent.getMetadata(ExtensionComponent.java:653)
	at org.mule.runtime.metadata.internal.MuleMetadataService.lambda$getComponentMetadata$7(MuleMetadataService.java:218)
	at org.mule.runtime.metadata.internal.MuleMetadataService.exceptionHandledMetadataFetch(MuleMetadataService.java:174)
	at org.mule.runtime.metadata.internal.MuleMetadataService.getComponentMetadata(MuleMetadataService.java:217)
	at org.mule.runtime.metadata.internal.MuleMetadataService.getOperationMetadata(MuleMetadataService.java:116)
	at org.mule.runtime.config.internal.bean.lazy.LazyMetadataService.lambda$getOperationMetadata$4(LazyMetadataService.java:100)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at org.mule.runtime.config.internal.bean.lazy.LazyMetadataService.getOperationMetadata(LazyMetadataService.java:100)
	at com.mulesoft.agent.services.metadata.MuleAgentMetadataService.lambda$getOperationMetadata$2(MuleAgentMetadataService.java:75)
	at com.mulesoft.agent.services.metadata.MuleAgentMetadataService.withMetadataService(MuleAgentMetadataService.java:145)
	at com.mulesoft.agent.services.metadata.MuleAgentMetadataService.getOperationMetadata(MuleAgentMetadataService.java:75)
	at com.mulesoft.agent.external.handlers.metadata.MetadataRequestHandler.lambda$getOperationMetadata$3(MetadataRequestHandler.java:206)
	at com.mulesoft.agent.util.ResponseHelper.response(ResponseHelper.java:88)
	at com.mulesoft.agent.external.handlers.metadata.MetadataRequestHandler.getOperationMetadata(MetadataRequestHandler.java:204)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177)
	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:176)
	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:81)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)
	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)
	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)
	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:358)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:311)
	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)
	at com.mulesoft.agent.rest.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:95)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
	at com.mulesoft.agent.rest.AuthorizationFilter.doFilter(AuthorizationFilter.java:49)
	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: Error while obtaining resource [http://localhost:8080/ws/schema.wsdl]
	at org.mule.extension.ws.internal.metadata.MetadataCacheResourceLocatorDecorator.getResource(MetadataCacheResourceLocatorDecorator.java:69)
	at org.mule.wsdl.parser.locator.WsdlLocator.getInputSource(WsdlLocator.kt:90)
	... 100 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:604)
	at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
	at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:376)
	at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:397)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1253)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at org.apache.cxf.resource.URIResolver.createInputStream(URIResolver.java:282)
	at org.apache.cxf.resource.URIResolver.tryFileSystem(URIResolver.java:173)
	at org.apache.cxf.resource.URIResolver.<init>(URIResolver.java:93)
	at org.apache.cxf.resource.URIResolver.<init>(URIResolver.java:75)
	at org.apache.cxf.resource.URIResolver.<init>(URIResolver.java:71)
	at org.mule.wsdl.parser.locator.GlobalResourceLocator.getResource(GlobalResourceLocator.kt:8)
	at org.mule.soap.api.transport.locator.DefaultTransportResourceLocator.getResource(DefaultTransportResourceLocator.java:32)
	at org.mule.extension.ws.internal.metadata.MetadataResolverUtils$ResourceLocatorAdapter.getResource(MetadataResolverUtils.java:131)
	at org.mule.extension.ws.internal.metadata.MetadataCacheResourceLocatorDecorator.fetchResource(MetadataCacheResourceLocatorDecorator.java:74)
	at org.mule.extension.ws.internal.metadata.MetadataCacheResourceLocatorDecorator.lambda$getResource$0(MetadataCacheResourceLocatorDecorator.java:59)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at org.mule.extension.ws.internal.metadata.MetadataCacheResourceLocatorDecorator.getResource(MetadataCacheResourceLocatorDecorator.java:58)
	... 101 more
Leave a Comment