我在尝试使用Mulesoft中的soap webservice时遇到异常
消息:处理消息有效内容时类型为: NullPayload类型:org.mule.module.ws.consumer.SoapFaultException
代码:MULE_ERROR - 2有效负载:{NullPayload}异常堆栈是: 1.处理时发生故障..消息有效负载的类型为:NullPayload(org.mule.module.ws.consumer.SoapFaultException)
org.mule.module.ws.consumer.WSConsumer $ 1:196根异常堆栈 trace:org.mule.module.ws.consumer.SoapFaultException:发生错误 处理时..消息有效负载的类型为:NullPayload at org.mule.module.ws.consumer.WSConsumer $ 1.processNext(WSConsumer.java:196) 根异常堆栈跟踪: org.mule.module.ws.consumer.SoapFaultException:发生故障时 处理..消息有效负载的类型为:NullPayload at org.mule.module.ws.consumer.WSConsumer $ 1.processNext(WSConsumer.java:196) org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor org.mule.execution.MessageProcessorExecutionTemplate.execute或enter code here
g.mule.processor.BlockingProcessorExecutor.executeNext org.mule.processor.BlockingProcessorExecutor.execute org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.exe org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute org.mule.execution.MessageProcessorExecutionTemplate.execute org.mule.module.ws.consumer.WSConsumer.process org.mule.routing.AbstractUntilSuccessfulProcessingStrategy.processEvent org.mule.routing.SynchronousUntilSuccessfulProcessingStrategy.rout org.mule.routing.UntilSuccessful.route org.mule.routing.outbound.AbstractOutboundRouter $ 1.process org.mule.routing.outbound.AbstractOutboundRouter $ 1.proces org.mule.execution.ExecuteCallbackInterceptor.execute org.mule.execution.BeginAndResolveTransactionInterceptor.execute org.mule.execution.ResolvePreviousTransactionInterceptor.execute org.mule.execution.SuspendXaTransactionInterceptor.execute org.mule.execution.ValidateTransactionalStateInterceptor.execute org.mule.processor.BlockingProcessorExecutor.executeNext org.mule.processor.BlockingProcessorExecutor.execute org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.exe org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute org.mule.execution.MessageProcessorExecutionTemplate.execute org.mule.module.ws.consumer.WSConsumer.process org.mule.routing.AbstractUntilSuccessfulProcessingStrategy.processEvent
答案 0 :(得分:0)
您似乎没有将有效负载传递给WS使用者。 WS消费者需要Paylaod来调用您的外部服务。您能否分享一下您的配置xml文件,以便我们对此进行验证和帮助。